How could I get merchant account id of paypal? - paypal

I'm trying to use the PayPal Adaptive Payments Payment API. I am trying to test the API with my own email address, but I get an error specifying the sender by email. I'm wondering how to determine my own account ID to try that way?
I'm referring to the account id here: https://developer.paypal.com/docs/classic/api/adaptive-payments/PaymentDetails_API_Operation/
I get the error: "The email address smithd98#gmail.com is invalid. It may not be registered in PayPal's system yet" when trying to pay by my email. When I log in with PayPal my email address is correct. My account is verified with a bank account, credit card, and debit card connected.

You can get your PayPal account ID by logging into your PayPal account and looking in your profile, or you can also get it via the GetPalDetails API.

Related

PayPal payment from Business to Personal account

I know how to send money from Personal account to Business account (by using paypal-rest-sdk). But now I want to send money from Business account to a Personal account
Is there a product to support this type of payment
by using paypal-rest-sdk
The old PayPal-Node-SDK for receiving payments is deprecated, so you'd better mean the current Checkout-NodeJS-SDK.
For sending payments to another account, you can set the purchase_unit payee to the email address of the receiving account.
If you wish to send payments from your a Business account in an automated fashion, the Business account owner can contact PayPal to inquire about enabling Payouts.

How do i connect a third party paypal account by using email id and send invoice on behalf

i am integrating Paypal with our platform for multiple merchants. Here a Merchant just need to enter his Paypal email Id, and here i just need to validate his First Name and Last Name to be matched with Paypal account and the entered names in our platform.
And then i should be able to send invoices On behalf of Merchant from our platform to their customers.
I am looking for below.
1) How do i validate Merchant email id with paypal
2) After validating how do i be able to send Invoices on behalf of
Merchants.
FYI, I just find similar setup functionality here. i would need something like this.
You can validate the merchant PayPal account using GetVerifiedStatus API:
requestEnvelope.errorLanguage = en_US&emailAddress = teatemail#test.com&&firstName = Firstname&lastName = Lastname&matchCriteria = NAME
After validation, you can get the API call permissions after that you can run the invoicing API for sending invoices.
After a long time analyzing, i was able to find that to have above functionality , i have to use AdaptivePayment method of Paypal for generating invoice from our side and sending a link for payment and invoice page to customer in mail.
But before doing this i have to validate email id of merchant using GetVerifiedStatus API as mentioned by PP_Punna.
So the following steps are needed to :
1) Validate merchant email Id with first name and last name using GetVerifiedStatus API.
2) Generate a PayKey using AdaptivePayment method (PAY) by mentioning the receiver email id as Merchant email id which was validated in first step and create url like
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=[PayKey]. and put it under paypal button.

Adaptive Payments: Unilateral receiver not allowed in chained payment is restricted

We have integrated the chained payment successfully in our website.
Per testing, we have encountered the issue like
‘Account not found. Unilateral receiver not allowed in chained payment is restricted’.
Is there further instructions on how to fix it?
That is usually caused by receiver’s email address that is unconfirmed. Please ask the receiver to confirm the email and the issue should get fixed.
Here’s how to confirm the email address:
Log in to your PayPal account.
Click Profile near the top of the page.
Click Update beside Email.
Select the email address you want to confirm, click Confirm and we'll send you an email.
Click the link in the email to complete the confirmation process.
A unilateral payment is a payment to an email address that does not yet belong to a PayPal account.
In most cases, the user would receive an email that they have been paid money and they need to create a PayPal account in order to receive/withdrawal the funds.
This feature is simply not available when using Chained Payments. All receivers must have an existing PayPal already.

Get the email of my PayPal customer

I need to read the email of the buyer that has completed a transaction on my eCommerce site. Paypal does send me an email of notification, but does not contain the email of the buyer (Instead, it returns just the transaction-id - which takes me to my account.)
I was looking through the PayPal for Developer API, but I can't find an example to get this level of detail. Is this even possible to retrieve, and if so, how?
Paypal ipn returns the address. When you post to PayPal, they request an address by default. (Source)
no_shipping =2 is the prompt for requiring an address.

Paypal Personal Payments with Preapproval

Here's the user story I am dealing with:
A user wants to send a personal payment to a friend to reimburse him for money.
The user adds the friends email and the amount.
We check if the recipient is a paypal user by making a call to the Adaptive Payments API PAY method.
The recipient is not a paypal user.
Then we make a preapproval for the funds transfer for the sender.
Later when we have the correct paypal address for the recipient we try and make the payment using the PERSONAL payment type and including the Preapproval token.
The API returns this error: "Personal payment type is not allowed for this payment"
Is there something I'm missing here or are preapprovals for personal payments just not possible with paypal?
Personal payments require a special permission on your account. You need to submit an application on x.com and request it.