woocommerce / woocommerce-gateway-stripe

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

Changing CB payment method does not work: 3D secure is not triggered #3219

Open agenceKanvas opened 1 week ago

agenceKanvas commented 1 week ago

Describe the bug When a customer tries to change his payment method for another card, he enters his card details, validate but the 3D secure is never asked. The new payment is saved in WooCommerce but the next payment will not work because the 3D secure is not valid. The change is made using the new interface.

In stripe, we have the setup intent : 342287347-04f85c61-14a8-4463-8f5d-49fae5e83d8d

But it looks incomplete as the action is needed (probably the 3D secure). 342279365-32f38354-b870-412a-9e4e-df97226ca548

To Reproduce Steps to reproduce the behavior:

  1. Login as a user with an active subscription
  2. Try to change your payment method to a CB requiring a 3D Secure
  3. Enter your CB info (In test mode, you can try with this card number (provided by Stripe) : 4000002760003184)
  4. See error

Expected behavior The 3D Secure prompt must be triggered, and if valid, the payment method must be changed

Environment (please complete the following information):

SystemStatusReport_marsactu.fr_2024-06-24T10-23-41.txt

Additional context I will let my colleagues add their versions but the bug is reproduced on other installs

aheckler commented 1 week ago

Sorta related: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2305 I'm going to let our engineering team triage this one, although it does seem like a good enhancement to make.. :)

superdaikon commented 1 week ago

Hi. Same trouble here with subscription and 3DS action. Our customers can't add a new card because the 3DS interface won't open. The fact that Stripe's return is in success (200) also means that the temporary payment method is included in the subscription. Customers don't see any errors, but of course all our payments then fail! Please check the code in detail setup_intent.requires_action shoot 2024-06-24 à 19 38 31

Environment (please complete the following information):

WordPress Version : 6.5.5
WooCommerce Version : 8.9.3
Stripe Plugin Version : 8.2.0
Browser [e.g. chrome, safari] and Version : Firefox
kevin25 commented 1 week ago

3D secure got stuck all the time.

Screen Shot 2024-06-25 at 09 24 20
agenceKanvas commented 4 days ago

Sorta related: #2305 I'm going to let our engineering team triage this one, although it does seem like a good enhancement to make.. :)

Thanks for your reply. Looks like more than just enhancement because a lot (and I mean a lot) of our customers will be lost because of that. And it will be the same for subscription based website