onPlanUpdated( )


Notes:

Triggered when a pricing plan is updated.

Permissions
Manage Pricing Plans
Read Pricing Plans
Manage Events
Learn more about app permissions.
Method Declaration
Copy
function onPlanUpdated(handler: function): void;
Method Parameters
handlerfunction

handler(event: PlanUpdatedEnvelope): void | Promise<void>

JavaScript
import { plans } from "@wix/pricing-plans"; plans.onPlanUpdated((event) => { // handle your event here });
Did this help?