1b.app
Link copied -

Transferring payments via api

Periodically, the problem is caused by transferring payments via API.

https://zhiraf.crm-onebox.com/
The sum and the sum in the base currency vary.
Just go in and press "save". That's all okay, but it's not a turn of the situation)
Original question is available on version: ru

Answers:

Can you provide an example of a request in which this occurs (removing authorization data from it) ?
10.09.2021, 15:19
Original comment available on version: ru

/api/payment/add/?login=&password=¤cyname=%D0%B3%D1%80%D0%BD&valutadokumenta=%D0%B3%D1%80%D0%BD&nomerstroki=1&sum=114.75&valutaraschetov=%D0%B3 %D1%80%D0%BD&name=%D0%A2%D0%B5%D0%BB%D0%B5%D0%BF%D0%BD%D0%B5%D0%B2&cdate=2021-09-10%2013: 19:05&accountname=%D0%93%D1%80%D0%B8%D0%B2%D0%BD%D0%B5%D0%B2%D0%B0%D1%8F%20%D0%BE%D1%81 %D0%BD%D0%BE%D0%B2%D0%BD%D0%B0%D1%8F%20%E2%84%961&clientname=%D0%A2%D0%B5%D0%BB%D0%B5% D0%BF%D0%BD%D0%B5%D0%B2%20%D0%92%D0%B8%D0%BA%D1%82%D0%BE%D1%80&clientid=330&clientcode1c=000003845&accountid=2
10.09.2021, 15:22
Original comment available on version: ru

I don't see any problems with the API itself.
Perhaps this happens when you edit the payment somehow? Maybe after the distribution of payments for customer processes? Or are you submitting an update request?
13.09.2021, 15:34
Original comment available on version: ru

Distribution of payments automatically.
Alas, this payment, according to the sum, it is clear that it is not easy to pay.
Payments not updated
13.09.2021, 15:39
Original comment available on version: ru

Can't say for sure why this is happening...
I would like an example of a request, after which 100% this will happen ...
14.09.2021, 09:45
Original comment available on version: ru

More often than not, this is the problem :(
https://zhiraf.crm-onebox.com/admin/shop/users/820/payment/
19.10.2021, 15:07
Original comment available on version: ru


I would like an example of a request, after which 100% this will happen ...

Can you make a test request, in which the problem will repeat when adding a payment?
Perhaps when the request is executed, actions are performed in the process, and on the sending side, the script breaks by timeout without waiting for a response?
20.10.2021, 16:20
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