mollie / laravel-cashier-mollie

Official Mollie integration for Laravel Cashier
https://www.cashiermollie.com/
MIT License
136 stars 44 forks source link

Coupon with 100% discount create a loop in mollie checkout #230

Closed peXed closed 4 months ago

peXed commented 6 months ago

Hello!

We have the following problem when testing on the live API with a coupon that has a discount fo 100%.

As soon as we want to pay (we testet it with PayPal) everything works on the PayPal site, however as soon as we getting redirected back to Mollie, the screen where we can choose the payment method appears again, but in the background, everything gets setup correctly. What I didn't test is what will happen, when I put in my payment details again or choose a different payment method the second time I see the screen.

Is that a known problem and if so, is it on Mollies side or the cashier side? Is there a fix?

Naoray commented 6 months ago

Hi @peXed,

thanks for reporting your issue!

Can you provide me with the exact configuration you have in cashier, cashier_coupons and cashier_plans and also provide me with the code you used to get this result?

Also how did you test the integration with PayPal exactly? I might be wrong, but creating payments in testmode for me always creates a redirect link to a page where I can only insert credit card details, hence I couldn't test your use case.