#cgy

1 messages · Page 1 of 1 (latest)

unique blazeBOT
pliant sand
#

amount should be good. Those fields will behaves a bit differently in different cases, ie before vs. after confirmation amount is unchanged, but amount_received will come from 0 to the amount value

blissful jolt
#

You mean amount when payment_success it will be the exact amount which I create the payementIntent, but it can still be 0 when payment_failed or payment_processing. Is that right ?

pliant sand
#

amount will unchanged and will be the one you set up

blissful jolt
#

Ok, so when I use Webhook, listen to payment_success, amount is the actual money I charge right ?

pliant sand
#

payment_intent.succeeded and yes

blissful jolt
#

Ok, thank you. I first check the docs and not sure amount_receive or amount.

#

And second question: is there a filed which tells about the time bank deduct money from the card.

#

created seems to be the one illustrate the time created on your system

#

but not the one bank deduct money right?

pliant sand
#

No, but generally at the time of confirmation, it is "registered" to the issuer bank. When they actually deduct it largely depends on their own system

#

confirmation time is the time you confirm the PaymentIntent

blissful jolt
#

But I didn't find this field "confirmTime"

#

I want to show this field in our email to customers. Just to avoid customers find different time betweent our email and the issur bank

pliant sand
#

No it's not a field, it's the time you received payment_intent.succeeded

blissful jolt
#

ok