When you opt to save a payment method and you use a payment method like Bancontact, iDEAL or Sofort, when you return to the store after authenticating the payment, the payment method isn't saved.
To Reproduce
Steps to reproduce the behavior:
Check out add/deferred-intent
Select EUR as the store currency
Under the Stripe settings, enable UPE and enable Bancontact, iDEAL, Sofort
As a shopper, go to the checkout page
Select "Use a new payment method"
Select Bancontact, iDEAL or Sofort
Check the box to save the payment method
Place the order
Authorize the payment
When you are returned to the store, open the database wp_woocommerce_payment_tokens table and notice that no stripe_ token was created for that saved payment method.
Expected behavior
The token should be saved on returning to the store as it has now been authorized and converted to a saveable token (reusable SEPA in this case).
Describe the bug
When you opt to save a payment method and you use a payment method like Bancontact, iDEAL or Sofort, when you return to the store after authenticating the payment, the payment method isn't saved.
To Reproduce Steps to reproduce the behavior:
wp_woocommerce_payment_tokens
table and notice that nostripe_
token was created for that saved payment method.Expected behavior The token should be saved on returning to the store as it has now been authorized and converted to a saveable token (reusable SEPA in this case).