1b.app
Link copied -

Passing the price of the product to the checkbox

There is a process https://crm.mebelok.com/admin/customorder/protsessi-kassira/2135059/edit/
It has goods
Amount of goods 2,119.00
As the prepayment amount, we also transfer 2119, take it from the additional field https://crm.mebelok.com/admin/shop/workflowstatus/2323/action/new/
But in the check the amount is given another 1 kop less https://crm.mebelok.com/admin/document/447749/control/
What is the problem?
Original question is available on version: ru https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор

Answers:

On this process, can we switch again to check the request body that we pass to the Checkbox (without re-fiscalizing the check) ?
19.10.2021, 18:24
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
On this process, can we switch again to check the request body that we pass to the Checkbox (without re-fiscalizing the check) ?

yes you can
19.10.2021, 18:26
https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор Original comment available on version: ru

I encountered a similar problem on other servers, when float 58068 when encoded in json turned into 58067.999999999+
Added forced rounding to integer, should solve the problem - check
20.10.2021, 17:00
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
I encountered a similar problem on other servers, when float 58068 when encoded in json turned into 58067.999999999+
Added forced rounding to integer, should solve the problem - check

I checked that the check was sent, a penny still climbs https://crm.mebelok.com/admin/customorder/protsessi-kassira/2135059/edit/
https://crm.mebelok.com/admin/document/448848/control/
20.10.2021, 17:21
https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор Original comment available on version: ru

{"delivery":{"email":"v.korec@mebelok.ua"},"goods":[{"good":{"code":"1667255","name":"\u0411\u0435\ u0441\u043a\u0430\u0440\u043a\u0430\u0441\u043d\u044b\u0439 \u0434\u0438\u0432\u0430\u043d Atlantik Pro 1.6","barcode":"","price":150932}, "quantity":1000,"is_return":false},{"good":{"code":"1667256","name":"\u0422\u0443\u043c\u0431\u0430-\u043f\u043e\u043c\ u043e\u0449\u043d\u0438\u043a \u041f\u0440\u043e\u043c\u043e 29\/201","barcode":"","price":58068},"quantity":1000,"is_return":false },{"good":{"code":"1667257","name":"\u0417\u0430\u043d\u043e\u0441","barcode":"","price":900},"quantity" :1000,"is_return":false},{"good":{"code":"1667258","name":"\u0421\u0431\u043e\u0440\u043a\u0430","barcode":"", "price":2000},"quantity":1000,"is_return":false}],"payments":[{"type":"CASH","value":211900,"label":"\u041f\u0435 \u0440\u0435\u0434\u043f\u043b\u0430\u0442\u0430"}]}
I don't see any unrounded data in the query. We pass 58068 , which according to their documentation is multiplied by 100 * 580.68
Ask Checkbox why with such a request you have a penny less
20.10.2021, 17:26
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment