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

[4.0] Customer charged 3 times #256

Open
jonleverrier opened this issue Oct 10, 2023 · 0 comments
Open

[4.0] Customer charged 3 times #256

jonleverrier opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels

Comments

@jonleverrier
Copy link

jonleverrier commented Oct 10, 2023

Description

We received an order today that Commerce flagged as being overpaid. Upon further investigation, the customers credit card was charged 3 times. These charges also show in Commerce.

I've looked at the logs in Stripe for the 3 successful transactions, and the timestamps are all identical. The only thing that differs between the transactions, are the stripe related parameters (there's quite a few of them), such as;

  • Payment Indent (pi_3NzbIhFgXmDPkKKk0XXXXXXX)
  • Payment Method (pm_1NzbIfFgXmDPkKKkgXXXXXXX)

Steps to reproduce

I've tried reproducing this locally, but can't. I'm happy to send you my stripe logs for the 3 transactions?

For clarity I'm using a custom payment form (just my own HTML) + JS from Commerce Stripe v3 days, but have upgraded to Commerce Stripe v4.

And my submit button is disabled after first click, so it's not user error.

Additional info

  • Craft CMS version: 4.5.6.1

  • Stripe for Craft Commerce version: 4.3.0

    "craftcms/commerce": "dev-develop#04d8249281d801992f9acc6799db56848c16b4b1 as 4.3.0",
    "craftcms/commerce-stripe": "dev-develop#b10503188c4c64efe3f20baf300a669cfbcac16e as 4.0.1",

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

No branches or pull requests

2 participants