mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
don't redirect to gateway settings if onboarded
This commit is contained in:
parent
b91ede355c
commit
257842b7f7
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class PayPalGateway extends \WC_Payment_Gateway {
|
|||
*/
|
||||
public function needs_setup(): bool {
|
||||
|
||||
return true;
|
||||
return ! $this->onboarded;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue