-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Payments APITickets related to refactorTickets related to refactorQuestion / IssueFurther information is requestedFurther information is requested
Description
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-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.
Metadata
Metadata
Assignees
Labels
Payments APITickets related to refactorTickets related to refactorQuestion / IssueFurther information is requestedFurther information is requested