Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
myke CreditAttribution: myke commentedThe balance on the order also shows a negative number, the amount the user was over charged on.
Comment #2
myke CreditAttribution: myke commentedI 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
Comment #3
myke CreditAttribution: myke commentedTurns 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