Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A way to verify PayPal Account Status is Verfied using PHP

Tags:

php

paypal

Basically I want my users to associate PayPal account in their accounts for identify verification purposes. I am developing a marketplace site and wanted to integrate paypal as my identity verification procedure.

Is there a way to verify email address, first name and last name using PHP like using $_GET variables or $_POST variables? If there is can you show me how?

I tried search and I get Adaptive Accounts GetVerifiedStatus API. But that totally new to me, I don't know where and how to start.

like image 827
Ken Avatar asked Feb 19 '14 18:02

Ken


People also ask

How do I verify my PayPal account Philippines?

Complete the verification process by typing in the EXPUSE number and clicking on the Verify Account link button. You will then receive a confirmation email from PayPal in your inbox regarding successful verification. The refundable fee of $1.95 will then be deposited to your PayPal account.


2 Answers

Your best bet here is to make them start, but not complete, an Express Checkout. A normal Express Checkout (referencing Classic but REST works the same way) looks like this

  1. SetExpressCheckout - Tell PayPal you want to authorize $1.00 and have them log in and authorize the payment
  2. GetExpressCheckoutDetails - Take the token from step 1 and get their PayPal account details. Included in this is PAYERSTATUS, which will tell you if their PayPal account is verified or not
  3. DoExpressCheckout - You won't do this, but this is where you finish the process and get funds. Since the data you want is in Step 2, just ignore it and the session will expire.
like image 145
Machavity Avatar answered Oct 24 '22 11:10

Machavity


You could implement GetVerifiedStatus API to determine whether the specified Paypal account's status is verified or unverified.

To use that API, you need to submit the application request to Paypal for approval first. Submission portal link here.

Then use the GetVerifiedStatus API call directly, refer to API request fields,link.

Sample SDK download link.

like image 2
PP_MTS_hzhu Avatar answered Oct 24 '22 12:10

PP_MTS_hzhu