On the latest add/deferred-intent development branch, purchasing a regular WC product with any APM that is reusable (iDeal, Bancontact, SEPA) and selecting the "save card" checkbox on the checkout, doesn't save the card for future payments:
If you add a subscription product to your cart and purchase with any APM, the token is saved.
To Reproduce
Steps to reproduce the behavior:
Checkout add/deferred-intent branch and make sure you have UPE enabled along with Bancontact (set your store currency to EUR if not already)
Add a regular WC product to your cart and on checkout, select bancontact
Check the "save information for future purchases" checkbox and complete the checkout
Add a subscription product to your cart this and go to the checkout
Notice how the card previously used hasn't been saved :x:
Complete purchasing the subscription with bancontact.
Once on the order thank-you page, go back and add a product to your cart and once on the checkout, confirm the bancontact payment token was saved when purchasing a subscription only.
Expected behavior
Selecting "Save payment information to my account for future purchases." with any product in the cart should save the payment token. Not just subscription products.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
WordPress Version
WooCommerce Version
Stripe Plugin Version
Browser [e.g. chrome, safari] and Version
Any other plugins installed
Additional context
Add any other context about the problem here.
Describe the bug
On the latest
add/deferred-intent
development branch, purchasing a regular WC product with any APM that is reusable (iDeal, Bancontact, SEPA) and selecting the "save card" checkbox on the checkout, doesn't save the card for future payments:If you add a subscription product to your cart and purchase with any APM, the token is saved.
To Reproduce Steps to reproduce the behavior:
add/deferred-intent
branch and make sure you have UPE enabled along with Bancontact (set your store currency to EUR if not already)Expected behavior Selecting "Save payment information to my account for future purchases." with any product in the cart should save the payment token. Not just subscription products.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.