Home > Requesting Services > Sale Service


Sale Service

A sale consists of calling payPalEcDoPaymentService and payPalDoCaptureService in the same request. The sale:

nObtains the authorization.

nCaptures all of the authorized amount.

nReturns a transaction ID.

When you request payPalEcDoPaymentService and payPalDoCaptureService in the same request, you must include the following fields in the request:

npayPalEcDoPaymentService_run

npayPalEcDoPaymentService_paypalCustomerEmail

npayPalEcDoPaymentService_paypalEcSetRequestID

npayPalEcDoPaymentService_paypalEcSetRequestIToken

npayPalEcDoPaymentService_paypalPayerId

npayPalEcDoPaymentService_paypalToken

nmerchantID

nmerchantReferenceCode

npurchaseTotals_grandTotalAmount or at least one item_#_unitPrice field

 

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.

npayPalDoCaptureService_run

npayPalDoCaptureService_completeType

npurchaseTotals_currency

Additional fields are optional. The required and optional fields are described in API Fields.