I am working on the stripe subscription integration and running into a few issues…
I have a ‘paid’ toggle setup and everything seems to work fine except for when I unsubscribe. How do I tell the toggle to turn to off again? (paid=false)
Thanks!
I am working on the stripe subscription integration and running into a few issues…
I have a ‘paid’ toggle setup and everything seems to work fine except for when I unsubscribe. How do I tell the toggle to turn to off again? (paid=false)
Thanks!
this shouldn’t be just a true/ false property,
you have to make a many to many relationship between users and product, when user toggles it it adds the current product to users subscriptions, (if you do it this way, you’ll only need to click on what does this toggle do? and select (logged in user> subsciptions> contains current product)
Would a new database still be needed if it is only one ‘product’ (single option for monthly subscription to app)? I’m super confused because everything works perfect for signup, but currently someone could subscribe, cancel right away and keep access forever. Setting up for a monthly subscription that user can terminate in the app needs to turn off the ‘paid’ toggle in the database.
I can’t seem to find any tutorials or videos on how to get this done, which I find surprising.
Oh, so your problem is when a user cancels you can not control what they can see?
what is the exact set up?
what happens when they subscribe?
what happens when they cancel?
'After payment is successful" > Logged in User Record is updated / Paid=True.
From there everything works great UNTIL that user decides to unsubscribe - if they click unsubscribe they are able to stop payments but there is seemingly no EASY way to update the record to Paid=False
I found this article and have been looking at it for the past 3 hours - it seems to be the key to this, but I am having a hard time following along: Cancel subscription stripe with update true/false user
Now my head is spinning
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.