Look what happens:
1. you are trying to switch to the stage
https://one-box.shine-bright.com.ua/admin/shop/workflowstatus/1229/action/new/ and fiscalize in [2025-01-22 21:14:25] - the request goes through with code 201, fiscalization is expected in up to 10 seconds (the receipt is checked that it is fiscalized)
2. after switching to the "Successful fiscalization" stage after repeated requests to check the end of the receipt fiscalization - you make a request to receive information about the receipt
https://one-box.shine-bright.com.ua/admin/shop/workflowstatus/1611/action/new/ - and you are given a 520 error by Checkbox - I understand that we are talking about some restrictions by CloudFlare
And actually because of the error in switching from the stage
https://one-box.shine-bright.com.ua/admin/shop/workflowstatus/1229/action/new/ to the stage
https://one-box.shine-bright.com.ua/admin/shop/workflowstatus/1611/action/new/ - you get an error - and switches to "Fiscalization error"
I see 2 solutions at the moment:
1. Contact Checkbox support and find out why you get error 520 in some cases - maybe they have certain limits on the number of requests per second or something else
2. In the action "Getting information about the check" enable the settings "Display the error text and continue the transition to the stage" - so that you do not roll back the switching due to an error and do not go into an error