I am using PayPal Pro on a Shopify webstore. Is there a way to use the PayPal API to query my account and get a list of incoming deposits that would show the customer name, total sale, the fee deducted, and the net deposit?
The exact call you need is: https://developer.paypal.com/docs/classic/api/merchant/GetTransactionDetails_API_Operation_NVP/
But first you need a general idea how to use the API: start with https://developer.paypal.com/docs/classic/api/gs_PayPalAPIs/
There may be other ways to do this, but I'm (mis)using the PayPal lib included with the PayPal module in PrestaShop 1.6.x, which is based on 106 of the API (current is 204, search for "PayPal AND 'API Version History'" for version details), and it's working fine - I was able to pull fees on my latest transactions.
Related
I'm looking for an API to get international sales tax configured in PayPal.
Our client configured international sales tax varies from country to country in PayPal: https://developer.paypal.com/docs/admin/checkout-settings/#access-your-sales-tax-rates-in-your-account-profile
We need to get sales tax configured in PayPal via API so that we can show tax in our web application cart page based on user country set in profile
Does PayPal have API exposed to achieve this?
No. Tax and shipping configured in the PayPal account is only for old HTML/link-only PayPal integrations from ~20 years ago, which predate the existence of APIs. It is not intended to be used, and will not work with, any newer PayPal integration.
Current PayPal integrations which calculate tax/shipping outside of PayPal must manage their own tax/shipping configuration, and specify the amounts when sending the transaction to PayPal.
I would really like to use Paypal for my marketplace I am developing. I need to allow users to enter their paypal email address and whenever customers purchase that users products I take a small fee then the rest of the money goes to the user who listed the product.
What paypal service is the best for these types of payments? (me taking a transaction fee and sending the rest of the money to another paypal account)
I was looking into paypal express checkout, but can't find any info on sending some payouts to the users listing products. Also does express checkout require that the customer have a paypal account?
In case you are wondering and finding an answer, Express Checkout now comes with Parallel Payments. Read it here. As Adaptive Payment Parallel Payment now deprecated, the option left is using Express Checkout.
I have been trying to get a sensible answer from PayPal for days now. They are planning to release a protocol to support a market place in 2020 but not date yet. They have also confirmed (after talking to sales & tech support) that PayPal cannot be used for market places where your platform is nothing more than a broker.
Stripe Connect (Standard account) is probably the best solution out there.
We're integrating Payflow Gateway on a ecommerce portal. Considering that customer already has a Payflow account (via Chase), they prefer to go with the same.
After referring to PayPal docs, I'm not sure if tax component can be specified during a Sale (for certain US states and Canada users) and that PayPal displays it as part of Order Summary (Hosted Checkout Pages). Has anyone tried this?
If not, alternately, looks like we can use ExpressCheckout API which internally processes transactions via Payflow and then we can make use of expressive EC api to specify tax details. Any insights on this?
Notes:
In reply to my ticket, PayPal tech support says, hosted checkout pages will not show anything other than total amount. :(
However, I did find references to fields like ALTERNATETAXAMT in their developer guide. I presume, it is processor specific.
Ref: https://developer.paypal.com/docs/classic/payflow/integration-guide/
End Goal (no solution yet):
User should see sub total, tax and grand total during Order Review.
I want to use PayPal Payment Advanced API to store the customer's credit card info on the PayPal's website the first time the customer enters the credit card info. For subsequent customer visits, i want to retrieve the Credit Card info from the PayPal's server. Is this possible? What does the PayPal server return me ( like a transaction id )that I can store in my database for that customer and then use it for subsequent requests.
Thanks
There is no API for Paypal payments advanced. From their tutorials:
PayPal Payments Advanced requires use of PayPal's hosted checkout template...
This means that you have to use their hosted pages (you can probably do so using an iframe if you want). The reason for that is that in order to collect credit-card details you have to be PCI compliant, meaning, you have to pass a series of security checks/tests. This process took my company almost two years and major development (and other) resources, so you probably don't want to go down that path.
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.