#mattia_api

1 messages · Page 1 of 1 (latest)

radiant trellisBOT
#

👋 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.

hasty plume
#

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?

mild shell
#

hi there!

#

note that the code is for a PaymentIntent, so you'll first need to retrieve the PaymentIntent from the Invoice

hasty plume
#

Thank you!

mild shell
#

happy to help 🙂

hasty plume
#

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.

mild shell
#

the customer portal won't allow you to collect this king of information. so that something you'll need to build on your end

hasty plume
#

I see

mild shell
hasty plume
#

I’m not referring to VAT

mild shell
hasty plume
#

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.