#rodolfo_65610
1 messages · Page 1 of 1 (latest)
Sure, here it is https://buy.stripe.com/test_3cs6pu8of2tG7f27ss
ah you're looking for custom fields on the invoice
I'm 99% sure the value is on the checkout session object instead
Can you share the invoice ID you've redacted in the screenshot above?
sure, here in_1OKncoCD07wGaZHUavuddLcS
okay yeah, if you look at the checkout session completed event here,
https://dashboard.stripe.com/test/events/evt_1OKncvCD07wGaZHUQPJbnBN4
you can see the custom fields array there
ah thanks, by the way , is there a way to make these values appear in the 'invoice.paid' events or they will always be only in checkout events?
Info collected via custom fields during the Checkout will only appear on the Checkout Session object.
I'm still wondering why the collect tax ID toggle isn't doing anything here
Ah maybe since I'm testing from the US
Umm no, nvm.
oh okay, but if you find out why the collect tax ID toggle isn't working please let me know, it will help a lot. In case this helps: my location is Brazil and the ids that i'm looking for are "br_cpf" or "br_cnpj" in the invoces events. Thanks bro
NP! Have asked a colleague to look too as it should work
👋 stepping in
You should see the option to add a tax ID provided the billing address is from a supported country
But yeah Brazil isn't supported: https://stripe.com/docs/tax/checkout/tax-ids
So you won't be able to collect for Brazil currently.
I can file a feature request internally that notes interest in getting Brazil added as supported Tax ID types
Oh, that's unfortunate. But if you can file that feature it will be very appreciated. Thanks for the help guys!