mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
✨ New Redux action to disconnect merchant
This commit is contained in:
parent
bc08aa74da
commit
401faf6975
4 changed files with 29 additions and 0 deletions
|
@ -212,6 +212,15 @@ export const authenticateWithOAuth = function* (
|
|||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Side effect. Checks webhook simulation.
|
||||
*
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const disconnectMerchant = function () {
|
||||
return { type: ACTION_TYPES.DO_DISCONNECT_MERCHANT };
|
||||
};
|
||||
|
||||
/**
|
||||
* Side effect. Clears and refreshes the merchant data via a REST request.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue