Content
Sommaire | ||||
---|---|---|---|---|
|
3DS Payment in direct mode
3D Secure payment is done in two steps:
- Card enrollment verification to 3D Secure system and authentication.
- Payment request.
Integration
You must use verifyEnrollment and doAuthorization web services of the Payline API.
Diagramme draw.io | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Steps :
- The consumer validates his cart shopping and fill the payment data to check enrollment by merchand request;
- The merchant redirects the consumer to the bank's authentication page;
- The merchant can then make a payment request with the authentication information with service doAuthorization;
- The merchant must retrieve transaction information with the getTransactionDetails service.
API services
panelPage Tree |
---|
|
title | 1. Verification Request for Card Enrollment with VerifyEnrollment Service |
---|
You must first request verification of credit card registration with Payline with verifyEnrollement service:
* Values are generated dynamically and will be renewed for each request.
title | 2. Consumer Redirection for Authentication |
---|
You must fulfill the consumer's 3DS authentication request.
To do it, you must redirect the consumer to ActionUrl URL with the parameters that you find in verifyEnrollementResponse service.
Check the method used POST or GET of actionMethod.
- in POST you post a method form with fields names and values , adding the termUrl on which the user will be redirected;
- in GET you will be able to transmit the names and the values in URL parameters.
The parameters are indicated by fields and values dynamically: with each call, they can be modified.
|
parameter name
parameter value pareqFieldName
title | 3. The payment request with the service doAuthorization |
---|
You must retrieve MD information and pares back from 3DS authentication to transmit them in payment request to Payline:
3DSecure.pares
title | 4. Retrieving the details of the transaction with the service getTransactionDetails |
---|
You must retrieve all information by calling getTransactionDetails service:
getTransactionDetails
Back Office example
Example of transaction detail screen