Arguably not a bug, but here's my situation. We're using uc_add_donation with uc_paypal in WPS mode. The order data is passed from the order review screen to PayPal by adding up the line items on the order. However, the uc_add_donation module apparently does not add a line item for the donation amount, so it's absent from the PayPal payment, despite being recorded on the Ubercart order.
The only way around this, as far as I could see, as things currently stand, is to hack uc_paypal to be specifically aware of the uc_add_donation module and the way it works. I have attached a patch against 2.6 anyway. Perhaps there's someone cleverer than me who can see a better way of doing this?
| Comment | File | Size | Author |
|---|---|---|---|
| uc_paypal_add_donation.patch | 894 bytes | chriscohen |
Comments
Comment #1
tr commented"However, the uc_add_donation module apparently does not add a line item for the donation amount"
That is a bug, but it's a bug in uc_add_donation. Moving this to the issue queue for that module.
Comment #2
mlr commentedJust used this patch successfully with Ubercart 6.x-2.6. Many thanks!
Comment #3
PeterSprague commentedAny progress on this?
Or do I have to patch the uc paypal module again? Will it work with the newest ubercart 6.x modules?
Just upgraded ubercart, and now our donations are lost at the paypal stage.
Thought the newest dev module would have fixed this.
Comment #4
PeterSprague commentedUsed patch on uc_paypal, and fixed issue for now.
Will the D7 version address this issue?