Hey ! I have 2 questions
- I implemented the wixPaidPlans_onPlanPurchased() function in my events.js backend. It works fine when I purchase a plan ( passing data to DynamoDB), but I don’t know how to test the recurring payment, Do I just wait for 1 month for the next payment ? is the event object different ?
- Triggering an event for a cancelled plan, I wasn’t able to find anything that works for how to handle plan cancellation, any suggestions for this ? How can I trigger a backend event when a plan is cancelled ?
( I tried these none of which triggered when a plan was cancelled wixPricingPlans_onPlanUpdated, wixPricingPlans_onPlanPurchased,wixStores_onOrderCanceled )