#Charles_

1 messages · Page 1 of 1 (latest)

frosty cipherBOT
ornate python
#

Hi! Let me help you with this.

surreal pewter
#

My question assumes that my web app wouldn't store any client details, or require login since this would ideally be handled by your solution.

ornate python
#

Your app will need to handle login, unfortunately.

surreal pewter
#

With something like firebase?

ornate python
#

There's a lot of options. Firebase probably works.

undone ferry
#

Works via a session URL that we email to your customer

surreal pewter
#

That could work, what does the workflow look like for making changes to the subscription?

#

If I understand correctly, my app would have a generic "Manage Subscription" link that clients would use to login their stripe account and make any changes?

undone ferry
#

Sure, all this is outlined at the docs above

surreal pewter
#

@undone ferry on any changes of subscriptions my application needs to make some external API calls and send the customer in question an email with updated details. Is it possible to link such event to a callback function in my app using the solution you've linked?

undone ferry
#

Sure, you'd use webhooks. Related events (likely customer.subscription.updated) would fire from any changes made in the portal, and you can action them in your webhook handler

surreal pewter
#

Good to hear, what still not clear; If the portal is accessible from anywhere (simply by using a link) can you really guarantee that my callbacks will still get called upon subscription change event?

undone ferry
#

Not sure I understand what you're asking me

#

It's not accessible 'from anywhere'. Your customer(s) input their email address, if you have a Customer object in Stripe with that email address, we send them an email containing a short-lived session URL to access the portal

#

It expires after being clicked, or after a set amount of time (couple minutes I believe). Whichever happens first