You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a payment is cancelled, its possible to update the payment with the store-api.
// POST /store-api/order/payment
{
"paymentMethodId": "1901dc5e888f4b1ea4168c2c5f005540",
"orderId": "4139ce0f86fb47ff872a1ec88378f5d1"
}
This updates the Payment method field in the order overview in the shopware admin.
But the redirectUrl i call again on /store-api/handle-paymentdoes not update.
Why i want this:
I've noticed that a lot of customers use the history/back button instead of cancelling the payment.
This will not trigger the default failed payment feature. So i manipulate the history so that when using the history/back button the customer loads a custom retry payment. on this page i cancel the payment and run the code above.
The text was updated successfully, but these errors were encountered:
the problem is that handle-payment needs to be called from Shopware itself which does all the handling that is required...which then leads to a new checkout-url for the customer
so im not quite sure what you do
so you start a mollie payment
then click on back,
then use the /roder/payment to update to another payment method
and then use handle-payment again to start the payment process with this payment method?
handle-payment (or when mollie starts) will get the payment method selected by Shopware
so im wondering if the correct payment method is even set with your way
maybe you could provide me some step by step instructions?
thank you
When a payment is cancelled, its possible to update the payment with the store-api.
This updates the Payment method field in the order overview in the shopware admin.
But the redirectUrl i call again on
/store-api/handle-payment
does not update.Why i want this:
I've noticed that a lot of customers use the history/back button instead of cancelling the payment.
This will not trigger the default failed payment feature. So i manipulate the history so that when using the history/back button the customer loads a custom retry payment. on this page i cancel the payment and run the code above.
The text was updated successfully, but these errors were encountered: