mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Get and resubscribe webhooks
This commit is contained in:
parent
484ecc17d7
commit
08f5b4fba5
13 changed files with 113 additions and 167 deletions
|
@ -134,6 +134,11 @@ export const setClientSecret = ( clientSecret ) => ( {
|
|||
payload: { clientSecret },
|
||||
} );
|
||||
|
||||
export const setWebhooks = ( webhooks ) => ( {
|
||||
type: ACTION_TYPES.SET_PERSISTENT,
|
||||
payload: { webhooks },
|
||||
} );
|
||||
|
||||
/**
|
||||
* Side effect. Saves the persistent details to the WP database.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue