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.

Was this helpful?
Yes
No