1b.app
Link copied -

Automatic payments and creation of TTN

Greetings. Automatic creation of TTN was configured, provided that the status of prom-payment was received from prom and payment was made at the outlet (various methods). At some point, automatic creation of TTN stopped working, the reasons are unknown, no changes were made to the settings.
Prom, a vivid example of 2 orders that arrived with a difference of 40 minutes:
https://crm.smartid.com.ua/52318/ - TTN was automatically created
https://crm.smartid.com.ua/52319/ - TTN was not automatically created
Socket - it is difficult now to find an example when a TTN was created, because it was a long time ago, but there are examples when the payment was not automatically made and, accordingly, the TTN was not automatically created
https://crm.smartid.com.ua/52282/ - the discount on the commission amount was added as expected, but the payment and creation of the TTN did not take place.
https://crm.smartid.com.ua/52281/ - similar.
Original question is available on version: ua Максим

Answers:

Good day. If you have somehow configured automatic transitions to the stage, you can try to see what errors there will be using the setting https://crm.smartid.com.ua/app/settings/workflow/ "updateorderstatus-workflow-add-comment". When selecting the necessary BP, if the transition to the stage ended with an error, an error will appear in a separate tab in the comments block.
Based on orders that were placed even a day ago, it is almost impossible to say why XX did not switch to RR status - one can only guess, and this is a thankless task.
28.04.2025, 13:40
Original comment available on version: ru


lace
OneBox production wrote:
Good afternoon. If you have somehow configured automatic transitions to a stage, you can try to see what errors there will be using the setting https://crm.smartid.com.ua/app/settings/workflow/ "updateorderstatus-workflow-add-comment". When selecting the necessary BPs, if the transition to a stage ended in an error, an error will appear in a separate comment block.
Based on orders that were even a day ago, it's almost impossible to say why XX didn't transition to RR status - one can only guess, and this is a thankless task.

If I understood you correctly, you selected the BPs in which the error should be displayed, then in the next order, if the TTN is not automatically created - in the order interface, in the comments, it will be indicated why the error occurred?
29.04.2025, 17:35
Максим Original comment available on version: ua

+- yes, that's how it should happen. Keep in mind that the setting will clear itself after 14 days, i.e. it won't be enabled forever
29.04.2025, 17:41
Original comment available on version: ru

Got it, thanks. I'll try to track it down. 14 days with a head. I'll see if there are any comments left in the orders in which the ttn was not automatically created. Then with the error text it will be clear to you where the problem is?
29.04.2025, 18:39
Максим Original comment available on version: ua


lace
OneBox production wrote:
+- yes, that's how it should happen. Keep in mind that the setting will clear itself after 14 days, i.e. it won't be enabled forever

Unfortunately, it didn't record any errors, here's a fresh order https://crm.smartid.com.ua/52370/. A little over an hour. In the delivery data block, the prom payment status field is empty. For some reason, the payment status from prom is not being removed, and apparently, because of this, the TTN is not created by automation. After all, it should be created automatically after receiving the payment status
29.04.2025, 18:53
Максим Original comment available on version: ua

Although here too https://crm.smartid.com.ua/52318/, where the TTN was created, the payment status field is for some reason empty, although previously it had the statuses paid and unpaid or some other, which meant that there was no payment yet. Accordingly, after a certain time, the status was re-checked, if it became paid, then the TTN was created anyway. Automation did not end with one check.
29.04.2025, 18:56
Максим Original comment available on version: ua

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