mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Merge pull request #3207 from woocommerce/PCP-4239-subscriptions-and-save-payment-methods
Subscriptions and "Save Payment Methods"
This commit is contained in:
commit
96ef4785e7
1 changed files with 1 additions and 6 deletions
|
@ -266,12 +266,7 @@ class SettingsDataManager {
|
|||
|
||||
if ( $flags->is_business_seller && $flags->use_subscriptions ) {
|
||||
$this->payment_settings->set_save_paypal_and_venmo( true );
|
||||
|
||||
if ( $flags->use_card_payments ) {
|
||||
$this->payment_settings->set_save_card_details( true );
|
||||
} else {
|
||||
$this->payment_settings->set_save_card_details( false );
|
||||
}
|
||||
$this->payment_settings->set_save_card_details( true );
|
||||
}
|
||||
|
||||
$this->payment_settings->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue