# Wix Code + Paid Plans APP

**URL:** <https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [August 26, 2018, 10:04am UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564 "2018-08-26T10:04:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://forum.wixstudio.com/u/thomas)\
**Post date:** [August 26, 2018, 10:04am UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564/1 "2018-08-26T10:04:25Z")

</div>

Hi

I have a page accessible when people sign up to paid plans. However, on the page that people sign up for, I want to collapse / expand certain buttons to encourage people to sign up to a higher priced plan to then display different content on the page.

I was wondering if there is a query to test which paid plan the user has signed up for? and then offer an if function statement to display certain elements on screen?

E.g if current user is ‘gold member’ then expand box A, if current user is ‘platinum member’ expand box B etc.

Many thanks for any help!

Thomas

---

<div class="post-metadata">

**Author:** ![doron-alkalay](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/doron-alkalay/32/2887_2.png) [@doron-alkalay](https://forum.wixstudio.com/u/doron-alkalay)\
**Post date:** [August 27, 2018, 11:34am UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564/2 "2018-08-27T11:34:40Z")

</div>

Hi Thomas!

Unfortunately there is no integration between WixCode and Wix APPs yet.  
Therefor it is not possible to define by code what kind of user is the currentUser, and so you can’t manipulate the page according to its plan.  
I urge you to post a [feature request](https://www.wix.com/code/home/forum/community-feature-request) in order to help make it happen!

Doron.

---

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://forum.wixstudio.com/u/thomas)\
**Post date:** [August 27, 2018, 12:02pm UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564/3 "2018-08-27T12:02:00Z")

</div>

> **[Velo by Wix: Full-Stack Web Dev | Build Professional Web Apps](https://community.wix.com/velo/forum/community-feature-request/paid-plans-app-query-to-get-current-users-purchased-paid-plan)**
>
> Ask questions, get answers from the community and stay up-to-date with new features.

---

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://forum.wixstudio.com/u/thomas)\
**Post date:** [August 27, 2018, 12:04pm UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564/4 "2018-08-27T12:04:40Z")

</div>

Hi Doron

Thanks for the reply. I’ve put a request up there!

Here’s hoping!

Thanks

Thomas

---

<div class="post-metadata">

**Author:** ![infiniteauraspace](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/infiniteauraspace/32/17899_2.png) [@infiniteauraspace](https://forum.wixstudio.com/u/infiniteauraspace)\
**Post date:** [March 28, 2020, 7:42pm UTC](https://forum.wixstudio.com/t/wix-code-paid-plans-app/11564/5 "2020-03-28T19:42:36Z")

</div>

This is possible with the API  
[https://www.wix.com/corvid/reference/wix-paid-plans.html#getCurrentMemberOrders](https://www.wix.com/corvid/reference/wix-paid-plans.html#getCurrentMemberOrders)
