Just to add my research.. which maybe you already know...uksitebuilder wrote:Just tested with free shipping and instead of an item_x and amount_x
I just get a <input name="discount_amount_cart" value="0.50"> (which was the amount of discount)
When at PayPal it shows as an item 'Discount' but deducts from the totals correctly.
So looks like there are two ways of sending over the discount to paypal
1. if you have shipping, OC deducts the discount from the shipping and sets item_x and amount_x
2. if free shipping, OC sends the discount in discount_amount_cart
---
Just going to test now when the discount amount is greater than the shipping value to see what happens. (this is for my own satisfaction and doesnt help you though)
Paypal only applies discounts to the "item total" and does not consider shipping or tax or handling to be "discount-eligible"
So if you have
Item Subtotal: 10
Shipping: 10
Discount: -10
Total: 10
Paypal will reject it because the discount is greater or equal to the item total