-
-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Paypal & Stripe] Failed checkout attempts add a persistent transaction fee #9112
Comments
@filipefurtad0 this is reproductible with the new checkout as well? If not I would recommend switching these users to split checkout and not deal with this bug apart from trying to automate the test. |
That's a good point Rachel 👀 But unfortunately, it breaks anyway in different way though. With split checkout enabled, starting on step 6 (above), leads to error 500: For the dev picking this up, the error 500 appears on the server log:
So, from the (I think a similar redirection inconsistency might be happening in issue is happening in issue #9056 - but I'm not sure) |
About the last comment, and the error that you saw @filipefurtad0 : i'm pretty sure I've already seen it but I've not Paypal activated on my local setup (only 'cash on collection' and 'stripe')... |
Great, thanks for that feedback JB. It doesn't look like it relates to payment methods but rather to addresses and/or shipping methods... |
Following this detailed description - thanks @RonellaG - the bug is reproducible as well when checking out with Stripe. For instance, using:
Updating the issue name. |
Hey @georgethoppil , While not preventing the creation of the ghost transaction fees, this comments seems related, as also here on the |
Description
If a Paypal transaction fails on checkout and a transaction fee is associated to that payment, the respective amount will be added to that order, as many times as checkout attempts (with Paypal).
This leads to an inconsistent state of the order / fail cascade, in which:
https://app.bugsnag.com/yaycode/openfoodnetwork-uk/errors/61ebce343d0f08000872149b?event_id=625e8a3d0093606c2ee10000&i=sk&m=nw
Expected Behavior
Failed checkout attempts using Paypal should not add a persistent transaction fee.
Actual Behaviour
Failed checkout attempts using Paypal should not add a persistent transaction fee.
Steps to Reproduce
As Admin:
Signature
add an empty space after it 👀As Customer:⚠️
3. Checkout on that shop, selecting that payment method
4. Notice the error on checkout
5. Check your cart, and notice the transaction fee was added
6. Empty your cart, and start over from step 3.
7. Notice the previously added transaction fee is still on the cart: transaction fees add up...
8.1 Complete this funky order using Stripe -> 💥 -> Cart should be reset.
8.2 8.1 Complete this funky order using Cash -> Order is completed with the ghost transaction fees included in the order total
Animated Gif/Screenshot
Workaround
There are some ways to deal with the bug, but it can go unnoticed.
I'd say this is an S2 but feel free to change if you disagree.
Severity
bug-s2: a non-critical feature is broken, no workaround
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: