Hi, all! I am retrieving checkout session details using Stripe webhook, but when I try to retrieve total amount it sends me amount in millions while it should be in thousands. How do I fix it?
Divide by 100. Stripe works in cents, so 10 USD in stripe is equal to 1,000
1,000,000/100=10,000
It worked. Thanks a lot, dude!