Author Topic: Please select a Payment Method page?  (Read 3555 times)

keefo

  • Beginner
  • *
  • Posts: 13
Please select a Payment Method page?
« on: January 25, 2011, 16:18:47 pm »
Hi all!!

new to all this virtuemart stuff!

But managed to get it pretty much setup just how we need it!

Only on the "Please select a Payment Method" page, we have Paypal, which is all we want.

But below that, we also have "Payment Method" which has "Credit Card" and "Paypal" which are both selectable..

How would i go about removing this and just keeping the above Paypal selection, or just removing the credit card from the lower selections?

a little confused as Credit Card IS NOT enabled in payment methods?

Cheers
Keith

EDIT

Similar to this http://forum.virtuemart.net/index.php?topic=80914.0

sorry, didn't notice someone already posted about the problem!

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2943
  • VirtueMart Version: 3.6.0
Re: Please select a Payment Method page?
« Reply #1 on: January 25, 2011, 17:09:33 pm »
turn off the credit card payment method in the backend
regards
A

Joomla 3.9.8
php 7.1

shashi

  • Beginner
  • *
  • Posts: 45
Re: Please select a Payment Method page?
« Reply #2 on: February 21, 2011, 23:55:30 pm »
turn off the credit card payment method in the backend

That does not work

keefo

  • Beginner
  • *
  • Posts: 13
Re: Please select a Payment Method page?
« Reply #3 on: December 06, 2011, 16:02:28 pm »
Still having problems with this...

No matter what i have tried, Credit Cart Still pops up as a payment option even though it IS disabled in the payments options in the back end of Virtumart....

I have only the 2 paypal options ticked, and credit card pops up every single time...

Anyone able to help at all?

cheers
Keith

mkariti

  • Jr. Member
  • **
  • Posts: 75
Re: Please select a Payment Method page?
« Reply #4 on: December 11, 2011, 13:30:25 pm »
Try the following:

go to: component-->com_vm-->themes-->default--> templates-->checkout-->list_payment_method_tpl.php

change

if ($cc_payments==true)

to
 if ($cc_payments==false) 

ayj984l3

  • Beginner
  • *
  • Posts: 9
Re: Please select a Payment Method page?
« Reply #5 on: January 06, 2012, 16:17:06 pm »
Quote
Try the following:

go to: component-->com_vm-->themes-->default--> templates-->checkout-->list_payment_method_tpl.php

change

if ($cc_payments==true)

to
 if ($cc_payments==false)

That just makes it worse, adding fields for people to enter credit card information when we didn't want a credit card option at all

ayj984l3

  • Beginner
  • *
  • Posts: 9
Re: Please select a Payment Method page?
« Reply #6 on: January 06, 2012, 16:38:32 pm »
I got rid of it by changing the file references above and commenting out the entire bottom section.  In other words, I added a "/*" and "*/" around a block of code so that it now reads:

Code: [Select]
/*if ($nocc_payments==true) {
    if ($cc_payments==true) {
    $title = $VM_LANG->_('PHPSHOP_CHECKOUT_PAYMENT_OTHER');
    }
    else {
    $title = $VM_LANG->_('PHPSHOP_ORDER_PRINT_PAYMENT_LBL');
    }
   
   ?>
    <fieldset><legend><strong><?php echo $title ?></strong></legend>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
    <tr>
        <td colspan="2"><?php 
            $ps_payment_method->list_nocheck($payment_method_id,  false); 
            $ps_payment_method->list_bank($payment_method_id,  false);
            $ps_payment_method->list_paypalrelated($payment_method_id,  false); ?>

        </td>
    </tr>
</table>
</fieldset>
<?php
}*/

I DO NOT CLAIM TO BE A PROFESSIONAL PROGRAMMER, and I don't know if it will work if you have other payment methods this should have listed.  I'm only using PayPal, and this change got rid of the spurious "Credit Card" payment option. USE AT YOUR OWN RISK, but it worked for me.