Custom App not installing in live shopify stores but it is installing in test Shopify stores

Hello,

I have created a custom app and I am using this install link to install it in stores:

"https://{$store}/admin/oauth/authorize?client_id={$api_key}&scope={$scopes}&redirect_uri={$redirect_uri}&state={$nonce}"
It works fine in test stores, but when I try to install it on a live store, I get an error -

Here are the details I am using for the request:
{
“store”: “live-store.myshopify.com”,
“api_key”: “**",
“scopes”: “read_product_listings, read_products, read_inventory, read_orders, write_orders, read_fulfillments, write_fulfillments, read_assigned_fulfillment_orders”,
“nonce”: “650_67dd31a2205d5”,
“redirect_uri”: "

}

Can anyone help me? Do I need to add any special settings in app to install it on live stores, or is there an issue with my code? Any guidance would be appreciated!

Thanks in advance!

Hi @CM_CartDev

Thanks for contacting shopify community! If your custom app deploys without issues on test stores but not on live stores, check the following:

  • App Distribution Settings – Make sure the app is set to “Custom” in the Shopify Partner Dashboard under “App setup.” If it’s on “Private” mode, it won’t work for stores other than your development store.
  • API Access & Permissions – Double-check that your client_id, scopes, and redirect_uri are consistent with how it is configured in your Shopify app settings.
  • Shopify Partner Dashboard Approval – Installed applications on live stores need to be approved or specifically marked as installed via usage of the Partner Dashboard. Unlisted apps may be gated.
  • Error Details – Would you mind posting the actual error message that you receive? That would help determine the issue.

Hi Dotsquares,
Thanks for the reply.
I am getting the following error on my live Shopify store:
“The installation link for this app is invalid. The link for installing RiwayaApp cannot be used. Contact the app developer for more information.”

Shopify Partner Dashboard Approval – Could you please guide me? Here is a screenshot of my app list.

API Access & Permissions – I have checked the permissions, and everything is working fine for test stores.

Thanks,