# How do you allow a Stripe Subscription to change User Role?

**URL:** <https://forums.knack.com/t/how-do-you-allow-a-stripe-subscription-to-change-user-role/13669>\
**Category:** Get Answers\
**Created:** [January 20, 2023, 11:24am UTC](https://forums.knack.com/t/how-do-you-allow-a-stripe-subscription-to-change-user-role/13669 "2023-01-20T11:24:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duncan](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/duncan/32/2308_2.png) [@Duncan](https://forums.knack.com/u/Duncan)\
**Post date:** [January 20, 2023, 11:24am UTC](https://forums.knack.com/t/how-do-you-allow-a-stripe-subscription-to-change-user-role/13669/1 "2023-01-20T11:24:35Z")

</div>

Hello,

Just wondering if anyone has successfully managed to integrate a successful Stripe Payment/Subscription that can change the User Role in Knack.

For example, someone using a Knack App is set to a User Role of “User”, which allows restricted access. If that same User then purchases a subscription via Stripe successfully, I’m looking to automatically change the User Role from “User” to “Subscriber”.

Is this something that can be easily done within Knack itself, as I can’t seem to be able to find out how to do this in the documentation.

Kind regards,

Dunkie  
Data Breaches Digest

---

<div class="post-metadata">

**Author:** ![KnackPros](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/knackpros/32/807_2.png) [@KnackPros](https://forums.knack.com/u/KnackPros)\
**Post date:** [January 20, 2023, 7:50pm UTC](https://forums.knack.com/t/how-do-you-allow-a-stripe-subscription-to-change-user-role/13669/2 "2023-01-20T19:50:52Z")

</div>

At the time of this writing, Knack does not natively support Stripe subscriptions, but with custom code it is possible.

If you’re looking for the easiest no-code solution, you can do the following: Create a “Subscribe” form and a [Record Rule](https://learn.knack.com/article/hzq45ocu8u-forms-using-record-rules) that updates the user’s role when that form is submitted. Or, create an [Email Rule](https://learn.knack.com/article/9331dkk2ih-send-emails#add_an_email_rule) that notifies you when a user makes a payment on your site, then log into the Knack Builder and update the user’s role manually.

---

<div class="post-metadata">

**Author:** ![Duncan](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/duncan/32/2308_2.png) [@Duncan](https://forums.knack.com/u/Duncan)\
**Post date:** [February 18, 2023, 12:23am UTC](https://forums.knack.com/t/how-do-you-allow-a-stripe-subscription-to-change-user-role/13669/3 "2023-02-18T00:23:15Z")

</div>

Hello,

Thank you for your response, and apologies for not seeing your response sooner.

I’ve opted to do this manually going forward.

Kind regards,

Dunkie  
Data Breaches Digest
