Skip to content

Fix : Return to cart if token not provider in /confirm page#145

Open
dimitriBouteille wants to merge 1 commit into
Affirm:masterfrom
dimitriBouteille:fix/confirm-without-token
Open

Fix : Return to cart if token not provider in /confirm page#145
dimitriBouteille wants to merge 1 commit into
Affirm:masterfrom
dimitriBouteille:fix/confirm-without-token

Conversation

@dimitriBouteille
Copy link
Copy Markdown
Contributor

Description

If user go to /affirm/payment/confirm

  • development mode : the following error is displayed Invalid return type
  • production mode : blank page is displayed

How To Reproduce

Steps to reproduce the behavior:

  1. Go to /affirm/payment/confirm without token
  2. 💥 Critical error is displayed because the controller return void

Expected behavior

If not token provider (for different reason), the customer must be redirect to /cart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant