|
payPalEcGetDetailsService returns critical information necessary for order processing. It is much easier to obtain this critical information through the API rather than through an alternate method. Therefore, you must call payPalEcGetDetailsService even if you do not allow customers to change their shipping addresses. |
The payPalEcGetDetailsService service:
nReturns information about a customer.
nReturns the billing agreement status if you initiated the creation of a billing agreement.
When calling payPalEcGetDetailsService, you can request the customer’s billing address. When you do this, Cybersource returns the following fields in the reply message:
npayPalEcGetDetailsReply_street1
npayPalEcGetDetailsReply_street2
npayPalEcGetDetailsReply_city
npayPalEcGetDetailsReply_state
npayPalEcGetDetailsReply_postalCode
npayPalEcGetDetailsReply_countryCode
npayPalEcGetDetailsReply_countryName
npayPalEcGetDetailsReply_addressID
To receive these values, do the following:
nContact your PayPal account manager to have this feature enabled on your PayPal account.
nContact Cybersource Customer Support to have your Cybersource account configured to request the billing address.
nSet payPalEcSetService_requestBillingAddress to 1 in your request for payPalEcSetService.
If you included item-level fields in your request for the payPalEcSetService service, payPalEcGetDetailsService returns item-level fields in the reply message. These fields are described in Reply Field Descriptions.
|
To enable item-level fields, contact Cybersource Customer Support to have your account configured for this feature. For important information about items and subtotals, see Requirements for the Subtotal. |
When you request payPalEcGetDetailsService, you must include the following fields in the request:
npayPalEcGetDetailsService_run
npayPalEcGetDetailsService_paypalToken
npayPalEcGetDetailsService_paypalEcSetRequestID
npayPalEcGetDetailsService_paypalEcSetRequestToken
nmerchantID
nmerchantReferenceCode
These fields are described in API Fields.