#praveendd25

1 messages · Page 1 of 1 (latest)

lone craneBOT
sudden river
#

I'm not sure I understand the question. Can you expand?

sacred panther
#

how to say to stripe that charge 100 rs

#

we need to send as 10000

#

right ?

#

for checkout session if i pass 100 it will charge only 10

#

but how to charge actual 100

#

@sudden river ?

sudden river
#

Well that's because the amount is always in the lowest decimal unit

#

So you'd need to pass 10000 to the API yes

sacred panther
#

yes how do we do it programmaticlayy

sudden river
sacred panther
#

and also when we retrieve the payment how do we convert back to 100

#

what if the amount is 604.75 ?

sudden river
#

Then you'd divide by 100