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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024