#_sidharth
1 messages · Page 1 of 1 (latest)
👋 happy to help
hey tarzan
basically we store the amount with the 2 decimal points as an integer
so we multiply it by 100
ya so how can this be solved? cuz in my code , im not giving a integer in the price field of Checkout instead the priceId
I think I should be clearer
if you're creating a price on the dashboard for $100, you will enter $100.00 and we store it as 10000
if you're creating a price using the API for $100, you will pass in unit_amount: 100000
so what you're seeing 200000 corresponds to the price you already have
ooh aight got it..thanks
let me know if you need any more help
thats all ..thanks!