#darkon7446

1 messages · Page 1 of 1 (latest)

carmine folioBOT
fleet vine
#

Yep, the current behaviour for the pricing table is to create a new Customer object for each session

celest depot
#

Understood, so in this moment there is no solution to integrate subscription on third party software?

#

should i use direct api to manage that?

fleet vine
#

Manage what exactly?

celest depot
#

For example if i enable trial period on a subscription product how i can know that a specific customer has used it?

carmine folioBOT
clever fiber
#

for example you can use https://stripe.com/docs/api/subscriptions/list to find Subscriptions for a given Customer cus_xxx and also filter to status:trialing, or you can add metadata to a Customer object when they start a trial and check for that

#

right now all this management has to happen in your own system — you would authenticate users of your site, map them to Stripe Customer objects you've saved previously if they have one, and based on your own logic either directly create CheckoutSessions for them for a certain subscription, or don't allow create one, or so on.

Over time we'll be adding more features to make this easier like the video describes