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
contentIdsimpleViewer1562575144false
zoom1
simple0
pageId1414692917
lbox1true
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

panel


Diagramme draw.io



expand
Diagramme draw.io
title 1. Verification Request for Card Enrollment with VerifyEnrollment Service
You must first request verification of credit card registration with Payline with verifyEnrollement service:
verifyEnrollmentRequestResponseversion18version18card.number497010XXXXXX1646result.code03000card.expirationDate1222result.shortMessageACCEPTEDcard.cvx123result.longMessageTransaction acceptedpayment.amount10000termurlName*TermUrlpayment.action101termurlValue*NULLpayment.modeCPTmdFieldName*MDpayment.contractNumberVAD3DSmdFieldValue*2KJw5rL1N7pZRsfS8XiworderRefPHP1544091439pareqFieldName*PaReqpareqFieldValue*eJxVkW9vgjAQxr+K8QPQ8k/AnE10bJlZ1MXpsr0yTbkMohQsMMVPvxZxbq96v+fa691zsEkVYvyGolHIYIFVxb9wkCWT..actionMethodPOSTActionUrlhttps://3ds-acs.test.modirum.com/mdpayacs/pareqtoken4970zSIkspmH5670

*  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.



Diagramme draw.io



Diagramme draw.io
pareqFieldName
parameter name
pareqFieldValue
parameter value pareqFieldName
termUrlNameparameter nametermUrlValueparameter value termUrlNamemidFieldNameparameter namemidFieldNameparameter 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:

doAuthorizationRequestResponseversionresult.code00000payment.amountresult.shortmessageACCPTEDpayment.action101result.longmessageTransaction approvedpayment.modeCPTtransaction.id28340115745009payment.contractNumberVAD3DStransaction.date07/04/2018 11:27:45card.number4970100012345670authorization.numberACCOR0card.expirationDate1222authorization.date07/04/2018 11:27:45card.cvx123card.number497010XXXXXX5670order.refPHP1544091439card.typeCBbuyer.customerIdID12654895card.expirationDate12223DSecure.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

RequestResponsetransactionId28340115745009result.code00000orderRefPHP1544091439result.shortmessageACCPTEDversion18result.longmessageTransaction approvedtransaction.....payment.....authorization....order.....buyer.....


Back Office example


Example of transaction detail screen