Describe the bug
The "Use a new payment method" radio button incorrectly appears during the checkout process under specific conditions, causing order failures when not selected by the customer.
To Reproduce
Steps to reproduce the behavior:
Ensure "New Checkout Experience" is enabled.
Create a free product with 0 price, but make sure shipping is enabled
Create two shipping zones: 1. With free shipping(Should be your default address so that the checkout page has that selected automatically), 2. With a shipping fee (This is the one we will select on the checkout page to trigger the bug)
Ensure the customer is not logged in.
Add the free product to the car
Go to the checkout page (cart total shows $0.00).
Check the behavior with address the address where free shipping is enabled.
Now, change the address to match the paid shipping zone.
Cart total will update with a $XX charge
Observe the "Use a new payment method" radio button appearing next to the credit card block
Expected behavior
The "Use a new payment method" radio button should only appear when "Enable payment methods via saved card" is enabled and the customer is logged in with an existing saved card.
Screenshots
Environment (please complete the following information):
WordPress Version 6.5.5
WooCommerce Version 9.0.2
Stripe Plugin Version 8.4.0
Browser [e.g. chrome, safari] and Version Can be reproduced in any browser and version
Any other plugins installed Tested with everything disabled.
I know this may be an unlikely edge case, but I wanted to check in for our merchant. Especially since there hasn't been a human review on this so far that I can see. :)
Describe the bug The "Use a new payment method" radio button incorrectly appears during the checkout process under specific conditions, causing order failures when not selected by the customer.
To Reproduce Steps to reproduce the behavior:
Expected behavior The "Use a new payment method" radio button should only appear when "Enable payment methods via saved card" is enabled and the customer is logged in with an existing saved card.
Screenshots
Environment (please complete the following information):
Additional context Initial report 8367652-zen