#deepakkumar_wizniche
1 messages · Page 1 of 1 (latest)
Hi there
Yep
Thanks
First though
So what would be the best way to track which customer subscribed what
Have you read through the docs for Pricing Table? Specifically this part: https://stripe.com/docs/payments/checkout/pricing-table#track-subscriptions
Yes i have
Okay so when you pass the client-reference-id property to the Pricing Table then that will be exposed in the Checkout Session. Then you use Webhooks to listen for checkout.session.completed and you can reconcile the data in the Checkout Session with that client-reference-id to be able to track your Customer
Let me know if you need further clarification on any of that
It would typically be an ID that you have in your own database that corresponds with the customer
So yeah, it would be a UUID that you create
But i am talking about putting this pricing table on my website which doesn't have access to my website
I mean access to the database
Well you have to have a way to track your customer's session in order to handle fulfillment. You can't really do this without a database.
Otherwise you are going to have to handle all of the reconciliation manually
So my website should be to connected to my product's database