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.
Information about the pricing plan that's created and metadata for the event.