Good price gets converted to float. Rejected by the server.
-
Hello! I’m having a problem with the good price. In the interface and the database I see the price to be an integer, but when the checkout is complete it gets converted to float, causing the server to reject the client request. The logs look like this, where the original price was 549390,70:
{ ? ? ? "Name": "35330-60060", ? ? ? "SPIC": "08708001374000000", ? ? ? "PackageCode": "1530084", ? ? ? "GoodPrice": 54939069.99999999, ? ? ? "Price": 54939069.99999999, ? ? ? "Amount": 1000, ? ? ? "VAT": 5886300, ? ? ? "VATPercent": 12, ? ? ? "Discount": 0 }
Another interesting thing is that it only happens with one product, others worked well so far. Can you help me find the snippet of code that might have this feature so that I can later fix the issue? What do you think might causing this problem?
Thank you!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Good price gets converted to float. Rejected by the server.’ is closed to new replies.