Why is my application subscription status stuck on 'pending' after installation?

hi all ! I’m developing an application and ran into a problem with a subscription form. The problem is that after the user has installed the application, a subscription payment form appears, if the subscription is successful, recurring_application_charge.status will not change in the test and will return “pending”, the application will see the status and return the subscription window again, but it will no longer be displayed (screenshot) the same behavior if the user does not end the subscription but exits the application and then returns again, he will see the same page.

The flow of the application is as follows, the user is authorized during installation, the callback is called, the callback looks at the status and returns if the user has subscribed - the front page, if not, then again the subscription window.

I suspect that this may be a frame problem, but at this point the user is not yet on the front part and doesn’t called.

Please let me know if anyone has come across!

Thanks in advance.

here is what the console outputs

Refused to display 'https://test-holi-store6.myshopify.com/' in a frame because it set 'X-Frame-Options' to 'deny'.