#javespi
1 messages ยท Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please share the Request ID req_xxx that's failing? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Yes
"request_log_url": "https://dashboard.stripe.com/logs/req_Vt4bTSw6hWWp0g?t=1691670040",
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It's a 404
๐ taking over for my colleague. Let me catch up.
I can share with you the 2 customers ids which I have the issues if that helps
yes please
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Both of them are similar - default currency EUR and I did the same:
- Created an invoice item
- Then deleted because I thought I made a mistake
- Create a new invoice item in CHF
- Click on Invoice now -> modal all the time loading
I'll try to use stripe CLI in order to see if it's something from my browser, but same issue
Modal like this:
If I inspect the Network tab in the browser we can see the same error of 404 of upcoming lines
I'm still investigating this, sorry for the delayed response
np, thank you for helping
that customer has a default currency of eur, but you created the invoice items in chf
when you call the upcoming endpoint without specifying the currency, we are looking for eur items and invoices, of which there are none; you need to pass that currency parameter to preview the chf payment
Okey, then why is not working from the Stripe Dashboard? I guess due to the same
How can I change the currency of those 2 customers then? I tried but field is disabled and in theory there is no subscription ongoing
I read this FAQ: https://support.stripe.com/questions/set-or-change-currency-for-an-invoice-or-customer-in-stripe-billing
You can change the customer's default currency if there are no active subscriptions, quotes or other Billing objects in the customer's current currency.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
They have a past due invoice in EUR, does it count as billing object?
in Stripe CLI is working with --currency=chf as you said
I assume the dashboard is not clever enough to make the call in anything but the default currency
I don't think you can change the currency of a customer, they just have a default. ah you can I suppose since we have that page you found. But nowadays you can invoice them in currencies other than their default(wasn't always possible), it just requires more explicit usage of parameters when calling other APIs
I would say so yes
Okey thanks
Could you please help me to create the invoice from Stripe CLI then?
How can I create an invoice from pending invoice items?
๐ stepping in here
I think I got it ๐
Great!
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thank you, then for these corner cases I will use Stripe CLI
๐
I ran
stripe invoices create --customer=cus_O4jON32X1skQdS --currency=chf --pending-invoice-items-behavior=include
Yep that looks good to me
It would be great to have this from Stripe Dashboard