Arborescence des pages

Vous regardez une version antérieure (v. /pages/viewpage.action?pageId=747145964) de cette page.

afficher les différences afficher l'historique de la page

« Afficher la version précédente Vous regardez la version actuelle de cette page. (v. 10) afficher la version suivante »

Content


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.


draw.io

Erreur d'accès à la page source : la page associée au lien ci-dessous existe-t-elle?
/pages/viewpage.action?pageId=1414692917


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


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.

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

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

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

  • Aucune étiquette