#justinkuntz - subscription locations
1 messages · Page 1 of 1 (latest)
Hello, can you tell me a bit more about what a subscription's "location" means here? Like a different customer billing address or something?
Same customer with multiple physical locations that will be serviced. So each location will have a recurring payment schedule. Make sense?
I think so. Stripe subscriptions don't really have a concept of a location like that so it would mostly be up to you on how to track that. If you want the data on the Stripe subscription, you may want to store it as metadata on the related subscription objects. Or you could keep records on your server of what subscription ID maps to what location(s)
Okay, I was eyeing the metadata and figured I might have to go that route. If I stick with the Stripe customer portal for them to manage and update their subscriptions, will the metadata display so they can distinguish between subscriptions?
Unfortunately not. I forget if there is a good way to have the customer portal display that kind of information. Checking in to it and will get back to you
Thanks!
It may work if you set the location as the subscription's description. https://stripe.com/docs/api/subscriptions/object#subscription_object-description
Testing this myself now
Apologies, dropped off of that. The description does show up in the customer portal under the name of the products on the subscription