#Marques

1 messages · Page 1 of 1 (latest)

drifting reefBOT
blazing beacon
#

Hi there

#

Hmm so looks like you are trying to create a Checkout Session here, correct?

stray hill
#

I want to make sure that the clients goign into the checkout have a specific clientID

blazing beacon
#

This is just your own string that you would associate to your database

stray hill
#

I'm doing that because I want to make sure that if I request all subscriptions from Stripe API, I can distinguish which user from my DB is using each

(In case I couldn't add by webhook failures)

stray hill
#

for example here

blazing beacon
stray hill
#

how should I implement that inhere?

blazing beacon
#

Your Mode should be subscription if you are attempting to create Subscriptions.

#

That seems to be what you indicated you wanted to do correct?

blazing beacon
#

Then there is a separate SubscriptionData hash

stray hill
#

I either use subscriptions or subsctions.metadata

blazing beacon
#

Not sure I understand what you mean? The Mode is subscription. Then you add another parameter for SubscriptionData.metadata

stray hill
#

perfect !! thanks !!