#maxim-k_api

1 messages ¡ Page 1 of 1 (latest)

copper knollBOT
#

👋 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/1306329291818274937

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

bitter brook
#

Hello

elder hearth
#

Hello

bitter brook
elder hearth
#

We can't control it

#

We are using invoice page with payment element rendered by stripe

bitter brook
#

You mean the Hosted Invoice Page?

elder hearth
#

Yep

bitter brook
#

Then yeah, you can't change the amount here.

elder hearth
#

Got it

#

Question

bitter brook
#

The only thing you can do is charge the PaymentMethod again afterward if you want to in order to assess a transaction fee.

elder hearth
#

Got it

bitter brook
#

But that would be a separate authorization

elder hearth
#

Question

#

I guess we can render our own invoice with our payment element?

#

Can we replace invoice url with our own invoice line to be mailed to customer?

#

*invoice link"

bitter brook
#

No that's not possible.

elder hearth
#

So, stripe can send invoice without payment element?

bitter brook
#

Let's pause. What are you trying to do here?

elder hearth
#

And we send our own link with rendered payment element?

#

I'm trying to understand on how let stripe automatically take transaction fee

bitter brook
#

Why not just have that baked into the Invoice amount?

elder hearth
#

based on amount and payment method

bitter brook
#

Overall, I really recommend you don't do this.

elder hearth
#

As additional invoice line item?

bitter brook
#

And instead just use a set fee amount for all payment methods.

#

Yes, you could use an additional line item if you want

elder hearth
#

Ok!

#

I got it

#

Thank you