News:

Support the VirtueMart project and become a member

Main Menu

Why VM show credit card payment if I have enabled only PAYPAL payment?

Started by m.iannozzi, July 18, 2011, 09:55:36 AM

Previous topic - Next topic

m.iannozzi

See Screnshot.
I have enabled only paypal but cart show me credit card and paypal

[attachment cleanup by admin]

m.iannozzi

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 />