PayPal API to get tax detail configured in PayPal account - paypal

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.

Related

Can a payout, using PayPal Payouts API, be funded directly from the associated Bank account instead of PayPal account?

I have been building a marketplace application with an iOS app as front-end that drives the business. The app can accept payment either through a paypal account or a credit card. I have integrated Braintree iOS SDK into my app and linked the paypal business account in Braintree controlpanel. The funds processed using PayPal are being routed to the paypal and those processed using cards end up in the bank account linked with Braintree merchant.
Now, the core of the application is to take a certain commission and payout the rest to the sellers involved in transaction. I have taken the seller's PayPal ID at the time of registration to pay them.I have explored the PayPal docs and found that Payouts REST API does exactly what I need provided I maintain the required balance in the merchant account.This is where things came to a standstill. Specifically, I need to get confirmation on the below points
1.As there are two different places(paypal merchant and bank account
linked to braintree) where my funds are parked, Is there any
possibility that the transaction could directly be funded from the
bank account if the same is linked to both merchant accounts?
2.Will PayPal withdraw the entire amount at once or in partial
transactions.
Can anyone who have been in a similar situation suggest how to go about paying out the sellers. I am open to any alternative that satisfies all the requirements of the app.

Able to set Tax calculation during PayPal express in SandBox?

How can I setup my PayPal sandbox account with tax settings?
I would like to setup tax as per the tax at the bottom of this page.
https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/shipping/EasyCalculateShipAndTax-outside%20
I do not see these options in PayPal developer sandbox site setup.
What I would like to happen is PayPal works out that the billing address for the purchaser is in Australia, add 10% GST and then on the response, notifies me that 10% gst was applied (or the amount of other ways) so I can record that against the order and show it on the receipt.
Is paypal pro account needed? If so, I am also having problems making a pro account as outlined in this SO Question:
Cannot create a business-pro account in sandbox?
The shipping calculator in PayPal website applies only to Website Payment Standard Buttons(Buy now, add to cart etc). If you would like to pass tax in PayPal Express Checkout, you need to pass tax using API variables such as PAYMENTREQUEST_n_TAXAMT. You don't need PRO account to do this.

Storing Credit Card information using PayPal Payments Advanced API?

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.

Feature supported list for PayPal Rest API for non US

Looking forward for PayPal's new RestAPI.
We have already started building and finding cool things as we go. Since its an on going process of releasing features it is still not clear sometimes what is supported and what is not. I am listing down my doubts for what is supported for Non-US developers.
Merchants cannot accept payments by taking credit card number.
Subscription / recurring payment possible?
For Pay with PayPal method, does Paypal offer to accept payments form non Paypal users? Like pay directly using card on Paypal page?
Do mention if I missed anything.
To register for a Live set of REST credentials you are required to provide:
U.S. Business owner Social Security Number, date of birth, and other personal details.
U.S. Business Tax ID (EIN, ITIN) and other business information.
Subscription / Recurring Payments are not yet available through the REST process. There are Reference Transactions allowed through "Vault" though.
There isn't an equivalent to "SOLUTIONTYPE" for the REST process yet but hopefully soon.

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.