How can I resolve the payment gateway redirection issue on my live store?

Hi,

I have my payment gateway
and when we called the paymentSessionResolve mutation we gets a redirectUrl in response from Shopify as mentioned in the doc and there we need to redirect the user, which is nothing but a thank you page.

e.g. redirectUrl :
https://store-domain.myshopify.com/14376108/checkouts/c55510fa974f3ec73f9879d672880d9c/processing

Now I am facing an issue, in the live stores say https://abc.com
In the request params, I am getting the shop URL as abc.myshopify.com which is fine but also after the mutation I am getting this URL as https://abc.myshopify.com/chec….
which on redirection, redirects the user to the Shopify-based domain even if the store is live
as the redirect must be handled by Shopify for the live stores, which are not on the Shopify domain
so, does anyone have any idea how to deal with this issue
Any help would be appreciated!