#gunwantkumar_api

1 messages ¡ Page 1 of 1 (latest)

brisk crestBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1303241447256096798

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

desert orchid
frank vine
#

Okay, Let me check it

frank vine
#

I getting null value for the customer.

desert orchid
#

What's the event ID?

frank vine
#

Same for the charge getting null value for the customer.
Here is my charge id: ch_3QHg28GHf1WlTIAf1PrLIDLS

frank vine
desert orchid
#

That's because the checkout's mode is payment and customer_creation is if_required

#

If you want the checkout session to always create new customer, set customer_creation to always

frank vine
#

But in this case, Its create always new customer, right?

desert orchid
#

What case?

frank vine
#

With "customer_creation" parameter in the checkout session API.

desert orchid
#

Yes if you set customer_creation to always

frank vine
#

Is there any way if i have use same email address its used existing customer id.

#

Because its create always new customer with the same email so..

desert orchid
#

No, you should just specify customer ID when creating a checkout session.

frank vine
#

Thank you but in my case we mount the element first after that customer/user enter full details.