How to get inventory items from a PayPal API? - paypal

I'm building inventory management software for Square and PayPal. After reviewing PayPal's RESTful API documentation, its not clear how I can retrieve inventory items from a merchant on their behalf.
For example, before a transaction is made or an invoice is created, I'd like to get their inventory items to beging improving the inventory management experience.
Does anyone know how I can retrieve inventory items from a PayPal API?
Thanks in advance - Royce

PayPal doesn't provide an inventory management system/service for merchants. The item list you see in the Restful API, is how a merchant can indicate what items the buyer is purchasing so PayPal can display that on the Payment confirmation page. If you are talking about how to obtain that information then you can do a GET on the payment resource id, which will include the items info that was originally provided by the merchant.

Related

Integrating Paypal Payment and Invoicing APIs

I have been manually issuing invoices to charge my clients for services using Paypal.
Now I am creating an interface to allow them to purchase the services automatically on my website.
I also want to show them a history of their purchases. However, I cannot show a history of paid invoices using the Transaction Search API; I need to use the Invoicing > Search Invoices API.
I have used the Paypal Payments API to manage the payment side of new products, which now correctly produces an itemised transaction and allows the customer to checkout. But this does not produce an invoice.
How can I simultaneously produce an invoice (i.e which can be retrieved by the Invoicing API to show previous payments) and allow the customer to pay it? It seems like the Invoicing API works around the idea of sending an invoice to client by email, but this is unnecessary. I want them to pay it immediately (and already have the Payment API setup for this).
So what would a useful workflow be?: Use my Paypal Payment API to receive and authorise the payment, and on authorisation, use the Invoicing API to produce an invoice which reflects this and then updates the invoice status to paid? Or am I missing something easier here?
The Invoicing API is not meant to be mixed or used with any other API. It is for generating invoices to be sent by email or in link form.
General ecommerce payment processing (without invoice links) is entirely separate, there is no crossover. You should ensure you are using the current v2/checkout/orders API to receive new payments, not older v1 APIs.
As far as displaying a list of previous purchases to your customers, you shouldn't reply on PayPal for this (except perhaps in the case of invoices since this is part of the point of offloading invoice management to PayPal). But for normal web purchases, PayPal is not a database -- it is a payment processing service. Keep track of all your own order information, and simply store PayPal transaction IDs when they complete for your own accounting records -- but the ID you reference with the customer should be your own unique order ID, which you can pass to PayPal in your purchase_units[0].invoice_id when you create an order for checkout approval.

PayPal Developer: Under "MyAccount" I want to enable payout ... but 'they' need more info?

Under Developer->MyAccound I want to enable payout (Payouts, Payout up to 500 recipients in one API Call).
When pressing "Enable", info "To process your request we need more information about you and your account." is displayed and link "Contact Us", taking me to https://www.paypal.com/cgi-bin/webscr?cmd=_contact-phone.
Finally I created a post for the community https://www.paypal-community.com/t5/Business/Developer-My-Account-gt-Payouts-gt-Activate-not-working/m-p/1431023, up to now w/o an answer.
We are currently evaluating a few payment providers for a marketplace-like service, where we need a checkout and a payout. The process is kind of special, as we usually do payouts only once per "person" (gift business, https://pres-it.com).
PayPal REST API Payout is available in few countries only, the rest of the countries can use PayPal Masspay for sending payments to their customers. In order to find REST API Payout availability in your country please contact PayPal Customer Service team or you can get in touch with PayPal support team by creating a ticket at https://www.paypal-techsupport.com.

Is there any PayPal API that can retrieve button options from a transaction id?

I am trying to create some tools to manage our paypal account and I can't find a PayPal API that actually returns the purchase options when orders are made from PayPal buttons.
The REST APIs for sales and orders don't seem to return option names or option values.
The NVP API GetTransactionDetails only returned 2 of the 4 options I have set on the button.
Has anyone been able to retrieve this information through any API? I can see them when I look at transaction details on the PayPal site.

Access Paypal Account Details (Monthly Sale Reports) through API?

Is there any way we can get access to our paypal account details (like monthly/daily sales report) using its API?
We have several paypal accounts that we are using for several ecommerce websites and we need report on everyday that how much sale done yesterday so looking for any idea that its possible or not and if yes than basic idea about how.
We are using paypal regular payment option to pay using paypal shopping cart.
Thanks in advance.

Which Paypal API for preapproved payments?

I'm trying to implement PayPal on a completely custom shopping cart and have been unable to figure out which API for recurring payments we need.
We ship a physical product every 2, 3, 4, 6 months so shipment and payment have to both happen together. In addition it must be easy for the user to change their shipment date - or add or remove items to their regular shipments without too much stress (either on their part or mine).
I've generally looked at Paypal's recurring billing as more suited to software based subscriptions and I don't think this is the API I need. I'd like to just bill the customer via a billing agreement and then initiate the shipment.
The way Skype does it seems to be ideal - they establish a billing agreement (shown in my PayPal account under 'My account > Profile > Pay List'
but I cannot seem to find that in the SOAP API document.
What is the API I need to create a billing agreement that I can trigger whenever I want. Can this be done with Express Checkout API ?
The API you are looking for is called reference transactions. This allows you to set up a billing agreement with a customer, get back a token, and then use that token to issue charges in the future. It can be done via the Express Checkout API.
You have to contact PayPal customer support to get this activated for your account before you can use it.