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

I have a problem: when I create a Plan for a subscription, and a customer choose on a Plan, he should create an account in Casdoor, then a product page with the payement button appear (Stripe in my case). If the customer click on that button, an error message appear: Failed to save: Only admin user can specify user.
I've turned off all the permission in Casdoor, but nothing change...
Any idea how to correct this? 🤔

Here is the screenshot

printscreen-pb-product-page.jpg

2views
3users
1 minread

Thank you, but I want to resolve this problem without coding (as it should be something in relationship with Permission).

Hello,
Unfortunately not. Nobody answered me about this. Just one guy that suggested that this issue require coding and "offered" his service for it (I think he asks money for this).

Actually, I decided to not use the payment system from Casdoor, as it is too primitive. I'm using Stripe payment and Stripe Billing, and once the payment is made, users receive an invitation code to create a Casdoor account.
And the subscription plans (changes, cancel, etc.) are managed directly into the Stripe Client portal.
It's working quite well like this for me.

Thanks a lot for info. One question please: what happen when subscription expires? Does Stripe automatically announce client or is something that needs to be managed by client app?

It's depend how you are using Stripe: if you set subscriptions into Stripe, in this case, Stripe will send to the user/customer some emails as a reminder before the end of the subscription, then once the subscription is finish, an email to say that subscription is canceled. But if you are using Stripe only for payment checkout and are setting subscriptions into an other app (like for example into Casdoor) in this case Stripe will not notify the customer. But anyway, better to use 3rd party app to manage the notification/emails to the customers, as Stripe itslef send only very basic non-editable email...

1 / 8
Nov 2024