News:

Looking for documentation? Take a look on our wiki

Main Menu

New user Paypal issues!!!!!

Started by incar, July 13, 2011, 11:30:22 AM

Previous topic - Next topic

incar

Hi all like a few people on here I'm getting problems with Paypal api at the minute i'm testing this with sandbox but keep getting the credit card error or not sending the customer over to the payment page.
Now I have read various posts on here and change/amended the files recommended by people but still not working correctly, I don't know if using a different theme
will add problems to changing these files I know one file was in the default template folder but I tried changing the same file in both default template and my new template but still not working.

How is people using Paypal with virtuemart?
If you have paid for a Paypal extension can you recommend one so I can get on with this shop as i'm losing the will to live  :D

Paul

m.iannozzi

Hello to all, I have finally solved it.
Problem is in VM 1.1.9 where is changed /administrator/components/com_virtuemart/classes/ps_checkout.php
This is not a a best way and you can use it if you use only paypal payment.

Open
/components/com_virtuemart/themes/simplecheckout/templates/checkout/get_payment_method_paypal_ex.tpl.php

and remove below code:

<?php

echo ps_checkout::list_payment_methods( $payment_method_id );

?>

Then modify line below 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 />

Best Regards.