App reviews, troubleshooting, and recommendations
We have just today started to see an issue when a user is asked to confirm their charges of a recurring app charge. It appears that the shopify app bridge is changing the url of the confirmation url.
I.e. we get a confirmation_url from the (https://shopify.dev/docs/api/admin-rest/2023-04/resources/recurringapplicationcharge) API.
We then redirect the user to that URL via the shopify app bridge, using the Shopify App Bridge Navigation - (https://shopify.dev/docs/apps/tools/app-bridge/actions/navigation/redirect-navigate) by calling useNavigate() with the confirmation_url
This has been working, but today we have seen the URL the user is redirected to being modified from the original confirmation_url. It is being changed from https://admin.shopify.com/store/storename/charges/... to https://admin.shopify.com/store/storename/store/storename/charges/... and the user is receiving a 404 page.
Hope someone can help?
We got the same issue today!
I have run into the same issue, too
Same here, please fix soon!
Me too, i'm loosing my cx because of it :((( , pls fix soon.
Same here, please fix soon!
You can use
top.location.href = res.confirmationUrl
until Shopify fixes the bug
Hi @DungNguyen1,
I can't find "top.location.href". Can you help me how to replace?
instead of navigate(url), use top.location.href = url
Are you Ken? :))
You can update the maximum amount that can be charged to a merchant for each purchase using the appSubscriptionLineItemUpdate mutation.
redirect.dispatch(Redirect.Action.REMOTE, {instead of
url: redirectUrl,
new context:false })
redirect.dispatch(Redirect.Action.ADMIN_PATH, {
path: redirectUrl })
top.location.href = res.confirmationUrl
This worked for me! Missed out on a few installs today because of it though 😞
Well, I thought it had, but now I'm having trouble with it preventing my app from loading when in production when it worked fine during dev.
Edit: I actually did end up getting it working, it was a separate error
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024