Triggered when a Wix user cancels a paid plan for your app. The Wix user can continue to use your app until the end of the current billing cycle.
function onAppInstancePaidPlanAutoRenewalCancelled(handler: function): void;
handler(event: AppInstancePaidPlanAutoRenewalCancelledEnvelope): void | Promise<void>
import { appInstances } from "@wix/app-management";
appInstances.onAppInstancePaidPlanAutoRenewalCancelled((event) => {
// handle your event here
});