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

Unnecessary creation of Stripe "payment intent" #1020

Closed
nick4501 opened this issue Feb 22, 2024 · 0 comments
Closed

Unnecessary creation of Stripe "payment intent" #1020

nick4501 opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@nick4501
Copy link

Describe the bug
When using the Stripe payment method, a payment intent is automatically created as soon as the customer starts the checkout process - even if the customer decides to use another payment method instead. This results in lots of incomplete payments being added to the Stripe payment portal, which seems unnecessary.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure that multiple payment methods are possible (e.g. Stripe and Paypal) and that Stripe is the first payment method in the list.
  2. Add a product to a basket and go through the checkout process.
  3. On the payment method selection page, select Paypal and continue with the checkout process.
  4. A Stripe payment intent will have been created, resulting in an "INCOMPLETE PAYMENT" in the Stripe administration dashboard. This should not be created at all, as the customer checked out using Paypal.

Expected behavior
A payment intent should only be raised on the Stripe portal when the user starts to fill in their card details. If the Stripe payment method is the first in a list of possible payment methods, then it will automatically select it and start the creation of the Stripe payment intent. This is unnecessary and floods the Stripe dashboard payment list with incomplete orders.

@nick4501 nick4501 added the bug label Feb 22, 2024
@Michael-Herzog Michael-Herzog self-assigned this Feb 22, 2024
@Michael-Herzog Michael-Herzog added this to the 5.2.0 milestone Feb 22, 2024
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