Posted by Dubs on February 12, 2009 at 2:22pm
Jump to:
| Project: | Ubercart Discount Coupons |
| Version: | 5.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Hi there,
I think this is a problem relating to the coupon module, but it's possible the PayPal code could also be causing the problem.
We have a store with loads of orders that pay via Paypal. All of these complete OK.
However, with a coupon discount applied at the checkout, they pay with PayPal and the orders sticks on Payment Recieved - it does not update to complete.
I've also posted on the main Ubercart support forum.
Thanks,
David
Comments
#1
If it helps at all, I am unable to reproduce this. Can you tell us if there's anything special about your setup?
#2
uc_coupon doesn't alter the order status by itself, so I'm not sure this issue is directly related to the module.
Just to confirm, you do have the PayPal options set to send the order as a single line item? PayPal doesn't support negative line items such as coupons so the line items can't be sent individually. However, uc_coupon 5.x-1.6 should warn you on the coupon page if this is not set correctly.
#3
Hi longwave,
I can confirm that the setup is sending it as a single-line item.
Thanks,
David
#4
Hi there,
I don't think there is anything unusual about the installation - there are a couple of custom modules but these don't interfere with Ubercart in this section, and all the non-coupon orders seem to be going through OK. However, the coupon item is a also a different product class.
I'll check some more!
David
#5
Workflow_ng rules are responsible for some automatic order status changes, maybe check there to see if any of those are restricted to the wrong product class by mistake?
uc_coupon doesn't touch anything about the order once the "Review order" page has been loaded. The only thing the PayPal module would see differently is an extra line item, which should be calculated into the single line item sent to PayPal - so if the total amount shown in PayPal matches the total on the "Review order" page, I am stumped as to how uc_coupon could be interfering here! In these problem orders, is the order balance shown as $0.00 after a successful PayPal payment?
#6