stripe
stripe copied to clipboard
Success URL Redirect Not Working SCA?
Description
My success URL redirect is not working. In the Stripe log, the success_url looks like this:
https://mydomain.com/enupal/stripe-payments/finish-order?session_id=cs_test_a10l2JKNKRFdFQfqnoC2u2XE2BogBBOqIvNAQvPa3gYuMfHVuVw1XYLaMg
However in the Craft admin, my checkout success url looks like this /thank-you?number={number}
I should state the cancel URL works fine and matches in the Stripe log and Craft Admin payment form setting field.
Steps to reproduce
- Have a checkout success URL set on your form.
- Complete a successful transaction in test mode or production mode.
- You are redirected to the homepage and not your checkout success URL.
Additional info
- Craft version: 3.7.37
- PHP version: 7.3.27
- Database driver & version: MySQL 5.7.33
- Plugin version: 4.0.3 Lite
- Is SCA and Stripe Checkout enabled?: yes