FROM CACHE - es_header
Esta comunidad ahora recibe asistencia de una red de pares. El equipo de atención al cliente de Shopify ya no ofrece servicio a esta comunidad. Te animamos a conectar con otros emprendedores y partners para pedir ayuda y compartir tus experiencias. Sigue avisando de asuntos que incumplan nuestro Código de Conducta o contenidos que se deberían eliminar.

Problem with redirection after finish onboarding actions

Problem with redirection after finish onboarding actions

Emiliano_Mobbex
Shopify Partner
1 0 0

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!

 

0 RESPUESTAS 0