mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Ensure subscription mode is set to PayPal subscriptions when reference transactions is not available
This commit is contained in:
parent
a4bccbbb12
commit
935ccd82eb
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ class SettingsListener {
|
|||
|
||||
if ( $reference_transaction_enabled !== true ) {
|
||||
$this->settings->set( 'vault_enabled', false );
|
||||
$this->settings->set( 'subscriptions_mode', 'subscriptions_api' );
|
||||
$this->settings->persist();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue