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.
For some reason on my live server whenever I get to the confirm checkout page Ubercart is tripling everything in a users cart. It shows the total right, and the actual items right but the subtotal is triple and when a user checks out literally they buy triple of everything they ordered. I have a workflow setup for an auto coupon but have disabled that and still see this issue. Any idea of what might be causing this?
Submit order
QTY PRODUCTS PRICE
1× Autographed Show Poster $10.00
Subtotal $30.00
Order total $10.00
Comment | File | Size | Author |
---|---|---|---|
#5 | P20120119182601.png | 257.61 KB | jeggen |
#5 | P20120119182618.png | 126.29 KB | jeggen |
#5 | P20120119182630.png | 229.47 KB | jeggen |
Comments
Comment #1
longwaveHave you tried disabling the coupon module entirely? Do you have any other Ubercart contrib modules enabled? I can't think of anything in core that would cause this. You could try updating to 7.x-3.x-dev but I am not sure that would help.
Comment #2
jeggen CreditAttribution: jeggen commentedProbably related, even when a coupon is applied it appears three times on the cart page. I don't see any workflow items though that would control this... again, any suggestions on where to look for the culprit?
Comment #3
jeggen CreditAttribution: jeggen commentedIt is related to the discount coupon extended workflow module. Will investigate there further.
Comment #4
wodenx CreditAttribution: wodenx commentedcan you list the rules that you have enabled or provide screenshots?
Comment #5
jeggen CreditAttribution: jeggen commentedAttached screenshots are from my android tablet but I think show all the rules and the details of the autocoupon workflow rule. Also changed the version... I'm on Alpha 4
Comment #6
jeggen CreditAttribution: jeggen commentedChanged status to active since information has been submmitted.
Comment #7
wodenx CreditAttribution: wodenx commentedCan you also post settings for the coupons you are applying? And how do you know this is uc_coupon_workflow related? Does the problem go away if you disable only that component? Also, please try updating to latest -dev (many bug fixes since alpha-4) and let me know if the problem continues. A link to the site that demonstrates the problem would be helpful as well, if possible.
Comment #8
jeggen CreditAttribution: jeggen commentedI have updated to -dev and still have the issue. I've also reduced my coupon to one "EARLYBIRD" coupon that is $2 off per item associated with one SKU and automatically applied. If I disable the extended workflow module the issue goes away, even if the coupon is applied to the order checkout is still proper.
You can go to www.bethanyelkhorn.org/jasongray. Add one or more concert tickets, go through to the very end of the checkout process (e.g. you will have to put in PayPal info) and when you get to the final confirmation step you will see that the subtotal is representative of 3x the product that are in the cart. Total is the lower (correct amount) however the amount charged through PayPal is the subtotal amount.
Comment #9
jeggen CreditAttribution: jeggen commentedHere is the autocoupon rule:
Comment #10
jeggen CreditAttribution: jeggen commentedFYI - I switched to PayPal Website Standard payment method this morning. It appears that this issue only occurs when using an automatic coupon with the workflow configured and using PayPal Express. I've changed payment on the live site but if you still want to look at the issue head over to my sandbox.
http://sandbox.bethanyelkhorn.org/jason-gray
Comment #11
wodenx CreditAttribution: wodenx commentedI've only been able to reproduce this using Ubercart 7.x-3.0-rc3 -- when I switch to 7.x-3.x-dev the problem goes away. Perhaps you can give that a try and let me know if it is fixed for you also? Note - before doing so, you will need to get fixes for #1411572: Improper invocation of uc_cart_get_contents() and #1410452: cart/checkout/complete is broken with latest dev. - both have been committed, but you'll have to pull the latest changes with git or wait 12 hrs for dev snapshots to update (or apply patches manually).
Comment #12
Aiur CreditAttribution: Aiur commentedI am currently running both the January 22nd Ubercart 7.x-3.x-dev and the January 22nd UC_Coupon 7.x-2.x-dev, but am still having this issue. I am using Paypal Express.
Comment #13
wodenx CreditAttribution: wodenx commented@Aiur - Some fixes were committed on January 22 - can you retry with latest DEV (or with alpha5) and post back if problem persists?