Discourse 订阅与 Thrive Cart

我想知道如何使用 Discourse Subscriptions Plugin 插件(或任何其他类似插件)来:

  • 在 Discourse 中创建一个仅限订阅的私有群组

  • 当用户通过 Thrive Cart 购买产品时,仅授予他们访问此私有群组的权限?

我假设我可以 从 Thrive Cart 发送 Webhook 到 Discourse 来创建一个新用户并授予他们访问仅限订阅的群组的权限?

值得注意的是,我正在使用 Wordpress SSO。我认为甚至可以探索 Discourse Automation 插件来实现这一点。

任何建议都将有所帮助。谢谢!

1 个赞

看起来 Thrive 使用 Stripe?

问题是它使用 Stripe Connect,所以你无法获得 Discourse 订阅插件仍然需要的 Stripe API 密钥。

这个 webhook 可能与 Stripe 的不匹配,因此与 Discourse 订阅插件不兼容。

Discourse 订阅插件目前可能不是最佳选择,因为它只设计用于直接与 Stripe 配合使用。除非你想自己构建一个简单的 Discourse 插件来接受 Thrive webhook,否则我建议使用 Zapier。它应该能够接收 Thrive webhook,然后向 Discourse 发出相应的 API 调用,将用户添加到你的私有组。

2 个赞