Can we customize the /checkouts/ exclusions in the auto-generated AASA file?

Hi,

Our store (Shopify Plus) has Universal Links enabled for an iOS app, via a custom app in Shopify admin (Storefront API / Buy SDK settings: Apple App ID + “Use iOS universal links”). Shopify generates this AASA file:

"paths": [
  "NOT /admin/*",
  "NOT /*/amazon_payments/callback",
  "NOT /*/checkouts/*/express/callback",
  "NOT /checkouts/*/*",
  "NOT /checkouts/*/*/*",
  "NOT /checkouts/*/*/*/*",
  "/*"
]

We’d like to remove these three exclusions so checkout links can open in our app:

  • NOT /checkouts/*/*
  • NOT /checkouts/*/*/*
  • NOT /checkouts/*/*/*/*

Reason: After an offsite payment, the buyer is redirected to /checkouts/sessions/checkout-completion/redirect. We need this URL to open our app so the buyer returns there and sees the order result. Right now it matches NOT /checkouts/*/*/*, so it opens in Safari instead and the buyer doesn’t return to the app.

Questions:

  1. Is there any way to remove or customize these exclusions?
  2. If not, what’s the recommended way to return buyers to the app after an offsite payment?
  3. The Android assetlinks.json generated for the same store doesn’t exclude any paths, but the iOS AASA does. Why is there a difference between the two platforms?
  4. If these exclusions were removed, what impact could it have (e.g. on checkout, payment callbacks, or Shop Pay)?

Thanks!

Hey @vy_duong1 ,

Appreciate the details here but the short answer is no, there isn’t currently a supported way to customize the paths in Shopify’s generated AASA file, including on Shopify Plus. The Admin GraphQL API 2026-10 Apple inputs let you enable Universal Links, but they don’t expose paths, components, or exclusion rules.

Those checkout exclusions stop iOS from handing a browser-started checkout, Shop Pay, or payment-return URL to the installed merchant app. The app might not have the same browser session, so the buyer could miss the processing or confirmation page and potentially try the payment again. Changing the AASA routing doesn’t change the payment status itself, but removing the broad exclusions still isn’t a safe workaround.

For offsite payments that start in the app, the recommended setup is:

  1. Use Checkout Kit v4.
  2. Set up Universal Links and App Links using Handle offsite payments, then route incoming checkout URLs back to Checkout Kit and unknown URLs to the browser.
  3. Use Checkout Kit’s complete event, rather than dismiss, as the successful-order signal. See Monitor checkout lifecycle.

The /checkouts/sessions/checkout-completion/redirect conflict is a known platform issue. There isn’t a merchant-side setting to change it, and I don’t have a release timeline to share. The complete event only helps after Checkout Kit receives the flow; it doesn’t replace the Universal Link that brings the buyer back into the app.

The Android file looks different because assetlinks.json mainly verifies the app-domain association, while Android intent filters also control which URLs the app handles. On iOS, those routing decisions live directly in the AASA file, so the two files aren’t expected to have matching exclusions.

If this is still opening Safari, the store owner can contact Shopify Support so the exact flow can be checked. Helpful details include the store domain, Apple App ID, Checkout Kit version or custom-webview setup, payment method, iOS/iPadOS version, a UTC test timestamp, the full AASA details entry, including any component, and the return URL with token values removed but query-parameter names left intact. Please don’t post tokens or other sensitive values publicly.

There’s also an existing feature-request thread for merchant-configurable paths.