mollie / laravel-mollie

Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite
https://www.mollie.com/
MIT License
322 stars 62 forks source link

Retry failed payments via mollie checkout #243

Closed ignaciocunado closed 3 months ago

ignaciocunado commented 3 months ago

Expected Behavior

When a payment fails, the mandate is automatically canceled. It would be nice if users could retry the failed payment via the checkout page, and, for example change their payment method.

Current Behavior

Currently, there exists no way for users to go through the checkout to retry a failed payment.

Possible Solution

A possible solution could be to add a method which redirects the user to the checkout page, and pays for the failed order.

Context

Sometimes our users' banks reject the payment multiple times, and it would be easier for them and for us to retry payments via the checkout.

Your Environment

sandervanhooft commented 3 months ago

Hi @ignaciocunado,

Thanks for reaching out!

Your request goes beyond the scope of this package.

However, if you're looking for inspiration to implement it on your end (which is definitely possible): The Mollie Laravel Cashier package offers some help in dealing with the use cases you're describing (i.e. retries).

Also feel free to jump on the Mollie Discord if there are any feature requests you'd like to share. See you there?