#praveendd25
1 messages · Page 1 of 1 (latest)
I'm not sure I understand the question. Can you expand?
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 ?
Well that's because the amount is always in the lowest decimal unit
So you'd need to pass 10000 to the API yes
yes how do we do it programmaticlayy
I guess you'd multiply your base amount by 100
and also when we retrieve the payment how do we convert back to 100
what if the amount is 604.75 ?
Then you'd divide by 100