I use wix plans and i want to update my user collection with data with creation date, end date if any (valid until cancellation) and status (active or non active) i try for many hours but i am stuck. any possible help?

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:

  1. Creation Date (the date the subscription was initiated or the user was added to the system)
  2. End Date (if applicable, this could be set as a date when the subscription ends, or null for indefinite subscriptions)
  3. 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.