onPlanCreated( )


An event that triggers when a pricing plan is created.

The onPlanCreated() event handler runs when a pricing plan is created. The received PlanCreatedEvent object contains information about the pricing plan that is created.

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

Method Declaration
Copy
Method Parameters
eventPlanCreatedEventRequired

Information about the pricing plan that's created 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?