Author Topic: Why VM show credit card payment if I have enabled only PAYPAL payment?  (Read 1354 times)

m.iannozzi

  • Beginner
  • *
  • Posts: 9
See Screnshot.
I have enabled only paypal but cart show me credit card and paypal

[attachment cleanup by admin]

m.iannozzi

  • Beginner
  • *
  • Posts: 9
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 />