Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

At this point, the required 3DS values for the Sale API have been received either from:

...

The required Sale 3DS fields

The required 3ds properties to go inside the Sale payload are

...

Code Block
languagejs
function mapThreeDsVals(response){
    const eci = response.threeDSProviderResponse.eci;
    const cavv = response.threeDSProviderResponse.cavv;
    const dsTransactionId = response.threeDSProviderResponse.threeDs2TransactionId;
    const version = response.threeDSProviderResponse.threeDsVersion;
    const threeDsVals = { dsTransactionId, eci, cavv, version };
    return threeDsVals;
}

Create the Sale API request payload

To perform the SALE, read the API docs here.

...