Thanks for the clues! I found the problem – It was a conflict between another payment gateway, which was active as a plugin, but does not use in checkout. For the second site in multisite, this gateway is active in checkout and works well, so I just turn the plugin off on the first site. After that order statuses start changing after successful payment. Thanks a lot!