woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
228 stars 201 forks source link

Payment card does not save if Issue an authorization on checkout, and capture later is enabled #2832

Open m155y opened 8 months ago

m155y commented 8 months ago

Describe the bug When the Issue an authorization on checkout, and capture later is enabled via WooCommerce > Settings > Payments > Stripe – Credit Card (Stripe) > Settings the card does not appear to be saved in my-account/payment-methods/, although it sometimes shows up after a second purchase.

To Reproduce Steps to reproduce the behavior:

  1. Add item(s) to cart
  2. Proceed to checkout
  3. Create an account if you do not already have one
  4. Pay with Stripe and select the option to save the payment method to your account
  5. After order is confirmed, go to my-account/payment-methods/ and observe that the payment method did not save to your account

Expected behavior I expected to save my card information to my account upon selecting that option at checkout.

Screenshots This is the setup when the problem occurs:

yl0kSG.png

No Payment Saved Z2aOPZ.png

When this option is disabled, the payment method saves in my account as it should:

yVvyZW.png

Payment Saved tVTFQB.png

Environment (please complete the following information):

Additional context I first identified this issue on the customer's site on ticket 7495221-zd-a8c and was able to reproduce the issue locally.

github-actions[bot] commented 1 week ago

Hi, This issue has gone 150 days (5 months) without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest version, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.

Hans9985 commented 1 week ago

I have not seen any comments here about the issue being worked on, so I conclude that the issue is still there.