VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Senadisain on October 18, 2013, 16:38:07 PM

Title: Problem with automatic payment in VIRTUEMART 2.0.24
Post by: Senadisain on October 18, 2013, 16:38:07 PM
Faced with a problem: when set the automatic payment method, on the shopping cart page, still shows: "payment method is not selected - select payment method", the version of virtuemart 2.0.24, solution:
1. open your_site file/components/com_virtuemart/helpers/cart.php
2. then find there function: CheckAutomaticSelectedPayment, line 1220
3. in this function, we find the condition: if (isset ($ returnValue)) and change it to if ($ returnValue == true), line 1232
I helped.
Title: Re: Problem with automatic payment in VIRTUEMART 2.0.24
Post by: AH on October 18, 2013, 17:15:03 PM
You should not need to change any code!