#Bhumika17-Coupon

1 messages ยท Page 1 of 1 (latest)

steady schooner
#

Hi there, how can I help?

wet jolt
#

I create a coupon with the property AmountOff = 100.00
Then, when I make a couponService.Get from that coupon I get 10000

steady schooner
#

OK, so what's the problem here?

wet jolt
#

let me show you

#

please see this

#

as per above screen i want coupon amount as 100.00

#

but i got 10000 ๐Ÿ˜ฆ

steady schooner
#

I see. Well this is the expected. The amount unit here is cent, so 10000 cents = 100 dollars

wet jolt
#

so you told me , i need to translate cent to dollar
am i right?

steady schooner
#

So if you are sending the amount to Stripe API or SDK, then there is no need to convert the cents to dollars.

wet jolt
#

oh

#

i am creating coupon from dashboard.

#

so i need to convert cents to dollars

#

ok thank you so much

steady schooner
#

No problem, happy to help ๐Ÿ™‚