Payment flow and cart restore #1443
BrocksiNet
started this conversation in
General
Replies: 2 comments 5 replies
-
@BrocksiNet Thanks for opening the discussion! As discussed prior and proposed by you, maybe there is a way to create a copy of the cart before triggering the order, store the token of the cart as a backup and use it in these cases. However the question is if it is actually possible to create multiple carts per user/session using the API and if so how to handle the "abandoned" orders then? |
Beta Was this translation helpful? Give feedback.
1 reply
-
So I managed to provide a solution for the "non happy path" in frontends with your help 💪
Its not pretty, but it works for now 😄 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Async Payment Flow
Additional References
Current problems
Unhappy path in the default Storefront (TWIG)
CartOrderRoute
) & payment fails inHandlePaymentMethodRoute
SetPaymentOrderRoute
& pays viaHandlePaymentMethodRoute
\Shopware\Storefront\Controller\AccountOrderController::updateOrder
Please feel free to participate and share ideas on how to solve the payment flow issues with the store API.
Beta Was this translation helpful? Give feedback.
All reactions