Billing API Error on Test Shop

Solved

Billing API Error on Test Shop

Francesco8
Tourist
6 1 0

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.

Accepted Solution (1)
Francesco8
Tourist
6 1 0

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.

View solution in original post

Replies 5 (5)

Bunty
Shopify Partner
133 39 82

It seems like you might have created a custom (or private) app instead of a public app, could you verify that?

Francesco8
Tourist
6 1 0

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.

ganuwala
Shopify Partner
1 0 0

where i found the private app api access token for the shopify billing

OH_Solutions
Shopify Partner
2 0 1

Where can I find this API key?

ShopifyDevSup
Shopify Staff
1453 238 508

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