Sarbjit Singh
Sarbjit Singh

Reputation: 181

paypal IPN returns pending_reason: unilateral

My PayPal IPN scripts runs very well. When I test with my sandbox account it, the payment is made instantly, however when I use my client's business email, I got payment_status as 'Pending', with pending_reason as 'unilateral' in the IPN log call.

My client's email is confirmed at PayPal. So can anyone tell me why I am getting this issue?

Upvotes: 13

Views: 17150

Answers (4)

JD Smith
JD Smith

Reputation: 1784

Double-check if your Paypal primary email address has been confirmed. For me this error happened when my client's email wasn't confirmed yet, of all things!

Upvotes: 0

Chris Webb
Chris Webb

Reputation: 796

I had this problem - I was sending PayPal my "live" payer_email, when I changed it to the business email in the sandbox it worked. same as my live email with ****[email protected]

Upvotes: 4

Jorjon
Jorjon

Reputation: 5434

Only accounts made in www.sandbox.paypal.com exists when testing on www.sandbox.paypal.com. So you can't use live accounts for testing, because they don't exist within the sandbox site. You should create the accounts at developer.paypal.com

Upvotes: 14

Alex Dean
Alex Dean

Reputation: 16065

pending_reason=unilateral means that the email address of the payment recipient has not been registered with PayPal. For the full list of pending reasons, see the PayPal IPN documentation.

Check the email address for typos, and double-check with your client that they truly have registered their address with PayPal (they may not understand what this entails).

Upvotes: 19

Related Questions