I just started using Shopify and it's APIs but I'm unable to complete my checkout process.
I'm using PHP as a backend and creating a react-native app. how can I achieve this?
I checked the Shopify-PHP-SDK, REST Admin API but didn't find anything helpful.
This is the first app that I've built using the Shopify API, so I'd appreciate any guidance that I can get. I looked into signing up with a partner application and using the OAuth authentication, but that seems like overkill for what I need to do since I don't want to use the Shopify storefront and I don't plan on offering my app in the Shopify App Store.
You must have missed this obvious choice.
https://help.shopify.com/en/api/storefront-api
Besides Storefront API, you can also use Ajax API. Unlike Storefront API, it doesn't require authentication.
Related
I'm developing an app to sync Shopify product list with my own DB.
When a product is deleted from Shopify admin, I need to delete it in my MySQL DB.
I think I have to create a Webhook for product deletion.
I know the way to create Webhooks in Shopify admin page, but I'd like to create it when my app is installed.
Please give me your answer if you have any idea.
I've tried to find answers for this problem, but couldn't find any solution.
I suppose you are looking for automated Webhook Subscription via API. Yes, Shopify does allows that.
You need to Subscribe to the hooks via API call when you app is being installed or autorized by the Shopify store. Please check the Documentations below.
For understanding the webhooks and behaviours: https://shopify.dev/apps/webhooks
Apis for Webhook Subscription: https://shopify.dev/api/admin-rest/2022-10/resources/webhook
I need to integrate QuickBook as a payment method with a website. For this, I would like to connect to QuickBook and create an invoice or payments links and redirect customers to them as I do it with Paypal and after catch the webhooks from QuickBooks about payment status.
Here is a page for paying with Quickbook (You can make a payment link manually in your account):
I want to create such links with api for php (laravel). There is no api for directly creating payment link though api, but there is an option to create invoices with link. I've managed to create such invoices calling the QuickBooks api through Postman but that link doesn't work. It opens an error page.
Here is that page:
There is no much information about paying on the website with QuickBooks, so I am not quite sure is this task a achievable. But if anyone did something similar or has some experience with integration QuickBook to e-commercial websites, please give me a hint
The thing was that the QB has an error in sandbox mode. If you try to call this route in live mode everything will work. Here is a link for my issue on the Intuit Developer Forum https://help.developer.intuit.com/s/feed/0D54R00008D4MIwSAN
The first thing you want to do is set up your application on Quickbooks Online. Here is a Quickstart guide: https://developer.intuit.com/app/developer/qbo/docs/get-started
Then you should consider using the PHP client library for OAuth: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0
Then you can start looking through the Quickbooks Online API, and see if they have API to solve your needs: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/account
My client would like a twitter feed that just shows her most recent tweet on her Shopify site. She needs it to be more customizable than the current standard widget provided by Twitter is.
There is a Shopify app that someone built for a monthly fee that does this, but I'd like to build it on my own.
I have already built a stand-alone solution with the Twitter API and twitterOAuth PHP library. Since I can't run the PHP on Shopify, I figured I need to build an app.
Just wanted to see if I'm on the right track or if there is a better way to do this. Thanks in advance.
If you can handle Twitter oAuth, then clearly you can handle Shopify oAuth. As per what we can barely call standards, it turns out using oAuth is pretty much the same between all these services. So Shopify oAuth is going to pose no trouble for you. Hence it is relatively easy for you to create an App in PHP in the cloud, that scrapes Twitter, and provides said scraped Tweet to Shopify.
I would like to know the following things about the web-hook,
1. Actually what are web-hooks and what is its functionality?
2. I have a woo-commerce word-press site, how can i make use of the web-hook in my android app for my woocommerce sie?
3. For integrating web-hooks in android application which have a woo-commerce site what all things i need to do?
Can anyone help me please..
Thanks in advance..
From WooThemes WebHooks Documentation,
What are Webhooks?
A Webhook is essentially an event
notification sent to a URL of your choosing. Users can configure them
to cause events on one site to invoke behaviour on another.
Webhooks are therefore very useful for integrating with third party
services and other external API that support them.
The site goes on to explain how to manage web hooks and gives some examples that could be useful.
I am (developer) using amazon marketplace payment for transaction. For this i am using marketplace fee enabled button (http://docs.aws.amazon.com/AmazonSimplePay/latest/ASPGettingStartedGuide/nomktplc.html).
I want charge a sender's card at a later point so I am using settle (advance feature of amazon marketplace fee enabled button). To settle the transaction I am trying to use this (found at http://docs.aws.amazon.com/AmazonFPS/latest/FPSMarketplaceGuide/Settle.html)
" https://fps.sandbox.amazonaws.com?Action=Settle&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&ReserveTransactionId=14GKD9GE66FAA63E6O6B2JDPZKN53LZ7F22&SignatureMethod=HmacSHA256&SignatureVersion=2&Signature=SJJLsIBghi7VIycBjX7c3hnfgZ%2FBvZbzqLtAZXDL8ys%3D&Timestamp=2009-10-06T07%3A53%3A11.750Z&TransactionAmount.CurrencyCode=USD&TransactionAmount.Value=1&Version=2008-09-17 "
My question regarding this request is
How should I use it.
From where should I call this - the browser or as a normal api call.
If it is done by api then what steps should I follow?
I made this call directly from the browser but it is always showing
'SignatureDoesNotMatch' error.
Please suggest what i should do? Any help will be highly appreciated.
The Amazon Simple Pay solution you are using gives you a very simple HTML integration. The browser does the magic here.
The Amazon Flexible Payment System (FPS) however is an API which is designed to be used by server side code (even though it could be used by JavaScript). You will have to create and properly sign requests to automate this integration. This is considerably more complex than just putting an ASP snippet into your page. I suggest you start here:
What Is Amazon FPS <- good starting point
FPS Sandbox <-- a browser playground for FTP calls