Hi everyone,
I've set up subscription plans on my site. One of the plans offers a free trial and I'm looking for an event to fire when a user's free trial finishes.
I've looked into the documentation and the wix-paid-plans-backend API seemed most appropriate: https://www.wix.com/velo/reference/wix-paid-plans-backend but doesn't appear to have the event I'm looking for.
I did briefly consider a workaround where, since at the end of the free trail period the user pays their first subscription fee, I'd be able to use some event which fires based on the payment being initiated but had no luck finding one.
So two questions please...
Is there an event which fires when a user's free trial finishes?
If not, is there a workaround I can use where an event fires when a user makes their first subscription plan payment?
Thanks in advance!
I'm not exactly a Wix expert haha, but while I've been mulling this over it occurred to me the answer to my first question must be "yes"... since there is the option to create an automation in the Wix dashboard with a trigger of "free trial ends".
So it seems strange to me that we can't access user data from within Wix code? Feeling more like I may be missing part of the picture still, so any thoughts much appreciated :)