-
Notifications
You must be signed in to change notification settings - Fork 103
[FEATURE] Seperate payment-redirect and order-success #1419
Comments
thanks @niklaswolf for that flow 💪🏻 do you suggest that we need to perform redirection immediately (no await) after getting the external payment url, and after all get customer back on success page when it's paid? We would have sth like:
|
yes that's what we think is the expected behaviour. The customer otherwise is confused, because he knows he still has to pay the order, but already sees an order confirmation page. The customer doesn't (and don't has to) care about the technicals (order is already created in shopware before even paying). For the customer the order is finished successfully after paying for it.
correct
correct
This can and should be configured in shopware (Settings -> Business events), the order confirmation mail can be sent only after payment success for external payments. But that's no concern of the PWA, but should be mentioned in the docs I think. |
@mkucmus will this be part of the next release? Seems like others also think this is a good idea :) |
Hey @niklaswolf , I strongly support your suggested way of doing things and will make sure that it will be implemented. |
Description
Right now it is very confusing for the customer, because without paying the order one sees the order success page. Only there one gets redirected after some time to the payment provider. This is really confusing and has a very high potential of customers aborting the order.
I suggest the following flow:
createOrder()
getOrderPaymentUrl()
2.1. If paymentUrl (external payment) --> redirect directly to paymentUrl
2.1.1. If payment succeeds --> redirect to order success
2.1.2. If payment fails --> redirect to order/payment failure to handle error seperately
2.2. Else (internal payment) --> redirect to order success
Benefits
Related
#781
#1411
The text was updated successfully, but these errors were encountered: