onPlanArchived( )


An event that triggers when a pricing plan is archived.

The onPlanArchived() event handler runs when a pricing plan is archived. The received PlanArchivedEvent object contains information about the pricing plan that was archived.

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

Method Declaration
Copy
Method Parameters
eventPlanArchivedEventRequired

Information about the pricing plan that was archived 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?