For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authenticating with PAAY 3DS on Landers

3D Secure is the behind-the-scenes protocol that verifies it's really you, in real time, during checkout.

This article is for a direct API integration with Checkout Champ. Follow these instructions to enable PAAY on Checkout Champ hosted pages.


Enable the PAAY Plugin

Follow these steps to enable the PAAY Plugin

Checkout Page

Call the https://api.checkoutchamp.com/order/threeds/authenticate/ endpoint on the checkout page

Field
Required
Note

firstName

Y

lastName

Y

address1

Y

state

Y

city

Y

country

Y

postalCode

Y

campaignId

Y

product1_id

Y

campaign product id (also product2_id, product3_id, etc are allowed)

product1_qty

N

campaign product id quantity (also product2_qty, product3_qty, etc are allowed)

cardNumber

Y

cardMonth

Y

cardYear

Y

salesUrl

Y

The full url of the current page

browserData

Y

paayApiKey

C

  1. Required if the PAAY API key was obtained from an external provider. (or)

  2. Required if you want to use a specific PAAY API key when multiple PAAY plugins are configured

threedsData

O

Authentication Configuration (JSON String Format). See below.

Authentication success...

Evaluating the script will return a token (jwt). Send this token on the Import Order API call as threedsAuthToken. An example of this is in the code sample below.

Authentication failure...

Authentication error...

Upsell Page

Call the https://api.checkoutchamp.com/order/threeds/authenticate/ endpoint on each upsell page, to authenticate upsells

Field
Required
Note

orderId

Y

The orderId returned by Order Import API call

product1_id / productId

Y

The upsell campaign product id

salesUrl

Y

The full url of the current page

browserData

Y

paayApiKey

C

  1. Required if the PAAY API key was obtained from an external provider. (or)

  2. Required if you want to use a specific PAAY API key when multiple PAAY plugins are configured

threedsData

O

Authentication Configuration (JSON String Format). See below.

The responses are the same as noted on the Checkout page

3DS Data

This is a 3DS authentication configuration json string passed as threedsData parameter on both checkout and upsells. The key-value pairs in the json string are detailed in this table. All fields are optional.

Parameter
Description
Example

minimumAmount

Minimum transaction amount to trigger 3DS

100.00

enabledCardTypes

Comma-separated list of allowed card types

VISA, MASTERCARD

binData

Comma-separated BINs

411111,522222

minimumChallengeAmount

Minimum amount to trigger challenge flow

50.00

challengeWindowSize

Refer to PAAY API documentation for supported window sizes (challengeWindowSize)

-

merchantName

The merchant name to be used in the 3DS request

-

requestorName

The threeDSRequestor name to be used in the 3DS request

-

challengeIndicator

Refer PAAY API documentation for supported values (challengeIndicator)

-

forceTimeOut

Force the PAAY challenge time-out in a specific duration (seconds)

rejectOrder

Use this flag to identify validation errors returned by PAAY; if blockOrder is 1 on the response, the order should not be processed.

1 or 0

Code Examples

Client-side code (sample)

Server-side code (sample)


Testing

If the 3DS parameters are passed in properly on the Import call and the transaction goes to a gateway that accepts 3rd Party 3DS you will see a tag that says *3DSecure underneath the result of the transaction.


Suggested PAAY Practices

Rebills

The recommendation is to use PAAY 3RI for rebill authentication

Trial Authentications

For trials, we recommend following these practices:

  • Hold Trial Charge - Authenticate the cycle 2 transaction amount and send as the initial authentication amount. Do not attempt a PAAY rebill authentication.

  • Full Authorize & Void and Validate Card Trials or any trial with either no cycle 1 price or only shipping for cycle 1 - Run the PAAY authentication using the cycle 2 transaction amount and then send to Checkout Champ as rebill 3DS parameters.

Last updated