Title: Variable subscriptions?
Last modified: February 1, 2025

---

# Variable subscriptions?

 *  Resolved [anphira](https://wordpress.org/support/users/anphira/)
 * (@anphira)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/variable-subscriptions-4/)
 * From the plugin description, it is not clear. Does this support only simple subscriptions,
   or does it also support variable subscriptions?
 * Additionally, are there hooks to check if a currently logged in user has a specific
   subscription? For example, in the Woo Subscriptions plugin this PHP check is 
   available to see if the currently logged in user has a specific subscription:
   wcs_user_has_subscription($current_user->ID, ’99’, ‘active’)
 * You can also query in the Woo Subscription about specific variations for variable
   subscriptions. Is that possible? If so, what is the PHP call?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/variable-subscriptions-4/#post-18284376)
 * Hey [@anphira](https://wordpress.org/support/users/anphira/) !
 * Great questions, and one of them sent me down a code rabbit-hole that I never
   emerged from yesterday. (SO, apologies for the slow turnaround on replying!)
 * First question: StellarPay subscriptions currently supports Simple products only.
   The roadmap for adding in additional features is still very much in flux based
   on user input and demand, so we’d welcome a detailed comment on [this feedback post](https://stellarpay.featureos.app/embed/home/p/variable-product-subscriptions).
 * Second question: There’s not currently helper function similar to `wcs_user_has_subscription`,
   but it’s definitely possible with some custom code. I’ve reached out to the development
   team on that, and will see what they can cook up for you.
 * This will make great [documentation](https://stellarwp.com/docs/stellarpay/) 
   content, so thanks for helping us to make this new product better!
 * I’ll mark this post as resolved, but please keep the questions coming!
 *  [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/variable-subscriptions-4/#post-18284405)
 * Well that was quick: our senior engineer got back to me with this code snippet
   that mimics that helper function:
 * [https://gist.github.com/ravinderk/65575722eb90362421067992cc64dcb2](https://gist.github.com/ravinderk/65575722eb90362421067992cc64dcb2)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Variable subscriptions?’ is closed to new replies.

 * ![](https://ps.w.org/stellarpay/assets/icon-256x256.jpg?rev=3207188)
 * [StellarPay - Stripe Payment Gateway for WooCommerce](https://wordpress.org/plugins/stellarpay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stellarpay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stellarpay/)
 * [Active Topics](https://wordpress.org/support/plugin/stellarpay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stellarpay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stellarpay/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/variable-subscriptions-4/#post-18284405)
 * Status: resolved