I’ve looked at the documentation and can’t find any information on how auto renewal works with auto-renewing plan subscriptions. For example, are there any events generated when an auto-renew payment has processed… succeeds, fails?
for example does wixPaidPlans_onPlanPurchased ( event ) in my event.js file run ?
if not, what does happen and how can I access this renewal event?
Hi Steven,
At the moment, the renewal has no exposed APIs, so there is no way to tell when the renewal occurs, or its status (success/failure).
The onPlanPurchased event only run on the initial time the plan was purchased, Wix has confirmed that it does not get fired on renewal, and has nothing to do with it.
Hi thanks for your answer. How do you know this? I’m asking because this is a show stopper for our required product infrastructure and I need to show the boss some evidence that it’s not doable. Are you connected with Wix dev team or do you have personal communication with the dev team? Or is there some published documentation that describes this clearly?
Hi Steven,
Ahmad is one of our Velo Masters, and he has this information directly from our development team. If you’d like to share a use case and details of what you need in such an API, I can pass it along to the development team for you. Thanks.
@marlowe-shaeffer We need to interact with a non-Wix service after a subscription has been created and also after it auto renews.
It makes little sense to me that the wixPaidPlans interface provides only the event handling for the subscription creation and not the auto renewal. I’ve worked with Stripe and other payment processors and they have this functionality in their interfaces.
If there is no event handler for auto renewal, are their webhooks that can be used instead of events for both these cases (creation and autorenewal)?