Answers:
The prices of the products are transferred to the Checkbox API as they are, and the Total is already formed on their side.
If you need it to be rounded, you probably need to round the prices of the products too, so that everything converges when summed up.
This will not work - you pass the same 951, and the Total for the calculations for products on the side of the Checkbox API is 951.3
You need to transfer the same amounts, for example, aligning them according to the products of the process, respectively
03.03.2021, 12:46
Original comment available on version: ru
Here is a note about those for whom the check has not been made, so that the payment will be dispersed from the sum of the process by significantly less, lower 2.8%
If you enable the option "transfer discounts on products to the process"
https://prnt.sc/10c36cp, then the check will be created (so the penalty is covered)
In addition, if the option "transfer the price of the insurance reduction" is enabled, then it is normally rounded:
https://prntscr.com/10c32raIs there a different way of transmitting vartost?
03.03.2021, 13:55
Original comment available on version: ru
because you took the configuration logic by its name in your own way, and not as it works
this setting, if the payment has the specified error regarding the amount, it will take the amount
that is, if the amount was 951, and the payment was 950, then it would transfer 951
yes, in this case the discount is calculated and rounded according to the system settings
03.03.2021, 14:51
Original comment available on version: ru
Read again what I told you - it will give the total amount of the process 951, not 951.30
If you want to transfer the amounts as is - turn off the final rounding
03.03.2021, 15:12
Original comment available on version: ru
it tells you why - because Checkbox forbids creating checks when you have an amount of 951.30 for the amount of goods, and payments for 951
equalize the amounts in any way possible - round up the prices of goods, discounts, etc.
03.03.2021, 15:35
Original comment available on version: ru
do you have a rounding option in the product table?
like you yourself said that if you specify the discount transfer setting, the prices will be rounded according to the system settings
05.03.2021, 15:48
Original comment available on version: ru
There is no rounding in the table of process products, it is just a display, in fact it does not round there.
If we specify to pass with rounding, then when specifying a discount, the amount that we round in the final part and which the checkbox rounds for its products may not converge.
That is, the ideal option here is to round the products to the nearest integer and calculate the sum of the process from them. But now it's not possible.
08.03.2021, 13:31
Original comment available on version: ru
Well, then, as an option - to make the setting for rounding product amounts to integer values in the receipt creation action - this will take 2 hours. Or not just to integers, but according to the settings of the price rounding system in the admin panel.
08.03.2021, 15:27
Original comment available on version: ru
I understand that prices in the table will not be rounded. Will it be possible to make the products rounded so that they match the amount that will be in the final part?
08.03.2021, 16:17
Original comment available on version: ru
Well, I think I should.
I suggested to you above to finalize the setting - does it suit you? if not - offer your option, which you need specifically.
09.03.2021, 15:57
Original comment available on version: ru
EU
If we round up the price when unloading, we will get the same amount that we calculate in the final part, if so, then this is what we need.
It's just that if you round up the goods, and then sum up, then there will be one amount, and if you sum up, and then round up, then it may be different, since all the pennies will be summed up.
here is an example
process:
https://crm.dobavki.ua/admin/customorder/order/212554/edit/variance after the reduction and the amount of the process:
https://prnt.sc/10h6vcnin the receipt, the price was transferred to the rations:
https://prnt.sc/10h6vvaThe ideal option is to round up the discounted item price and then calculate the process amount. And remove the rounding of the final part altogether
09.03.2021, 16:44
Original comment available on version: ru
Let me remind you (probably already for the 5th time) - the amount is not transferred to the API - the positions are transferred separately and are already summed up on the API side
and if you dodge somehow, so that the price of the goods is already with a discount, the action is rounded and written into the goods, while the discount is reset to zero?
this is not so easy to do - after all, it is necessary to change the logic everywhere - tables, amounts, documents, VAT (horror)
I can't even appreciate it
10.03.2021, 16:26
Original comment available on version: ru
Andrey, and on the side of the checkbox there is no setting for the type of rounding? Well, like in stores in checks, when a trifle is not divisible (the coins were taken out of use), then they round up?
10.03.2021, 16:29
Original comment available on version: ru
There is a field in the process product fields
https://prnt.sc/10jlsiqdiscount sum
You need the ability to write a value from an additional field into it. That is, modify it here
https://prnt.sc/10jmg8qNext, we will set up a discount in percent through an additional field, and then we will calculate the amount and round it up to a whole number, after which we will copy the rounded number into the product field of the "Discount Amount" process and we will have the whole order amount.
How long will the revision take?
12.03.2021, 12:52
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