Jump to content

***Solved*** PayPal Payment Error when using Prestashop Voucher Code


glennlawre

Recommended Posts

Posted this in the wrong forum the other day! Hope I can get some help in this forum...

 

I am getting PayPal payment errors when using a PS Voucher that gives a % off the order. The problem seems to be that when the customer gets directed to PayPal for payment, the items show in the Order Summary excluding tax, the discount voucher is also in the Order Summary.

 

The discount is then applied to the total excluding tax, then the tax is added to the total after the discount is applied. This causes a Payment Error in my PrestaShop as the paid amount in PayPal is not correct. The total should be calculated including tax, then the discount applied to that total.

 

E.g.

I have a voucher that gives 25% off

Item total is €20

Add item & voucher to cart

Total now €15 + shipping (in PrestaShop cart)

Select PayPal as payment option

PayPal Order Summary shows products excluding tax

Also shows €-5 for discount voucher

PayPal adds the €5 discount to the order and then adds the tax and shipping

This then results in a payment error as the total is not €15 + shipping

 

If I select a different payment option, i.e. Cash on delivery, the total works correctly.

 

Does anyone have any idea why this might be happening?

 

I have set the voucher code for "Minimum Purchase" - amount - "Tax incl."

 

Many thanks in advance...

Edited by glennlawre (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...