#mattia_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/1263465046067904595
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Let’s say I make an invoice of $100, Stripe takes a % out of the total amount. If I have to call the Stripe API, am I able somehow to receive the fees/percentage that Stripe took from that specific invoice?
hi there!
note that the code is for a PaymentIntent, so you'll first need to retrieve the PaymentIntent from the Invoice
Thank you!
happy to help 🙂
Is there any way to customize the customer portal? More specifically, I see that it’s not possible to require customers to fill out custom fields. For example, my country requires businesses to collect a specific customer tax id called fiscal code (which is not included within the stripe tax field) from customers. How do I do this within the customer portal?
I don’t seem to find a way to make certain fields (such as the name) mandatory as well. This way customers will have the ability to never specify those information that my country consider mandatory for taxation purposes.
the customer portal won't allow you to collect this king of information. so that something you'll need to build on your end
I see
for Tax ID, note that Checkout Session can collect it: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-tax_id_collection
It’s only VAT though, or am I wrong?
I’m not referring to VAT
it's more than just VAT: https://docs.stripe.com/tax/checkout/tax-ids
I see, it’s still only VAT for customers that live in Italy. This would mean I have to build something on my end to collect this information. Thank you though.