mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Prevents disconnect store when already onboarded via URL params
This commit is contained in:
parent
c03b3d86b5
commit
d2aa43d3d9
1 changed files with 1 additions and 2 deletions
|
@ -168,8 +168,7 @@ class SettingsListener {
|
|||
* Listens if the merchant ID should be updated.
|
||||
*/
|
||||
public function listen_for_merchant_id() {
|
||||
|
||||
if ( ! $this->is_valid_site_request() ) {
|
||||
if ( ! $this->is_valid_site_request() || $this->state->current_state() === State::STATE_ONBOARDED ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue