Open phillipswdc opened 1 month ago
Update it is deleted when you go to the checkout also
Looks like this may have been fixed with latest version of plugin.
Hey @phillipswdc ! Thanks for the report!
Looks like this may have been fixed with latest version of plugin.
Would you please confirm if this is the case?
Also, would you please confirm whether the tokens continue having an ID that begins with src_
?
New tokens have pm it is only our old tokens that remain src I did test with latest version and it does look like it is clear.
Do you know what version of the plugin started with this issue?
Describe the bug when accessing /my-account/payment-methods/ payment tokens starting with the prefix src_ are deleted locally from the _woocommerce_payment_tokens and the _woocommerce_payment_tokenmeta tables. The CC is not deleted from Stripe
To Reproduce Steps to reproduce the behavior:
tokens with the card and pm prefix are not removed
if you enable the legacy checkout this no longer happens
Expected behavior payment tokens with src_ prefix are not deleted
Screenshots This is a screenshot of mysql work bench of the payment token table isolating a users payment tokens
before opening users /my-account/payment-methods/
after opening users /my-account/payment-methods/
Environment (please complete the following information):
Additional context This was discovered in our production environment confirmed in our staging environment both with all of our plugins and custom theme.
I took a backup of the current production environment and installed locally in Docker removed all plugins except Woo and Stripe and deactivated our custom theme installing storefront.
I believe that this issue started after updating to the latest version of this trip gateway plugin