Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jones-Lafuente opened this issue Jun 26, 2022 · 3 comments
Open

Comments

@Jones-Lafuente
Copy link

Jones-Lafuente commented Jun 26, 2022

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

  • Craft CMS version: 3.7.45.1
  • Stripe for Craft Commerce version: 2.4.3
  • Craft Commerce: 3.4.15
@Jones-Lafuente
Copy link
Author

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
Copy link
Contributor

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

@lukeholder
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants