Problem/Motivation
The wrong URL is used for Fail state. I'm not sure what the exact difference between Fail and Cancel is, because canceling within Postfinance for example triggers the Fail URL and not Cancel, but using return is wrong anyway.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | commerce_saferpay-fail-url-3217398-2.patch | 671 bytes | berdir |
Comments
Comment #2
berdirComment #3
mathilde_dumond commentedI compared a branch with the patch to a branch without the patch:
In the branch without the patch, when the card is declined, the websites shows the thank you page as if the payment worked.
In the branch with the patch, I'm back on the checkout page with the message:
"Statusmeldung
Du hast deine Bezahlung mit Saferpay PaymentPage abgebrochen und kannst diese fortsetzen, sobald du bereit bist."
When canceling the payment, in both cases I get the message "Du hast deine Bezahlung mit Saferpay PaymentPage abgebrochen und kannst diese fortsetzen, sobald du bereit bist."
Comment #5
berdirThanks for testing. Committed.