A place to discuss charging merchants for your apps and services using the billing API.
Hi all,
I'm trying to call my shops billing API to setup a test application charge.
But i'm getting the following error:
"It appears that this application is currently owned by a Shop. It must be migrated to the Shopify partners area before it can create charges with the API.".
I'm using a "developer/test shop" created on my "Shopify Partners profile". If it is this the problem, how can I test my App that isn't published?
Thanks in advance.
Solved! Go to the solution
This is an accepted solution.
Hi,
I solved the error, the issue was that I was using a "api key" of a privare app, instead the an "api key" generated when the shop installs the app.
Thanks,
Francesco.
It seems like you might have created a custom (or private) app instead of a public app, could you verify that?
This is an accepted solution.
Hi,
I solved the error, the issue was that I was using a "api key" of a privare app, instead the an "api key" generated when the shop installs the app.
Thanks,
Francesco.
where i found the private app api access token for the shopify billing
Where can I find this API key?
Hi @OH_Solutions,
The Billing API is only available for app's installed via the Shopify App store, either listed or unlisted app, and thus must be created via the Partner Dashboard. You can retrieve the API Key and credentials for Partner Apps from your Partner Dashboard as well. Here is a Shopify.dev article with more information and direct instructions on how to retrieve, revoke, and refresh your API credentials from the Partner Dashboard.
More info about the Billing API in general can be found here:
I hope this helps, and I hope you have a great day 🙂
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog