paypal discount_rate_cart not being applied

If you are trying to use discount_rate_cart or discount_amount_cart and are also passing an individual tax amount for each line item (e.g. tax_1), then the discounts are ignored by PayPal.

To get the cart wide discount applied you need to either pass no tax information at all or only pass the tax_cart parameter.

If you want to pass individual tax amounts then you have to use the discount_amount_x or discount_rate_x parameters for each line item.

Not particularly intuitive, and also not mentioned in the PayPal Payments Standard HTML variable reference....

Post a comment