craftcms / commerce-stripe

Stripe payment gateway for Craft Commerce
https://plugins.craftcms.com/commerce-stripe
MIT License
30 stars 51 forks source link

Implementing updated Stripe with SCA - invalid payment or order #212

Open Jones-Lafuente opened 2 years ago

Jones-Lafuente commented 2 years ago

Hi

Trying to help out a friend update their Craft Commerce and Stripe. Previously running Craft 1 and Commerce 1 so no SCA.

We have succesffully updated both Craft and Commerce to version 3 and installed the Stripe plugin and followed the example to implement. All seems to be fine but when we click submit payment it fails. Both in the CP and also the front end. We just get the error message "Invalid Payment or Order"

Am obviously missing something but all API keys are setup in Craft Commerce and also the webhook. Also using the latest API checking the Stripe Dashboard.

Just on the off chance that there may be an obvious thing I have missed.

Thanks

Brian

Additional info

Jones-Lafuente commented 2 years ago

Have been in touch with Stripe support and the logs show all the payments are showing as 200 OK in the Stripe dashboard. Payments never get any further though, just the same message "Invalif payment or order"

Have used the original custom templates and also a clean version that come with Commerce. Same result.

Any thoughts would be most helpful.

Thanks

Brian

pdaleramirez commented 1 year ago

@Jones-Lafuente Can you ensure that you using the correct API keys? test using the developer instead of live keys.

lukeholder commented 1 year ago

In the next release of the plugin we have better support for SCA due to using the new payment elements UI. Will let you know when it's released shortly.