mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
🐛 Enable the PayPal method after onboarding
This gateway should be active for every merchant right after onboarding, regardless of seller-type of onboarding choices.
This commit is contained in:
parent
be6cbd465f
commit
5afdc815ef
1 changed files with 2 additions and 1 deletions
|
@ -211,7 +211,8 @@ class SettingsDataManager {
|
||||||
$this->payment_methods->toggle_method_state( $method['id'], false );
|
$this->payment_methods->toggle_method_state( $method['id'], false );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always enable Venmo and Pay Later.
|
// Always enable PayPal, Venmo and Pay Later.
|
||||||
|
$this->payment_methods->toggle_method_state( PayPalGateway::ID, true );
|
||||||
$this->payment_methods->toggle_method_state( 'venmo', true );
|
$this->payment_methods->toggle_method_state( 'venmo', true );
|
||||||
$this->payment_methods->toggle_method_state( 'pay-later', true );
|
$this->payment_methods->toggle_method_state( 'pay-later', true );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue