Complete a PayPal Transaction

On this page:

Overview

To complete a PayPal transaction you must send a completion POST to the Opayo servers via an HTTPS POST request, sent to the Direct PayPal Completion URL. The data is URL encoded as Name=Value fields separated by ampersand characters.

The response to the completion POST is identical to that of the initial Transaction Registration POST. 

POST

Complete a PayPal Transaction POST

Name

Description

Mandatory

Valid Characters

Max Length

Allowed Values

VPSProtocol

Protocol version used by the system supplied in the Transaction Registration POST.

Yes

Digits and periods
 

 

4.00

TxType

 

Yes

Uppercase letters

15 

COMPLETE

VPSTxId

The Opayo ID to uniquely identify the transaction on our system.

Yes

Letters, digits, hyphens, and curly brackets
   

38 

 

Amount

The transaction amount can vary from the original POST by +/- 15% of the original amount. For example, when delivery prices update when a different address is selected.

Validation:

  • No more than 2 decimal places. For example, 5.67.

  • Minimum for no minor unit currencies like JPY is 1.

  • Amounts must be in the UK currency format.

  • The period must be used to indicate the decimal place. 

The comma must only be used to separate groups of thousands.

Yes

Digits, periods, and commas
  

 

 

 

 

0.01 to 100,000.00

Accept

  • YES = You want to proceed with the PayPal transaction.

  • NO = You want to cancel based on the information returned.

Yes

Uppercase letters

 

 

 

  • YES

  • NO