#jaswanth9034

1 messages · Page 1 of 1 (latest)

drifting topazBOT
winter plover
#

You choose the amount that gets paid

#

Note that this is not allowed in some jurisdictions and you're responsible for adhering to application regulations for your business

narrow root
#

can you give the API to update the amount payment intent or invoice where should update the amount

winter plover
#

You update the payment intent amount or set invoice items for whatever you want ot charge for

narrow root
#

not able to update the payment intent

#

Invalid invoice: This invoice is no longer editable

winter plover
#

If you're asking about an invoice, you'd need ot create an invoice item for that, or build it into your pricing for other items

drifting topazBOT
narrow root
#

I want to add the stripe fees at the time of payment based on the payment method selected to pay

knotty obsidian
#

Unfortunately it is not possible to change the fee on the fly based on payment method type for invoices. Invoices are locked in to a certain amount and a selection of payment method types when they are finalized.

narrow root
#

Which flow i should follow to pass the stripe fee to my customer

knotty obsidian
#

Good question, thinking about what might be best for you here. Are these one-off invoices or are you doing recurring payments?

narrow root
#

one-off invoice

#

to add it as invoice item, i dont know how my customer will be paying bank account or card, so i want to add fee at the time of payment only

knotty obsidian
#

Just talked to my colleagues, it sounds like wha often happens in this scenario is just charging an extra 5% on all invoices to cover the highest possible fee. I will describe in a bit more detail how it might be possible to pass a changing fee on based on payment method type but it is often found to be too much effort to be worth it

#

For invoices, you would need to ask your user what payment method they want to use upfront and then create an invoice that can only pay with that payment method and then add the fee for that payment method before you finalize the invoice

#

Invoices cannot change their price or available payment methods after they are created so you can't dynamically change your fee there

#

It might be possible to do a more reactive version of this if you work directly with PaymentIntents. Looking up docs for what you would need for that

narrow root
#

User may chosse ACH bank account payment method at the time of creation of invoice, but while paying he can do it through card as well

knotty obsidian
narrow root
#

Looks like this will help me

#

will check this workflow and comeback

#

thank you pompey