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.
Related
I'm currently building out a react site for my portfolio, I'm considering adding a way to order online and was wondering how I might go about that. The answers I've gotten on google haven't really satisfied me.
This question is super broad. Broadly, you would have some sort of form that would get order details and accept payment, then send a request to the backend API, which would send the orders to the restaurant, then send a success message and any confirmation/tracking info to the frontend
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.
I am trying to create a website that will allow people to post items for sale and then receive a payment through paypal once the item is purchased. Ideally I would have them link their paypal account to my website, before they post any items, and user would checkout via paypal. This would be a very similar setup to what ebay has with paypal. Can someone point me to what type of integration this is? Also could someone point me to the proper docs? I don't think i'm using the correct terminology so I'm not finding anything. I am a developer so i'm not afraid to code this up. Thanks
If you want to create this kind of integration you will need to make a few user experience decisions first. The flow of Ebay allows a person to link a payment method to their system and upon purchase directs them to an Ebay paypal checkout page that acts as a payment using stored credentials to do a transaction with the Ebay paypal account. Internally Ebay then performs other transactions from their account with other user's registered payment information to mediate the exchange. It is not directly user-to-user. The first question you as a developer need to answer is : Do you want to use the pre-built paypal experience or design your own with paypal integration?
The simplest pre-built experience causes your users to be directed away from your website to paypal where they handle their transactions and then are returned to your site along with a REST payload that informs your site whether a transaction was successful or not.
Another service offered by paypal is called Paypal Payment Advance which allows them to provide you with a template integration on your website which performs the transactions on your domain. To learn more about that, see here.
The custom experience requires you to learn the Paypal developer API and how Paypal operates and stores credentials which can be found here. This option is only if you really want to have complete control of everything and are willing to put in the work. It is also the most difficult option, but gives you the greatest control over the end experience.
i have a project i am working on
the requirements are to build a service to manage customers
the service has the following functionaltiy
Create Customer
Find Customer by Id
Update Customer
Delete Customer
each customer has and id, Name, Email, Address and related credit card tokens
When Customer is created it can be linked to one or more credit cards
and when updating a customer it can be linked to a credit card
The Credit Cards are managed in a different service (one that is not built by me) that i know nothing about (can make some assumptions)
The service i built is a web api project with an sql server database
i used asp.net entity data model for that and i implemented all of the CRUD operations using the rest api
my question is how can i create the link between the 2 services to allow me to link a credit card from a different service to my customer.
the requirments are that if some one wants to view the data of the credit cards it will need to use the other service so i dont need to have access to the credit card data, only to allow to link a credit card to a customer
any ideas on how this can be done?
Unfortunately your question is a little ambiguous and, after reading your comments, it seems your question is essentially asking how to "link" to a different service, which does not exist. If you don't know anything about the other service (and certainly if it does not exist), it will be very difficult to help you "link" to it.
You mentioned that the other service may be developed. In that case, I can suggest the following:
Connect to the underlying database that the external information is being stored in, much as you are connecting to your own database now (see connecting to databases in mvc for more information)
If you are not granted access to the external database, you will most likely utilize some form of web service to make queries against the external database (see consuming web services in mvc).
From your backend, the logic basically goes: access their database or call their web service, get the id for the credit card and either pass that id through or generate your own (internal) unique id for a credit card (and creata a separate table that stores the original id as well) and associate that with your customer (in an array or object, etc). That way, when you need to retrieve credit card information, you have your customer entry with the information (id(s)) of any associated credit cards. You can use that information to query from the external service to get the required credit cards and then combine the information
I have been searching for a way to get just the list of users from my facebook app. I've tried several FQL variations to no avail. I do NOT want the list of users that are my friends who are users of the app but an entire list of user names from my facebook app.
All the questions pertaining to this type of request get many answers but all of them focus on FRIENDS of a user who use the app.
I just need a list of IDs or names that are using my app and have authorized the app with extended permisions.
Any ideas? I am using client-side javascript sdk.
Thanks.
No, there's no API for this. You should already have this information from your own logs though, assuming you're storing information about your app's users in a database somewhere
I agree with #Igy; that kind of statistical data is the responsibility of the developer. Facebook provides other (very useful) statistics on usage and performance with their insights feature, but to track individual users the developer will need to implement his or her own logs.