question

davidyon avatar image
davidyon asked davidyon commented

Hosted Checkout Shows Incorrect Price

So I'm doing an integration with Hosted Checkout, and sending it a very simple shoppingCart, which has a single line item called "Invoice 80", unitQty of 1, and a price of 4100. When the page is rendered, Clover has changed the price to be 41.00.

ecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered davidyon commented

That is expected, prices are represented as cents (lowest currency denomination). Obviously, we don't display cents to the end user which is why the page shows $41.00.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

davidyon avatar image davidyon commented ·
Got it. Multiplying by 100 worked fine, thanks.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community