Get payment details

Important: This integration method is Deprecated as of January 1, 2017. For new integrations, see the PayPal Express Checkout Integration Guide.

The GetExpressCheckoutDetails call retrieves the buyer’s information, such as name, email address, and shipping address, from PayPal. You can use the information to dynamically display the shipping method and amount to the buyer when they return to your site for payment confirmation. You provide the token obtained from the SetExpressCheckout API call response as one of the request parameters.

Request

This sample request specifies the minimum variables:

USER=xxxxxx
PWD=xxxxxxxxx
SIGNATURE=xxxxxxx
METHOD=GetExpressCheckoutDetails
VERSION=124.0
TOKEN=EC-72D0681527109671C

For detailed reference information, see GetExpressCheckoutDetails API Operation (NVP).

Response

TOKEN=EC-72D0681527109671C
PHONENUM=408-841-8029
BILLINGAGREEMENTACCEPTEDSTATUS=0
CHECKOUTSTATUS=PaymentActionNotInitiated
TIMESTAMP=2015-10-22T01:07:29Z
CORRELATIONID=5f8957725f85
ACK=Success
VERSION=124.0
BUILD=18308778
EMAIL=buyer@umulla.com
PAYERID=3T5GGNEZ8T33S
PAYERSTATUS=verified
FIRSTNAME=Usman Adeel LASTNAME=Mulla COUNTRYCODE=US
// Shipping Address
SHIPTONAME=Usman Adeel Mulla
SHIPTOSTREET=1 Main
St SHIPTOCITY=San Jose
SHIPTOSTATE=CA
SHIPTOZIP=95131
SHIPTOCOUNTRYCODE=US
SHIPTOCOUNTRYNAME=United States
// Billing Address
BILLINGNAME=Usman Adeel Mulla
STREET=1 Main St
CITY=San Jose
STATE=CA
ZIP=95131
COUNTRY=US
COUNTRYNAME=United States
ADDRESSID=PayPal
ADDRESSSTATUS=Confirmed
//Transaction and line item details as sent in the setEC call
CURRENCYCODE=USD
AMT=524.20
ITEMAMT=458.00
SHIPPINGAMT=20.00
HANDLINGAMT=0.00
TAXAMT=46.20
DESC=test EC payment
NOTIFYURL=http://www.ccaples.com/mts/ipn/ipn-listener.php
INSURANCEAMT=0.00
SHIPDISCAMT=0.00
INSURANCEOPTIONOFFERED=false
L_NAME0=Books
L_NAME1=CDs
L_NUMBER0=ABC123
L_NUMBER1=BY-Z4736
L_QTY0=2
L_QTY1=3
L_TAXAMT0=0.00
L_TAXAMT1=0.00
L_AMT0=154.00
L_AMT1=50.00
PAYMENTREQUEST_0_CURRENCYCODE=USD
PAYMENTREQUEST_0_AMT=524.20
PAYMENTREQUEST_0_ITEMAMT=458.00
PAYMENTREQUEST_0_SHIPPINGAMT=20.00
PAYMENTREQUEST_0_HANDLINGAMT=0.00
PAYMENTREQUEST_0_TAXAMT=46.20
PAYMENTREQUEST_0_DESC=test EC payment
PAYMENTREQUEST_0_NOTIFYURL=http://www.ccaples.com/mts/ipn/ipn-listener.php
PAYMENTREQUEST_0_INSURANCEAMT=0.00
PAYMENTREQUEST_0_SHIPDISCAMT=0.00
PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=chad@yourdomain.com
PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false
PAYMENTREQUEST_0_SHIPTONAME=Usman Adeel Mulla
PAYMENTREQUEST_0_SHIPTOSTREET=1 Main St
PAYMENTREQUEST_0_SHIPTOCITY=San Jose
PAYMENTREQUEST_0_SHIPTOSTATE=CA
PAYMENTREQUEST_0_SHIPTOZIP=95131
PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US
PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=United States
PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed
L_PAYMENTREQUEST_0_NAME0=Books
L_PAYMENTREQUEST_0_NAME1=CDs
L_PAYMENTREQUEST_0_NUMBER0=ABC123
L_PAYMENTREQUEST_0_NUMBER1=BY-Z4736
L_PAYMENTREQUEST_0_QTY0=2
L_PAYMENTREQUEST_0_QTY1=3
L_PAYMENTREQUEST_0_TAXAMT0=0.00
L_PAYMENTREQUEST_0_TAXAMT1=0.00
L_PAYMENTREQUEST_0_AMT0=154.00
L_PAYMENTREQUEST_0_AMT1=50.00
PAYMENTREQUESTINFO_0_ERRORCODE=0

Next

Finalize the payment to complete payment the transaction.

Additional information