Bug Cancelling a payment empties the cart

benFF

Customer
If you cancel a payment, you can no longer go back to the checkout and try again as the cart is empty - even though the order still shows up in the backend.

Steps too recreate:
  1. Add item to cart
  2. Go to checkout
  3. Accept terms of service and click "Proceed to payment"
  4. When the payment modal pops up, close it.
  5. Click button "Proceed to payment" again.
  6. You will get error message "Your cart is empty"
 
This is not a bug. When you initiate payment, it moves the order to “Awaiting payment”, and you will need to go to the account page to retry.
 
Absolutely no-one will know to do that :(

I tried using your Stripe Checkout add on to see if that helps - and I see if you click the "back arrow" on the top left of the Stripe Checkout page, it will take you to the order (where you can retry)

But if you just hit back in your browser, you go back to the checkout and have the same issue - very frustrating.
 
I’ll leave this open to see if there’s room for improvement where if an order isn’t found, I can check for pending payments and redirect.
 
In v4 for XenForo 2.3 I believe this should be solved. The /proceed action was the only relevant instance of checking for a Pending order that didn't have the redirect.
 

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,480
Customer rating
4.83 star(s) 6 ratings
Back
Top