redirecting to the payment gateway will unload the blazer app. the blazor app should save any required state before the redirect. the reply url to the payment gateway should be a valid blazor page. when this page loads it should restore state.
if the gateway responds with a post, then the reply url should be an action on the host for the blazor app. after processing the post data, it should redirect to the blazor page.