# Discourse Subscriptions - user not removed from group when subscription cancelled

**URL:** <https://meta.discourse.org/t/discourse-subscriptions-user-not-removed-from-group-when-subscription-cancelled/246478>\
**Category:** Product Support\
**Tags:** subscriptions\
**Created:** [November 22, 2022, 10:01pm UTC](https://meta.discourse.org/t/discourse-subscriptions-user-not-removed-from-group-when-subscription-cancelled/246478 "2022-11-22T22:01:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [November 22, 2022, 10:34pm UTC](https://meta.discourse.org/t/discourse-subscriptions-user-not-removed-from-group-when-subscription-cancelled/246478/3 "2022-11-22T22:34:48Z")

</div>

I looked at the logs on Stripe for the webhooks and they were all `422 ERR` (“No signatures found matching the expected signature for payload”).

I hadn’t entered the `discourse subscriptions webhook secret` on Discourse!

There are two codes on Stripe’s `/test/webhooks/` page. I first tried the one on the top right (beginning `we_`) but it still got a 422 error. Then I tried the one called “Signing secret” (beginning `whsec_`, presumably for webhook secret – seems obvious now) and it worked!

Thanks for the help. I’ve moved this to #Support.

---

_[View the full topic](https://meta.discourse.org/t/discourse-subscriptions-user-not-removed-from-group-when-subscription-cancelled/246478)._
