Stripe Connect - Retrieve Checkout Session Details - Retrieving Wrong Paid Amount

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?

Screenshot 2024-09-27 at 9.11.25 PM

Screenshot 2024-09-27 at 9.12.27 PM

Screenshot 2024-09-27 at 9.14.19 PM

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!