Shiprocket FASTRR – Custom Success Page Redirect Not Working

Topic summary

Custom redirect after Shiprocket FASTRR (headless checkout) success is failing. Goal: send customers to /pages/order-success once the FASTRR success page loads.

Setup: an external JS file (order-success-redirect.js) is included via theme.liquid to run the redirect.

Observed behavior: the script does not execute, no console logs appear, no redirect occurs, while FASTRR’s success overlay renders normally.

Suspected cause: environment restrictions such as CSP (Content Security Policy limiting script execution) or the checkout running within an iframe (which can isolate page scripts and block redirects).

Request: a reliable way to trigger a redirect after the FASTRR success page loads, given these constraints.

Status: no solution or workaround provided; the issue remains open.

Notes: FASTRR is Shiprocket’s headless checkout; CSP and iframes can prevent external scripts from interacting with embedded checkout pages. No images or attachments are central.

Summarized with AI on December 11. AI used: gpt-5.

Hi,
I’m using Shiprocket FASTRR (Headless Checkout) and trying to redirect customers to my custom page:

/pages/order-success

I added a redirect script inside an external JS file (order-success-redirect.js) and loaded it in theme.liquid, but:

  • The script does not run

  • No console logs

  • No redirect happens

  • The success overlay shows normally

It seems Shopify or FASTRR may be blocking the script (CSP or iframe).
Does anyone know how to trigger a redirect after the FASTRR success page loads?

Any help would be appreciated!