#mxd

1 messages · Page 1 of 1 (latest)

whole tinselBOT
obtuse stratus
#

You would need to figure out how to add user auth in your app. Stripe doesn't have boilerplate code for it.

keen canopy
#

ok, once I have that part, what is the component to differentiate paid and unpaid users?

obtuse stratus
#

That would still be up to you. What are you recording in Stripe?

keen canopy
#

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..

obtuse stratus
#

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.

keen canopy
#

is there documentation for this that I can use?