#halil-han-badem_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1235228840461078560
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You seem to be passing a whole customer object in customer field
https://dashboard.stripe.com/test/logs/req_7KAhRh2Kg4FtoA
it only expects an ID
does that clarify? @dry flume
Thank you @prime swallow ,
Under normal circumstances, if customer information is entered (if the user is logged in to the system), Stripe is searched through the user's e-mail address and if the user is found, it gets its id value, but I think there is a problem in my codes. I will figure this out. Thank you for the tip. I'm adding the demo code sample to my message. Please let me know if you see anything wrong.
I think its the else condition in your code where you're setting customerId = await stripe.customers.create(...)
stripe.customers.create(...) returns a customer object
ahh i got it now, thank you so much sir â¤ď¸