# Downgrade User Role

**URL:** https://community.gravityforms.com/t/downgrade-user-role/19447
**Category:** Get Help
**Tags:** user-registration, stripe, gform\_subscription\_canceled
**Created:** [June 2, 2025, 11:11pm UTC](https://community.gravityforms.com/t/downgrade-user-role/19447 "2025-06-02T23:11:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![frank6tg](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@frank6tg](https://community.gravityforms.com/u/frank6tg)
#### Post date: [June 2, 2025, 11:11pm UTC](https://community.gravityforms.com/t/downgrade-user-role/19447/1 "2025-06-02T23:11:17Z")

</div>

I see the code here: [gform\_subscription\_canceled - Gravity Forms Documentation](https://docs.gravityforms.com/gform_subscription_canceled/#h-2-downgrade-user-role)

BUT I don’t quite believe it will work. What I want is for the user role to be downgraded when a stripe subscription is cancelled via the stripe portal.

The wording for this snippet is confusing. It says “This example shows how you can downgrade the user role when a subscription is canceled via one of the credit card based payment add-ons.”

The payment addons don’t have a cancellation feature. The cancellation is via stripe and notify Gravity Forms via a webhook.

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/david/32/2517_2.png) [@david](https://community.gravityforms.com/u/david)
#### Post date: [June 4, 2025, 1:20pm UTC](https://community.gravityforms.com/t/downgrade-user-role/19447/2 "2025-06-04T13:20:38Z")

</div>

My understanding is that you’re concerned that the `gform_subscription_canceled` action wouldn’t trigger unless the subscription is manually canceled directly from within the admin; however, my understanding of the code is that this action is called even with the cancelation is triggered via webhooks.

TL;DR: I didn’t test this but you should be good to use that action. 😄

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)
#### Post date: [July 4, 2025, 1:21pm UTC](https://community.gravityforms.com/t/downgrade-user-role/19447/3 "2025-07-04T13:21:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
