403 Forbidden issue with ShopifyAPI::RecurringApplicationCharge api - shopify

Currently, we are using Custom App for Shopify application development. We are facing 403 Forbidden issue (ActiveResource::ForbiddenAccess (Failed. Response code = 403. Response message = Forbidden)) when we are trying to hit ShopifyAPI::RecurringApplicationCharge.current api. So, anyone could you please let us know what we need to do here to resolve this.

You can't do that with Custom App. Reference: here
Custom app: An app custom built for a single client.
Capabilities of a custom app:
- Limited to installation on one merchant store
- Not reviewed by Shopify
- Can’t be converted into a sales channel
- Can’t use the Billing API to charge merchants
So if you want to use Billing API change your app to public app.

Related

Tiktok authentication for using api

Can anybody tell me that is it necessary that tiktok webapp should be approved for getting access token cuz my app is under reviewed and when I go to authentication page for callback authorization after login it is showing error
I followed all the instructions that were given in there documentation but i am stucked at the call back authorization
The status of your app should be Live in production. They usually give you feedback if there are any issues and in case it's declined. You have to make fixes accordingly to get the API functionality to work.
The reviewal process shouldn't take longer than 3 working days.

Shopify Public App - How To Get Key, Token & Url

I am totally new to Shopify Public App development and I will need your help to understand it a bit better.
For a client, I need to build a Shopify Public App that will be used by several Merchants.
This application will have to access the Merchants' store via the Admin API.
If my understanding is correct, in order to access one specific Merchant's store via the Admin API, I need to have 3 pieces of information from that Merchant's store: the Public API Key, Token and URL.
Now, my question:
When the Shopify Public App is installed by a Merchant, how does my app get these 3 pieces of information (specific to that particular merchant) ?
Is there any "magic" trick? Does the Merchant need to input this info? ...
In advance, many thanks for your help
Each merchant will need to install your app. In the installation phase shopify will pass, as an argument, the access token, that is a token that you will need, to use the Admin API.
If we're talking about an embedded app is expected that every request made is authenticated.
Depending on which kind of app you want to create (embedded or not) and language you may want to use, using the Shopify Cli to create the first draft of the app is really reccommended. It will create the base to have an installable app. Here is the documentation https://shopify.dev/apps/getting-started/create
You need to install the Shopify Cli and then run
shopify app create (node | ruby | php)
depending on your language of choice.
For those who might be interested, I finally found the link to the information.
Shopify - Getting started with OAuth

How to display data in Shopify Store from external API using app proxy

My goal is to display data retrieved from a 3rd party (external) API that requires authentication in my Liquid Shopify theme.
I'm looking to access product options data from the Hulk Product Options API, which requires authentication, as documented here: https://productoption.hulkapps.com/api-docs/index.html
My goal would be to send a get request and retrieve data from the Hulk Product Options endpoint.
I've read that an App Proxy is what I need to set up, however I am new to the Shopify app world and am totally lost at how to set this up.
What I've done:
Followed the steps here to create an app and install it on a development store that I created through my partners dashboard.
Went to the partners dashboard, clicked "Apps" and found the app proxy section.
Questions:
What do I put in those fields? I can't find examples for filling out that section with info from an external API.
What code in which file do I need to add to the node app that was generated using shopify node create. Or is this app just necessary to be able to fill out the app proxy info?
What url can I send a GET request to using AJAX / JS in my liquid theme code?
I'm a theme developer new to app development and have never created an app, so if you can provide basic and specific instructions (code would be wonderful!) for someone who knows front-end and is competent but is lost in the app world it's much appreciated. I've asked other theme developers who also have also tried and not been able to figure this out, so there seems to be a gap in the tutorials and resources provided.
Thanks in advance!

Access Shopify API from an External App

I am trying to access the Shopify API from an external app that I am building (mobile). For example, I would like to access this API:
https://mystore.myshopify.com/admin/products.json
Of course I would need to authenticate my request first. So far everybody I asked (including Shopify support), suggested that the only way to access the data is through a Shopify App.
Can you suggest a way to do this?
I have found the answer. Follow these steps if you want to access the Shopify API from an external app:
Login to your store as an admin
Go to Apps
Create a Private App
Use the following pattern with every URL you create (I am using this to get all the orders)
https://:#.myshopify.com/admin/orders.json
The API Key and the password appear in your private app info page.

Receiving 404 while using register3 API.

I am using live account for Yodlee.
How do I proceed to create user using credential I received from Yodlee team and REST api url?
I have used this url.
{MY LIVE REST API URL}/v1.0/jsonsdk/UserRegistration/register3.
But it showing 404 page not found.
I want tutorial to be used to proceed live Yodlee account.
I have tried test drive and felt comfortable with the flow.
If you are using https://rest.developer.yodlee.com/services/srest/restserver/v1.0/ URL then you won't be able to use this API. As this is developer's environment and Yodlee do provides 5 pre-registered users which you can get under Developer Info page(Available once you'll login to www.developer.yodlee.com and click on MyProfile link).
Else if this is not a case and if you have access to Yodlee Customer Care tool then we request to raise a Service Request with the problem description which you are facing.