#mangoiv

1 messages · Page 1 of 1 (latest)

cunning heartBOT
atomic tree
#

Can you share the request ID?

bronze jay
#

req_bmGwLPfbxcet5s

atomic tree
#

thanks, looking

#

and where exactly are you looking for the customer ID?

bronze jay
#

in the customer field

atomic tree
#

In the API response when you create the checkout session?

bronze jay
#

afaict when not expanded it should contain a stirng

atomic tree
#

Customer won't exist at that point though, the session needs to be completed in order for the customer to be created

#

Checkout will collect the billing information and create the customer when you complete the checkout session

bronze jay
atomic tree
#

Yes

bronze jay
#

thank you, that solves it then.

atomic tree
#

Or if you manually retrieve the checkout session once it's been completed

#

NP! 🙂 Happy to help

bronze jay
#

can you refer me to the place of when is what available?

#

I find it very confusing that object schemata are reused over the course of time

#

it would be much more intuitive if the response to a checkout session request wouldn't hvae a field for customer

atomic tree
#

We don't have a comprehensive list somewhere unfortunately.

it would be much more intuitive if the response to a checkout session request wouldn't hvae a field for customer
The reason it has the field is because the API responds with the Checkout Session object at that point in time but def understand your concern. You'd likely want to play around with the API in test mode and see what's expected.

bronze jay
#

right, just take this as a feedback if that's possible ;D