onPlanUpdated( )


An event that triggers when a pricing plan is changed.

The onPlanUpdated() event handler runs when a pricing plan has changed. The received PlanUpdatedEvent object contains information about the pricing plan that was updated.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventPlanUpdatedEventRequired

Information about the pricing plan that was updated and metadata for the event.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?