PaymentIntent error after upgrading to commerce 2.15

Created on 20 February 2020, about 5 years ago
Updated 8 March 2025, 29 days ago

Some users are seeing a PaymentIntent error message during checkout:

"The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first."

This appears to be happening with repeat customers or logged in users.

This does not seem to prevent checkout and many users are completing the order, however it is obviously causing concern/inquiry to the site owners.

Wondering if there is an option to suppress this and other potentially related errors if they are not impacting the actual process, or if there is possibly something that needs to be fixed.

πŸ› Bug report
Status

Active

Component

Stripe Checkout

Created by

πŸ‡ΊπŸ‡ΈUnited States ben.hamelin Adirondack Mountains, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Seeing this as well
    Stripe\Exception\InvalidRequestException: The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first. in Stripe\Exception\ApiErrorException::factory() (line 38 of /code/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php).

    New customer who has never checked out on our site to my knowledge.

  • πŸ‡ΊπŸ‡ΈUnited States hockey2112

    Following

  • πŸ‡¬πŸ‡§United Kingdom fonant

    Getting this error today, for a logged-in user trying to pay.

Production build 0.71.5 2024