VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: m.iannozzi on July 18, 2011, 09:55:36 AM

Title: Why VM show credit card payment if I have enabled only PAYPAL payment?
Post by: m.iannozzi on July 18, 2011, 09:55:36 AM
See Screnshot.
I have enabled only paypal but cart show me credit card and paypal

[attachment cleanup by admin]
Title: Re: Why VM show credit card payment if I have enabled only PAYPAL payment?
Post by: m.iannozzi on July 18, 2011, 10:52:58 AM
Hello to all,
I don't know if this is best way but for me works
in
/components/com_virtuemart/themes/simplecheckout/templates/checkout/get_payment_method_paypal_ex.tpl.php

I have removed below code:

<?php

echo ps_checkout::list_payment_methods( $payment_method_id );

?>

and I have modified line from
<input type="radio" id="paypalExpressID_ecm" name="payment_method_id" value="<?php echo ps_paypal_api::getPaymentMethodId();?>" />
to
<input type="radio" id="paypalExpressID_ecm" name="payment_method_id" value="<?php echo ps_paypal_api::getPaymentMethodId();?>" checked />