#charlie

1 messages · Page 1 of 1 (latest)

muted masonBOT
sick cargo
muted masonBOT
signal shard
#

So if i update the payment intent amount the fees will not adjust to the new amount?

#

So what im doing is getting the fee from latest_charge.balance_transaction and then updating the paymentintent

feral rock
#

Hmm I'd be surprised if that works as the presence of the Balance Transaction object would indicate a successful payment, which at that point they're immutable

signal shard
#

i havent tested it yet. thats why im double checking 🙂

#

i get page not found on that link :/

feral rock
#

Ah yeah, it's in beta

signal shard
#

ah. So theres no quick win flag to add the fee to the amount in the intent

feral rock
#

Yeah there are other ways, like the link my colleague shared

#

But you'll need to calculate the fee amount and update the PI amount before you confirm the payment

signal shard
#

and updating the amount will not trigger the pi to recaculate the fee on the new amount?

feral rock