Closed Thedonsolo closed 3 years ago
Hi @Thedonsolo,
For all scenarios that Mollie redirects the user back to your site, it will use the provided redirectUrl
.
With Laravel implementations I typically use a RedirectFromMollieController
and route for this redirectUrl
.
In this controller you can check the payment status before redirecting internally / showing the right view.
Expected Behavior
When the user wants to cancel the payment by clicking "Previous website" link, he should be going to a specific page.
Current Behavior
At the moment I don't see any possibility to manipulate the "Previous website" link.
Possible Solution
Pass the url to the Mollie::api()->payments->create method.
Context
For each payment the page the user arrives on after cancelling will be different on our side.
Your Environment