Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

Content

Sommaire
maxLevel2
stylenone


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
baseUrlhttps://payline.atlassian.net/wiki
diagramNameUntitled Diagram.drawio
width1254
contentId15859064991580204925
zoom1
simple0
pageId1414692917
lbox1
diagramDisplayNameDiagram transaction 3DS EN
contentVer1
height478
revision2


Steps :

  1. The consumer validates his cart shopping and fill the payment data to check enrollment by merchand request;
  2. The merchant redirects the consumer to the bank's authentication page;
  3. The merchant can then make a payment request with the authentication information with service doAuthorization;
  4. The merchant must retrieve transaction information with the getTransactionDetails service.


API services


Volet


Développer
title 1. Verification Request for Card Enrollment with VerifyEnrollment Service
You must first request verification of credit card registration with Payline with verifyEnrollement service:
verifyEnrollment
RequestResponse
version18version18
card.number497010XXXXXX1646result.code03000
card.expirationDate1222result.shortMessageACCEPTED
card.cvx123result.longMessageTransaction accepted
payment.amount10000termurlName*TermUrl
payment.action101termurlValue*NULL
payment.modeCPTmdFieldName*MD
payment.contractNumberVAD3DSmdFieldValue*2KJw5rL1N7pZRsfS8Xiw
orderRefPHP1544091439pareqFieldName*PaReq


pareqFieldValue*eJxVkW9vgjAQxr+K8QPQ8k/AnE10bJlZ1MXpsr0yTbkMohQsMMVPvxZxbq96v+fa691zsEkVYvyGolHIYIFVxb9wkCWT..


actionMethodPOST


ActionUrlhttps://3ds-acs.test.modirum.com/mdpayacs/pareq


token4970zSIkspmH5670

*  Values ​​are generated dynamically and will be renewed for each request.




Volet


Développer
title2. 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.


(avertissement) The parameters are indicated by fields and values ​​dynamically: with each call, they can be modified.


pareqFieldName
parameter name
pareqFieldValue
parameter value pareqFieldName
termUrlNameparameter name
termUrlValueparameter value termUrlName
midFieldNameparameter name
midFieldNameparameter value midFieldName





Volet


Développer
title3. 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:

doAuthorization
RequestResponse
version
result.code00000
payment.amount
result.shortmessageACCPTED
payment.action101result.longmessageTransaction approved
payment.modeCPTtransaction.id28340115745009
payment.contractNumberVAD3DStransaction.date07/04/2018 11:27:45
card.number4970100012345670authorization.numberACCOR0
card.expirationDate1222authorization.date07/04/2018 11:27:45
card.cvx123card.number497010XXXXXX5670
order.refPHP1544091439card.typeCB
buyer.customerIdID12654895card.expirationDate1222
3DSecure.md2KJw5rL1N7pZRsfS8Xiwcard.token4970zSIkspmH5670

3DSecure.pares

eJxVkW9vgjAQxr+K8QPQ8k/AnE10bJlZ1MXpsr0yTbkMohQsMMVPvxZxbq96v+fa691zsEkVYvyGolHIYIFVxb9wkCWT..contractNumberVAD3DS





Volet


Développer
title4. Retrieving the details of the transaction with the service getTransactionDetails

You must retrieve all information by calling getTransactionDetails service:

getTransactionDetails

RequestResponse
transactionId28340115745009result.code00000
orderRefPHP1544091439result.shortmessageACCPTED
version18result.longmessageTransaction approved


transaction.....


payment.....


authorization....


order.....


buyer.....




Back Office example


Example of transaction detail screen