# \#wix-pricing-plans-backend

**URL:** https://forum.wixstudio.com/tag/wix-pricing-plans-backend/109.md

[Latest](https://forum.wixstudio.com/latest.md) · [Categories](https://forum.wixstudio.com/categories.md) · [Tags](https://forum.wixstudio.com/tags.md)

---

## [Velo API to detect grace period](https://forum.wixstudio.com/t/velo-api-to-detect-grace-period/78307)

<div class="topic-metadata">

**Author:** [@markschroeder](https://forum.wixstudio.com/u/markschroeder)\
**Replies:** 3\
**Last updated:** [May 26, 2026, 9:10am UTC](https://forum.wixstudio.com/t/velo-api-to-detect-grace-period/78307 "2026-05-26T09:10:28Z")

</div>

I want to detect when a pricing plan renewal goes into a “grace period” due to a payment failure and show information to…

---

## [Retrieving the active Pricing Plan name](https://forum.wixstudio.com/t/retrieving-the-active-pricing-plan-name/75097)

<div class="topic-metadata">

**Author:** [@mcwixoffice](https://forum.wixstudio.com/u/mcwixoffice)\
**Replies:** 1\
**Last updated:** [November 20, 2025, 11:42am UTC](https://forum.wixstudio.com/t/retrieving-the-active-pricing-plan-name/75097 "2025-11-20T11:42:34Z")

</div>

:red\_question\_mark: Question Body Hi everyone, I’m having difficulty retrieving the active Pricing Plan name for the cu…

---

## [Automatic filtering of webinars by Pricing Plans purchases](https://forum.wixstudio.com/t/automatic-filtering-of-webinars-by-pricing-plans-purchases/70356)

<div class="topic-metadata">

**Author:** [@Siuzana\_Rupsiene](https://forum.wixstudio.com/u/Siuzana_Rupsiene)\
**Replies:** 1\
**Last updated:** [April 19, 2025, 9:57am UTC](https://forum.wixstudio.com/t/automatic-filtering-of-webinars-by-pricing-plans-purchases/70356 "2025-04-19T09:57:37Z")

</div>

Hello, I’m using the Wix Pricing Plans module to sell webinars. I’ve created multiple webinar plans in Pricing Plans, a…

---

## [Hide/Show download button based on subscription?](https://forum.wixstudio.com/t/hide-show-download-button-based-on-subscription/70290)

<div class="topic-metadata">

**Author:** [@Timo\_Daube](https://forum.wixstudio.com/u/Timo_Daube)\
**Replies:** 7\
**Last updated:** [April 14, 2025, 6:34pm UTC](https://forum.wixstudio.com/t/hide-show-download-button-based-on-subscription/70290 "2025-04-14T18:34:05Z")

</div>

Hey everyone! I’m trying to control the visibility of download buttons based on whether a user has an active subscripti…

---

## [Automatically Populate Member Custom Fields from Active Subscriptions (Name, Start Date, End Date)](https://forum.wixstudio.com/t/automatically-populate-member-custom-fields-from-active-subscriptions-name-start-date-end-date/70243)

<div class="topic-metadata">

**Author:** [@user5470](https://forum.wixstudio.com/u/user5470)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 4:31pm UTC](https://forum.wixstudio.com/t/automatically-populate-member-custom-fields-from-active-subscriptions-name-start-date-end-date/70243 "2025-04-10T16:31:02Z")

</div>

Hi everyone, Question: Is it possible to automatically populate custom member fields with data from active subscriptio…

---

## [Retrieve Payment Method for Order in Wix Velo Backend](https://forum.wixstudio.com/t/retrieve-payment-method-for-order-in-wix-velo-backend/68937)

<div class="topic-metadata">

**Author:** [@user5087](https://forum.wixstudio.com/u/user5087)\
**Replies:** 1\
**Last updated:** [February 20, 2025, 10:59pm UTC](https://forum.wixstudio.com/t/retrieve-payment-method-for-order-in-wix-velo-backend/68937 "2025-02-20T22:59:17Z")

</div>

I’m trying to retrieve the selected payment method for an order in the Wix Velo backend. However, using await orders.get…

---

## [How to Update Collections on Subscription Renewal for Physical Products](https://forum.wixstudio.com/t/how-to-update-collections-on-subscription-renewal-for-physical-products/68578)

<div class="topic-metadata">

**Author:** [@ribbon](https://forum.wixstudio.com/u/ribbon)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 7:04pm UTC](https://forum.wixstudio.com/t/how-to-update-collections-on-subscription-renewal-for-physical-products/68578 "2025-02-12T19:04:06Z")

</div>

Hello, In my eCommerce store, I sell physical products (with Wix Stores) that can be purchased through 12-month subscri…

---

## [Modify collection item with Pricing Plans](https://forum.wixstudio.com/t/modify-collection-item-with-pricing-plans/65962)

<div class="topic-metadata">

**Author:** [@Gideon\_Skarzgard](https://forum.wixstudio.com/u/Gideon_Skarzgard)\
**Replies:** 0\
**Last updated:** [December 22, 2024, 1:08pm UTC](https://forum.wixstudio.com/t/modify-collection-item-with-pricing-plans/65962 "2024-12-22T13:08:10Z")

</div>

Question: Modify collection item based on change in Pricing Plans Product: Wix Editor Background: Paid members can …

---

## [Hide/show elements based on a user paid plans (three plans Prestige, premium and free plan)](https://forum.wixstudio.com/t/hide-show-elements-based-on-a-user-paid-plans-three-plans-prestige-premium-and-free-plan/64583)

<div class="topic-metadata">

**Author:** [@GolfPark\_VA](https://forum.wixstudio.com/u/GolfPark_VA)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 2:18am UTC](https://forum.wixstudio.com/t/hide-show-elements-based-on-a-user-paid-plans-three-plans-prestige-premium-and-free-plan/64583 "2024-11-13T02:18:37Z")

</div>

I have three membership plans and depending on the membership level with users logging in I want to hide some elements i…

---

## [wixPricingPlans\_onPlanPurchased(event) not firing after purchase](https://forum.wixstudio.com/t/wixpricingplans-onplanpurchased-event-not-firing-after-purchase/61712)

<div class="topic-metadata">

**Author:** [@SimonP](https://forum.wixstudio.com/u/SimonP)\
**Replies:** 4\
**Last updated:** [August 26, 2024, 8:47am UTC](https://forum.wixstudio.com/t/wixpricingplans-onplanpurchased-event-not-firing-after-purchase/61712 "2024-08-26T08:47:12Z")

</div>

There’s an error in the Velo API that needs to be fixed…no idea where else to post this but the reason I found it just now was that others on this forum have found it before. Wix should have a place to submit documentation errors more easily. PLEASE CAN SOMEONE CORRECT THE API…IT’S COST ME HOURS OF TIME TODAY TRYING TO FIGURE OUT AND I AM CLEARLY NOT THE FIRST PERSON TO DO SO. The API calls out wixPricingPlans\_onPlanPurchased(event) as the event that can be run in events.js after a plan is purchased. The correct event name is actually wixPaidPlans\_onPlanPurchased, though…which is not detailed anywhere in the documentation but the event variable structure is EXACTLY the same as below. Here’s the sample code from the API: import wixData from "wix-data"; export function wixPricingPlans\_onPlanPurchased(event) { // Insert a title reflecting the type of transaction, and // the event's order object (json) into // the collection's data field. if (event.order.price.amount === 0) { …

---

## [How can I pass the ID of a specific item from my database collection alongside the Wix Pricing Plans payment data?](https://forum.wixstudio.com/t/how-can-i-pass-the-id-of-a-specific-item-from-my-database-collection-alongside-the-wix-pricing-plans-payment-data/60583)

<div class="topic-metadata">

**Author:** [@Joel\_Landert](https://forum.wixstudio.com/u/Joel_Landert)\
**Replies:** 0\
**Last updated:** [July 7, 2024, 6:50pm UTC](https://forum.wixstudio.com/t/how-can-i-pass-the-id-of-a-specific-item-from-my-database-collection-alongside-the-wix-pricing-plans-payment-data/60583 "2024-07-07T18:50:13Z")

</div>

Question: "I’m using Wix Pricing Plans and need to pass an item ID from my collection to my backend onOrderPurchased function. What’s the best way to do this? I can make a temporary collection to save the userID with the itemID and then use the buyer ID to find the itemID but that is difficult the maintain and delete etc. Product: Wix Editor What are you trying to achieve: I want to pass data from front end session storage and use it in my OnOrderPurchased Function. What have you already tried: Already tried to use a collection connecting userID with the ItemID but difficult to maintain. Additional information:

---

## [Wix branded app pricing plans](https://forum.wixstudio.com/t/wix-branded-app-pricing-plans/56395)

<div class="topic-metadata">

**Author:** [@Courtney\_Italia](https://forum.wixstudio.com/u/Courtney_Italia)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 7:36pm UTC](https://forum.wixstudio.com/t/wix-branded-app-pricing-plans/56395 "2024-02-14T19:36:21Z")

</div>

Question: \[Has anyone launched a wix branded app that required a pricing plan? what did you do about Apple’s limitations? \] Product: \[Wix Branded App\] What are you trying to achieve: \[Explain the details of what you are trying to achieve. The more details you provide, the easier it is to understand what you need.\] What have you already tried: \[researched thoroughly if there is a code workaround or alternative app, contacted wix help center, contacted Apple Developer help looking for solutions.\] Additional information: \[My clients website offers in person golf lessons. The app will be used to purchase and book lessons. The desktop site also offers clients to purchase a pack of 10 lessons (this is the pricing plan function). The pack of 10 can be applied to book single session lessons. \]

---

## [How to use the cancelOrder() API reference?](https://forum.wixstudio.com/t/how-to-use-the-cancelorder-api-reference/55017)

<div class="topic-metadata">

**Author:** [@kreativthold](https://forum.wixstudio.com/u/kreativthold)\
**Replies:** 40\
**Last updated:** [February 5, 2024, 7:02pm UTC](https://forum.wixstudio.com/t/how-to-use-the-cancelorder-api-reference/55017 "2024-02-05T19:02:45Z")

</div>

Question: How do I implement the cancelOrder() API reference to my site? I’ve got Wix Pricing Plans, but my customers can’t cancel their subscription themselves… (I can’t + won’t use Members Area, I have custom Members, so I can’t use the My Subscriptions page) Product: Wix Editor + Developer Mode What are you trying to achieve: I’d like an onClick solution that calls cancelOrder for the currentUser, such that the signed-in member stops recurring payments by pressing a button. What have you already tried: I’ve tried implementing Members Area, but it’s not a fit for my site (and I can’t work with the CMS). I’ve tried using Zapier to update the corresponding Stripe customer, but I need Zapier Premium to do so (multiple steps). I’ve asked ChatGPT for help. I’ve asked customer support, but they can’t do code-support. Etc. The API reference looks like this: I’m simply a noob and don’t know how to make it work. I’m willing to donate for your time and help. Cheers.

---

## [Problem with applying Coupon on Wix Pricing Plans - please Help](https://forum.wixstudio.com/t/problem-with-applying-coupon-on-wix-pricing-plans-please-help/55664)

<div class="topic-metadata">

**Author:** [@valentin\_wackermedia](https://forum.wixstudio.com/u/valentin_wackermedia)\
**Replies:** 10\
**Last updated:** [January 24, 2024, 1:07pm UTC](https://forum.wixstudio.com/t/problem-with-applying-coupon-on-wix-pricing-plans-please-help/55664 "2024-01-24T13:07:57Z")

</div>

I have this code in a .jsw File: import { coupons } from 'wix-marketing-backend'; import { checkout } from 'wix-pricing…

---

## [One Pricing Plan per Member](https://forum.wixstudio.com/t/one-pricing-plan-per-member/55569)

<div class="topic-metadata">

**Author:** [@valentin\_wackermedia](https://forum.wixstudio.com/u/valentin_wackermedia)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 6:23pm UTC](https://forum.wixstudio.com/t/one-pricing-plan-per-member/55569 "2024-01-22T18:23:39Z")

</div>

For anyone wondering how to let your Members only have one Pricing Plan at a time: Here’s the code. import { orders } f…

---

## [Memberid property seems to be missing?](https://forum.wixstudio.com/t/memberid-property-seems-to-be-missing/54370)

<div class="topic-metadata">

**Author:** [@Shawn\_Sauve](https://forum.wixstudio.com/u/Shawn_Sauve)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 7:32pm UTC](https://forum.wixstudio.com/t/memberid-property-seems-to-be-missing/54370 "2023-12-06T19:32:11Z")

</div>

The memberid property seems to be missing. Where is it? using wixPaidPlans\_onPlanPurchased(event) and according to the documentation: onPlanPurchased - Velo API Reference - Wix.com event.order.memberid should be available, but doesn’t show up created a events.jsw in the back end of the editor. Product: Wix Editor, velo code What are you trying to achieve: When someone buys a plan: create a group assign the user who bought the plan as the admin/owner of that group import wixData from 'wix-data'; import wixPricingPlansBackend from 'wix-pricing-plans-backend'; import wixGroupsBackend from 'wix-groups-backend'; import { groups } from 'wix-groups-backend'; //import wixPricingPlansBackend from 'wix-pricing-plans-backend'; // when a content creator buys a creator plan, //1. create a group, // 2. assign the creator account as the admin for that group export function wixPaidPlans\_onPlanPurchased(event) { const orderId = event.data.order.\_id; const eventId = event.metadata.…

---

## [Is there API access to the current number of sessions available to a member who purchased a pricing plan linked to a service (with limited number of sessions)?](https://forum.wixstudio.com/t/is-there-api-access-to-the-current-number-of-sessions-available-to-a-member-who-purchased-a-pricing-plan-linked-to-a-service-with-limited-number-of-sessions/53623)

<div class="topic-metadata">

**Author:** [@steforte01](https://forum.wixstudio.com/u/steforte01)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 10:25am UTC](https://forum.wixstudio.com/t/is-there-api-access-to-the-current-number-of-sessions-available-to-a-member-who-purchased-a-pricing-plan-linked-to-a-service-with-limited-number-of-sessions/53623 "2023-11-07T10:25:32Z")

</div>

Question: A user can purchase pricing plans which offers limited number of sessions of a service. How can I access (from the code) this information ? Which API or database can give me this information ? Product: Wix Editor What are you trying to achieve: The site propose pricing plans linked to services, with limited number of sessions offered with the plan. I need to access this information from the code to log each change. and more generally monitor the evolution. What have you already tried: I looked through members, princing plans and services API. Thanks in advance for sharing your knowledge

---

## [I want to limit the upload of items to a database depending on the pricing plan I have active](https://forum.wixstudio.com/t/i-want-to-limit-the-upload-of-items-to-a-database-depending-on-the-pricing-plan-i-have-active/52462)

<div class="topic-metadata">

**Author:** [@RLlaverias](https://forum.wixstudio.com/u/RLlaverias)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 12:16am UTC](https://forum.wixstudio.com/t/i-want-to-limit-the-upload-of-items-to-a-database-depending-on-the-pricing-plan-i-have-active/52462 "2023-09-18T00:16:27Z")

</div>

I have a car Marketplace (www.4goma.com) wand I have a database to which vehicles are uploaded. I also have the Pricing Plans software with 3 Plans. Classic Plan: Upload up to 10 vehicles Advanced Plan: Upload up to 20…
