Hi, I’m encountering an issue with our payment app developed in Remix, after completing the onboarding actions within the app’s configuration, we are required to redirect to the following URL:
https://${shop}.myshopify.com/services/payments_partners/gateways/${api_key}/settings
However, when using Remix’s built-in redirection, this causes an Axios error.
return redirect(
`https://${shop}.myshopify.com/services/payments_partners/gateways/${api_key}/settings`,
{ target: '_top' }
);
Are we doing something wrong? How can we properly implement this redirection?
The same url works fine when i do a GET request in the browser, but can’t redirect from remix.
Any guidance would be greatly appreciated!