Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

How does casdoor subscription payment system support status update without using Stripe's webhook?

3views
2users
1 minread

@mariogk can you descirbe it more?

your app can call Casdoor's update-payment API to update Payment.State

if this is what you are asking

Usually we use webhooks from stripe to update the status if for example the user failed to make a payment we remove the role of the user to access the system

So we the developers have to notify casdoor via that api endpoint if the user failed to pay or canceled the subscription?

@hsluoyz would you accept an pr to add stripe webhook functionality to casdoor?

Ok I am thinking on creating a pr to add polar as the payment provider and use its webhook for automatic status update, after testing I will create a pr and send to you @hsluoyz for review, thanks

the new payment thing should be a standalone PR

you can just create the PR now

this thing is a second PR

Sorry i was focused on the webhook feature, will try to create the PR for it tomorrow, but it seems another dev asked copilot for it

1 / 14
Nov 2025