diff --git a/changelog.txt b/changelog.txt index b1257e486..925131c5b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,7 @@ * Fix - Pay upon Invoice: Add input validation to Experience Context fields #2092 * Fix - Disable markup in get_plugin_data() returns to fix an issue with wptexturize() #2094 * Fix - Problem changing the shipping option in block pages #2142 +* Fix - Saved payment token deleted after payment with another saved payment token #2146 * Enhancement - Pay later messaging configurator improvements #2107 * Enhancement - Replace the middleware URL from connect.woocommerce.com to api.woocommerce.com/integrations #2130 * Enhancement - Remove all Sofort references as it has been deprecated #2124 diff --git a/modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php b/modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php index a345d0e84..61244b2e2 100644 --- a/modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php +++ b/modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php @@ -141,7 +141,7 @@ class SavePaymentMethodsModule implements ModuleInterface { 'vault' => array( 'store_in_vault' => 'ON_SUCCESS', 'usage_type' => 'MERCHANT', - 'permit_multiple_payment_tokens' => apply_filters( 'woocommerce_paypal_payments_permit_multiple_payment_tokens', true ), + 'permit_multiple_payment_tokens' => apply_filters( 'woocommerce_paypal_payments_permit_multiple_payment_tokens', false ), ), ), ), @@ -167,7 +167,7 @@ class SavePaymentMethodsModule implements ModuleInterface { 'vault' => array( 'store_in_vault' => 'ON_SUCCESS', 'usage_type' => 'MERCHANT', - 'permit_multiple_payment_tokens' => apply_filters( 'woocommerce_paypal_payments_permit_multiple_payment_tokens', true ), + 'permit_multiple_payment_tokens' => apply_filters( 'woocommerce_paypal_payments_permit_multiple_payment_tokens', false ), ), ), ), diff --git a/readme.txt b/readme.txt index cdf872418..145e0a97b 100644 --- a/readme.txt +++ b/readme.txt @@ -184,6 +184,7 @@ If you encounter issues with the PayPal buttons not appearing after an update, p * Fix - Pay upon Invoice: Add input validation to Experience Context fields #2092 * Fix - Disable markup in get_plugin_data() returns to fix an issue with wptexturize() #2094 * Fix - Problem changing the shipping option in block pages #2142 +* Fix - Saved payment token deleted after payment with another saved payment token #2146 * Enhancement - Pay later messaging configurator improvements #2107 * Enhancement - Replace the middleware URL from connect.woocommerce.com to api.woocommerce.com/integrations #2130 * Enhancement - Remove all Sofort references as it has been deprecated #2124