The uc_discounts module is not sending the discount information or the discounted price to PayPal. It works for Money Orders / Checks but not for PayPal.. It shows the correct discounted total at checkout, but PayPal charges the non-discounted price!

Comments

myke’s picture

The balance on the order also shows a negative number, the amount the user was over charged on.

myke’s picture

I had a little bit of time to look at this today. The form sending data over to PayPal has the items' full price, with no mention of the discount.

Now, I'm not sure yet if this needs to be fixed in Discounts, or in PayPal. Is the PayPal module not handling line items properly?

I'm looking through code to try and figure this out..

Thanks
-Myke

myke’s picture

Turns out, the problem ISN'T in the UC Discounts module.. It's in the PayPal WPS, when sending an itemized list, non-standard line items aren't figured in for PayPal:

http://www.ubercart.org/comment/30007/Re_UC_Discounts_not_sending_discou...
http://www.ubercart.org/comment/30053/Bug_found_not_fixed_yet

If you set the WPS to NOT send an itemized list to PayPal WPS, then the correct total amount is sent, taking into account the UC Discounts and Coupon modules..

-Myke