#mxd
1 messages · Page 1 of 1 (latest)
You would need to figure out how to add user auth in your app. Stripe doesn't have boilerplate code for it.
ok, once I have that part, what is the component to differentiate paid and unpaid users?
That would still be up to you. What are you recording in Stripe?
basically, need a subscription for users that want to upload images so they'll pay monthly to be able to upload, and a checkout for users that only need to upload once and be done
im using the flask-user library for the login/auth, and i have the basic features developed, now Im trying to add in stripe, and its a bit difficult..
So in that case I think you would store the Stripe Customer ID in your User model. That would indicate if you have created them as a Customer in Stripe or not.
I would also store data indicating their subscriptions and paid state locally and then just update that local data based on webhook events sent by Stripe.
is there documentation for this that I can use?