How to auto sync Amazon seller orders with SP-API? - javascript

Developing an app that should allow customers to connect their Amazon seller account, which would export all of their unshipped orders. Once tracking numbers are provided for their unshipped orders on my dashboard, it would send the tracking numbers back to their Amazon seller account and mark that specific order(s) as shipped.
I have been stuck on the concept of doing this. I have it setup to where the customer has to manually enter keys, but that would be too difficult for customers. I want a simpler setup that will request the user to signin to their Amazon account like the below example:
I've been through the docs but I am not quite seeing how other businesses are achieving this. Could someone please outline the flow to have a similar setup?

Related

How do I get my flutter firebase user to also create their stripe account

I am creating a mobile marketplace however, I don't know how to allow my user who has created an account with firebase also create a stripe account and having that connect to my app so that when they create a listing for a product, they can receive money in their stripe accounts after someone buys their specific product.
My question is, does anyone know how I can do that? I tried following the stripe instructions but realized that they are only making an account and after they sell an item, they arn't getting payed. How would I program that? How would they get payed? For firebase functions, I am using Js. My mobile app is made using flutter and my backend is firebase.
You can make a payout system "add to each user a field which holds the total gained money and when this user collect a specific amount you can send money from stripe to his bank account" because it's not right to connect each user with Stripe as it or any other payment gateways allow to connect the app with one account and it requires some information to be able to receive money .. etc , you see that you put private key and other key to connect with stripe and those keys and you should hide'em with env properties so no one can see'em
I hope you got what i want to say
Stripe Connect has a 3 different charge types to select from : https://stripe.com/docs/connect/charges
In general, you would either create the charge on your platform then transfer the funds to the connected account, or create a charge on the connected account. You would want to follow one of the two guides below depending on which charge type [0] you choose :
https://stripe.com/docs/connect/collect-then-transfer-guide
https://stripe.com/docs/connect/enable-payment-acceptance-guide
Following the flows mentioned above, funds will accumulate in the connected account's balance and will be available to be paid out. You can read about connected account payouts in more detail here : https://stripe.com/docs/connect/bank-debit-card-payouts
You would probably want to write in to Stripe support if you need further guidance on how Stripe Connect works as a product.
This documentation provides detailed steps on how you can
process payments with Firebase using a stripe account.
It walks you through customizing and deploying your own version of
the open-source cloud-functions-stripe-sample.web.app example
app using stripe payments whose source code is available at this
GitHub link.
Also have a look at this stackoverflow thread where a
stackoverflow user has shown how he has integrated Firebase with his
stripe account using Firebase functions.
For a detailed description on how you can create a stripe account for
Firebase Flutter, go through this article.

PayPal api: How to get orders of user by users email?

I want to give some benefits on my site to users who made an order or have active subscription with my merchant account.
I have nodejs server but cant find the way to query paypal for list of orders of my merchant account.
PayPal would recommend you keep your own records of orders placed by a user; they are a payment processing service, not a data service, and do not want you querying their servers for this type of information.
They do offer downloadable activity logs in the www.paypal.com account interface, which can be obtained in .csv format. But that is for accounting and reconciliation purposes, not something you would want to run a script against.
Basically, you really ought to keep track of your own users' orders and active subscriptions if this information is important to you.

Automatic transaction fee charge based on sales amount from app referral

I'm building a react native app that allows companies (clean beauty brands) to showcase their products within the app (a beauty community). App users can visit the brands' website in a nested browser in our app and buy products from the brands website. I'm looking for a way to automatically get a transaction fee from the brands for sales initiated from our app (so transactions on the brand’s site where our app acts as the referrer, so our app is affiliate marketer). The majority of the brands we work with are small companies with websites on Shopify and SquareSpace, a lot of them use Stripe. Any advice appreciated!
You would need to use Stripe Connect. The idea is that you will act as a platform and each brand will have their own Stripe account that they connect to your platform. Then in your application, you will be able to offer their products on their behalf. When a customer wants to order some products, you can charge their card, have the funds go to the Stripe account for the brand and take your own fee out of the transaction (which is called an Application Fee).
I'd recommend looking at Stripe's detailed documentation for this:
https://stripe.com/docs/connect
https://stripe.com/docs/connect/enable-payment-acceptance-guide

PayPal Merchant API - Getting Products Information

New to using PayPal, and had a general question regarding what it can provide.
The need is to enable someone with a merchant account on PayPal to login to a website (meaning the api should probably be in javascript) and then get from the API information about the products the merchant supplies.
Does anyone know how this can be done?
Sincerely,
-Lior
PayPal doesn't have any way to store actual inventory data. If you process orders with item details included then you pull those details using GetTransactionDetails.
If you're using the Button Manager API you could create individual buttons for different products with inventory tracking enabled on those and then you could potentially pull "inventory" data by pulling the buttons. I wouldn't recommend that, though.
Really, the best thing to do would be to manage your inventory in your own system of some sort.

Amazon Product API with meteor

I would like to make requests for ItemSearch using Amazon Product Advertising API with meteor.
http://s3.amazonaws.com/awsdocs/Associates/latest/prod-adv-api-dg.pdf
https://images-na.ssl-images-amazon.com/images/G/01/webstore_t_d/API/WebstoreAPI_SearchProductUsersGuide.pdf
Essentially, I would like the users on my web application to search and select books that they have read which will then be displayed in their profile.
As the user types in the field, I would like the api to return a limited number of suggestions. When one item is selected, I would like to store the title and author of the book and url of the books' advertisement page on amazons website.
I have been sourcing the documents and branching out from the following two links. I am beginning to understand in an abstract way of how the error and data callbacks work. Everything I am reading is abstract.
I need to help in setting up the searchItem feature which falls under Amazon Product Advertising API
. I will limit the search index to the 'books' product category. According to amazon, I am effectively advertising for amazon in my use case so I joined their affiliates program https://affiliate-program.amazon.com/
But really, my use case intensions are for my users to list books they have read on their profile page. I need to capture 3 data points (title, author, and, url of the advertising page for the book on amazon.com).
Has anybody attempted to use this API? If so, please can you shed light on how you set up to make requests to the API in meteor.
The Amazon Product Advertising API does not fall under Amazon Web Services, but instead, Amazon Associates.
The AWS SDK does not support non-AWS services (including other Amazon services), and likely never will. You'll need to find an entirely different package for hitting the Amazon Product Advertising API.

Categories