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

CommentFileSizeAuthor
#2 commerce_saferpay-fail-url-3217398-2.patch671 bytesberdir

Comments

Berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new671 bytes
mathilde_dumond’s picture

I 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."

  • Berdir committed e0eb73e on 8.x-1.x
    Issue #3217398 by Berdir, mathilde_dumond: Use cancel URL for Fail state
    
berdir’s picture

Status: Needs review » Fixed

Thanks for testing. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.