After the payment fails, I am redirecting to the failure URL, but it does not render properly. The same happens with payment success. While the URL is correct, the page does not render properly upon the initial redirection. However, it renders correctly when refreshed