"A processing error occurred." - can't get through checkout due to unreported errors

Created on 10 January 2025, 10 days ago

API Key is properly configured, connected in Test mode, and payment element renders fine.

However, when i submit test credit card info, i cannot finalize checkout.

Generic error message "A processing error occurred." appears, and nothing in Drupal logs.

Network log shows a 400 error response from Stripe from request URL https://api.stripe.com/v1/payment_intents/pi_3QfoD8HGP26d6LNf096CnwBT/co... . Here's a snippet:

  "error": {
    "code": "payment_intent_unexpected_state",
    "doc_url": "https://stripe.com/docs/error-codes/payment-intent-unexpected-state",
    "message": "You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed.",

Unclear how this should be fixed, please advise.

πŸ› Bug report
Status

Active

Version

1.2

Component

Payment Element

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

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

Comments & Activities

  • Issue created by @AaronBauman
  • πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

    Stripe checkout pane was not on the "Review" step.
    Even when I moved the pane, existing carts in checkout did not get fixed.

    Weird error, but glad it was easily fixed.

Production build 0.71.5 2024