#napolean-solo_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/1398220990999302244
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- napolean-solo_api, 3 days ago, 37 messages
hi there!
Hi
How do I update currency of a customer during creation? I want the customer to have a certain currency.
you mean with the Stripe API?
Yes
you can't directly set the currency of the customer. instead it will be automatically set once you create an Invoice or Subscription for that customer.
- when creating invoice in India I get error saying customer name and address is required. How do I pass in these values? During checkout it doesn’t update the customer?
can you share a Request ID (req_xxx) witht that error?
But it’s choosing the wrong currency
But it’s choosing the wrong currency
can you share more details about this? like a concrete example?
Like when I create a user it’s automatically choosing usd as the currency even though I have set country as India
can you share a concrete example of this? like a specific request that failed?
Nothing failed it’s just by default it is choosing usd as currency
So I want it to change the currency to INR
To be clear, I want Indian customers to use INR currency
Nothing failed it’s just by default it is choosing usd as currency
how do you know that?
and can you share the Customer ID?
cus_SgQ4Q2d27KfKFo
that customer has a open invoice in USD, so the currency for that customer is USD as expected.
the fix is to void that invoice
No, the invoice is USD cause the customer currency is set to USD
By default it is creating the invoice as USD and that’s the issue
I want to update the customer’s currency to INR so that invoices are created in INR
yep: void all the existing open invoices, and then create a new invoice while setting the currency on the invoice itself
That’s the reason I reached out as I am unable to find a way to change or add the currency
But the invoice is created automatically
The user has a subscription created
So that sub is creating invoice in USD
Okay looks like I found the issue
yes that's expected, when you created the Subscription you set the price in USD.
you can see it here: https://dashboard.stripe.com/test/logs/req_CvGCIpgsh2yT2u
Yep
Got it
Yep so coming to the second issue
req_wSDORjW4YsYYes
This is the request ID
the invoice needs name and address and from where should I set it
on the Customer object itself
Is it not updated during checkout sessions?
Like I am asking customers to add a billing address but for some reason it’s not updating
So is it possible to update the customers address during checkout?
you can try to use this when creating the Checkout Session: https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-05-28.basil&lang=curl#create_checkout_session-customer_update
Alright