Ability to set failed payment page #183
marcorieser
started this conversation in
Feature Requests
Replies: 1 comment
-
|
The In those situations, I would have thought you'd want customers to go back to the checkout page, take some action, then try again. What's your use case? 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, when a
PreventCheckoutexception is thrown, Cargo redirects to the checkout route.https://github.com/duncanmcclean/statamic-cargo/blob/1.x/src/Http/Controllers/Payments/CheckoutController.php#L37-L39
In my case, I have a route for each checkout step, so redirecting to the start is a bad idea. I currently handle it in my routes, but it would be nice if there were a config value for a
failedroute endpoint.My current solution:
Beta Was this translation helpful? Give feedback.
All reactions