# Allow option to open Stripe payment website

**URL:** https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174
**Category:** Support
**Tags:** subscriptions
**Created:** [October 5, 2023, 5:28pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174 "2023-10-05T17:28:16Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [October 5, 2023, 5:28pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/1 "2023-10-05T17:28:16Z")

</div>

Is it possible to allow users to pay by going to the Stripe website? A lot of users on my Forum would prefer that to be more safer, the UI is also a lot cleaner. This way I can also enable more Stripe options eg. Paypal.

---

<div class="post-metadata">

### Author: ![anon65426961](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon65426961](https://meta.discourse.org/u/anon65426961)
#### Post date: [October 5, 2023, 5:32pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/2 "2023-10-05T17:32:47Z")

</div>

Yes, that can be done by simply posting a link for payment by stripe in a forum post.

There may be another way to integrate Stripe with Discourse directly.

---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [October 5, 2023, 5:33pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/3 "2023-10-05T17:33:33Z")

</div>

That could work, but I want to auto assign a group once the payment is successful.

---

<div class="post-metadata">

### Author: ![anon65426961](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon65426961](https://meta.discourse.org/u/anon65426961)
#### Post date: [October 5, 2023, 5:35pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/4 "2023-10-05T17:35:13Z")

</div>

I’m not sure if that could be automated or you could just do that manually.

That may be a feature request I tried a search for that looks like there has been some talk about that already or similar questions.

Found this one, don’t know if there is anything helpful here:

> [@Stripe Payment Gateway feature request](https://meta.discourse.org/t/stripe-payment-gateway-feature-request/262231/18):
>
> This is underway and should be wrapped up next week. Address fields will be passed to Stripe and captured for the Stripe customer.

---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [October 5, 2023, 5:37pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/5 "2023-10-05T17:37:14Z")

</div>

It can be automated with the current subscriptions plugin (it listens to webhook), but I’m wondering how to link it to the Stripe payment link.

---

<div class="post-metadata">

### Author: ![anon65426961](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon65426961](https://meta.discourse.org/u/anon65426961)
#### Post date: [October 5, 2023, 5:41pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/6 "2023-10-05T17:41:15Z")

</div>

There may be answers here:

> [@Discourse Subscriptions - user not removed from group when subscription cancelled](https://meta.discourse.org/t/discourse-subscriptions-user-not-removed-from-group-when-subscription-cancelled/246478):
>
> Continuing the discussion from [Discourse Subscriptions](https://meta.discourse.org/t/discourse-subscriptions/140818): Possible bug: A user is added to the Discourse group when a subscription starts, but the user is not removed when the subscription is cancelled. I’ve cancelled via Discourse (logged in as the user) and cancelled via Stripe’s website, but in neither case was the test user removed from the group. Perhaps it is relevant that I am still in Stripe test mode. I’m putting this in the “bug” category but if I’m missing something then feel free t…

> [@Discourse Subscriptions Plugin](https://meta.discourse.org/t/discourse-subscriptions/140818/1):
>
> discourse2Summary The Discourse Subscriptions plugin allows site owners to sell recurring and one-time purchase subscriptions that grant access to a group on a Discourse instance.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. The Discourse Subscriptions plugin allows you to create one-time as well as recurring subscriptions that users can pay for in order to access gated content. This can be a great w…

---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [October 5, 2023, 5:41pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/7 "2023-10-05T17:41:56Z")

</div>

I found a plugin that may be useful for my case: [Stripe Donations Plugin](https://meta.discourse.org/t/stripe-donations-plugin/59036)

It is unmaintained though I will try it out and update you.  
EDIT: It seems to have a custom payment page just like the others, will continue to look

---

<div class="post-metadata">

### Author: ![anon65426961](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon65426961](https://meta.discourse.org/u/anon65426961)
#### Post date: [October 5, 2023, 6:01pm UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/8 "2023-10-05T18:01:36Z")

</div>

Here is other topic with similar question:

> [@User monetization with group access?](https://meta.discourse.org/t/user-monetization-with-group-access/135686):
>
> Is it possible for users to charge a fee to permit other users access to their groups, and related group materials? I know it is not an off-the-shelf feature, but is it possible?

> [@User monetization with group access?](https://meta.discourse.org/t/user-monetization-with-group-access/135686/2):
>
> Paid group membership (in turn granting access to specific categories) is an existing feature. Take a look in #plugins Examples include [Patreon](https://meta.discourse.org/t/discourse-patreon-integration/44366), [Procourse Memberships](https://meta.discourse.org/t/procourse-memberships/57558/) and [Subscriptia](https://meta.discourse.org/t/subscriptia-simple-paid-memberships/99275). If you have an existing website which handles such memberships you can also deliver group membership information via your SSO payload. Users can’t charge others fees directly on a site they don’t own, would it make sense for them to even be able to?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [October 6, 2023, 6:13am UTC](https://meta.discourse.org/t/allow-option-to-open-stripe-payment-website/281174/10 "2023-10-06T06:13:34Z")

</div>

This would likely be the best answer, but is unfinished. You might like to contribute to the project:

> [@Allow subscription of predetermined length](https://meta.discourse.org/t/allow-subscription-of-predetermined-length/246395/17):
>
> @Alex_王@Jonathan5 @nathank if you want you can try out the updated code you can check out the branch from this PR: you will have to run the stripe cli locally to relay the webhook messages. This is the command to use: stripe listen --forward-to http://localhost:4200/subscriptions/hooks --api-key yourapikey you also need to add the stripe webhook secret to the discourse instance (as the plugin setting “webhook secret”). You can find it in the code sample on the right in the webhook creatio…
