Question: How can I update my Wix App Collection for recurrent subscriptions with creation date, end date (if applicable), and status (active or non-active) using Velo code in Wix Studio?
Product: Wix Studio, Velo by Wix, Wix App Collection (for recurrent subscriptions)
What are you trying to achieve: I need to update my Wix App Collection for recurrent subscriptions with the following data:
- Creation Date (the date the subscription was initiated or the user was added to the system)
- End Date (if applicable, this could be set as a date when the subscription ends, or null for indefinite subscriptions)
- Status (active or non-active, depending on whether the user’s subscription is still valid)
This is specifically for users who are subscribed to recurring plans. I need to ensure that these fields are updated dynamically based on subscription actions.
What have you already tried: I have tried using Velo to work with subscription data, but I’ve been struggling to correctly update the collection with the necessary dates and status updates.
Additional information: I’m using the Wix App Collection for managing recurrent subscriptions, and I need to automate this process with Velo code to ensure subscriptions are tracked with creation dates, end dates, and status.