mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
✨ Flush APM feature cache on merchant disconnect
This commit is contained in:
parent
53ce535f4a
commit
ec029dd4c5
1 changed files with 10 additions and 0 deletions
|
@ -122,6 +122,11 @@ class AuthenticationManager {
|
|||
* is no need for it here, it's good house-keeping practice to clean up.
|
||||
*/
|
||||
do_action( 'woocommerce_paypal_payments_flush_api_cache' );
|
||||
|
||||
/**
|
||||
* Clear the APM eligibility flags from the default settings object.
|
||||
*/
|
||||
do_action( 'woocommerce_paypal_payments_clear_apm_product_status' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -420,6 +425,11 @@ class AuthenticationManager {
|
|||
*/
|
||||
do_action( 'woocommerce_paypal_payments_authenticated_merchant' );
|
||||
|
||||
/**
|
||||
* Clear the APM eligibility flags from the default settings object.
|
||||
*/
|
||||
do_action( 'woocommerce_paypal_payments_clear_apm_product_status' );
|
||||
|
||||
/**
|
||||
* Subscribe the new merchant to relevant PayPal webhooks.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue