Hi,
I am using OpenCart v1.5.1 and am testing the Gift Voucher functionality for if a customer uses a gift voucher against a purchase that is worth LESS than the value of the gift voucher.
I have bought a £5 gift voucher, and have been sent the code successfully,
I have bought an item worth less than the gift voucher (which customers might conceivably do) - a test item worth £0.01
I apply the gift voucher and it sets my basket to £0.00 as expected.
When I go to checkout I end up at PayPal with the total being £0.01 so the voucher reduction has been lost.
If I try to apply the gift voucher for an amount larger (so that there is a payment required greater than zero in PayPal) it works fine and applies the deduction.
Can anyone help me and tell me what I am doing wrong? Help!
John
Yes I am beginning to think PayPal doesn't like zero orders. When I apply the discount to an order and the order is above zero it works fine. Tried with a £30 order discounted to £25 and it worked fine.
Is there any way to make OpenCart bypass the payment process if the order == zero?
As far as i am concerned that'd be a perfect solution, as there's no need to go to PayPal.
Is there any way to make OpenCart bypass the payment process if the order == zero?
As far as i am concerned that'd be a perfect solution, as there's no need to go to PayPal.
see http://forum.opencart.com/viewtopic.php ... 00#p183871
Spent hours last night figuring this one out
Spent hours last night figuring this one out
setting the amount to 0.01 is fine.
I decided to go and edit all my payment files with the change in that link so that incase of a numpty client who forgets to enter an amount it works it out for them automatically.
I decided to go and edit all my payment files with the change in that link so that incase of a numpty client who forgets to enter an amount it works it out for them automatically.
Ah I see so you mean your changes covers if a client doesn't put 0.01 in the PayPal module in the admin system?uksitebuilder wrote:setting the amount to 0.01 is fine.
I decided to go and edit all my payment files with the change in that link so that incase of a numpty client who forgets to enter an amount it works it out for them automatically.
exactly - and all other payment modules you wish to apply it to, apart from the free checkout one of course
Who is online
Users browsing this forum: No registered users and 126 guests