Hello,
I have a problem with payments when inserting a coupon and the total amount becomes zero.
I have VM 2.0.22b and Joomla 2.5.13.
The payment method I use is PayPal and with zero amount virtuemart sends an informational message indicating that "This amount is not valid for payment with Paypal.". I tried to set 2 methods of payment:
1) Paypal, with a minimum amount of € 1
2) ZERO (standard), with a maximum amount of € 1
In this way Virtuemart use PayPal only if the order exceeds € 1 and zero only when the order is less than 1 €, but chooses based on the amount before applying the coupon.
When the order is more than 1 € and I put a coupon code, or a gitf card, even if the total becomes 0 (zero) there is only Paypal, but the payment does not continue ..
Did I forget something?
Thanks
Hello,
I'm not sure you have chosen the right forum, but the problem seems to me quite seriously because the sale of products with Git Card (coupon) creates a problem during the purchase.
It seems to me that virtuemart decide on the method of payment without considering the coupon. I tried to edit the plugin standard.php (payment standard) as follows:
from
$ amount = $ cart_prices ['salesPrice'];
to
$ amount = $ cart_prices ['billTotal'];
It seems to work, check the total price. I do not find, however, how to change paypal.php (and then I would not make errors).
Same developers know how to do? I think it's everyone's problem and then I would be sure that the change is correct.
Thank You
Max
Hello,
I agree, they really should take coupon codes into account. Here are the solutions we came up with for standard:
http://awodev.com/forum/awocoupon/help-section/skip-select-payment-method#comment-5322
And paypal:
http://awodev.com/forum/awocoupon/help-section/skip-select-payment-method#comment-5350
Hello
We already have fixed that for the next version and for all payments.
Great news, good to hear.