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. 2) afficher la version suivante »

Content


3DS Payment in direct mode

3D Secure payment is done in two steps:

  • Verification of the enrollment of the card to the 3D Secure system and authentication of the bearer.
  • Payment request. 


Integration

You must use the 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=1121355152


Steps :

  1. The consumer validates his basket and informs his payment data so that Payline verifies the enrollment on merchand request with the verifyEnrollment service;
  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 the service doAuthorization;
  4. The merchant must retrieve transaction information with the getTransactionDetails service.


API services


You must first request verification of the credit card registration with Payline with the 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

* Attention 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 the names and values ​​of the fields: name and value, adding the termUrl on which the user will be redirected;
  • in GET you will be able to transmit the names and the values ​​in parameters of the URL.


(avertissement) The parameters are indicated by the fields and the 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 the MD information and pares back from the 3DS authentication to transmit them in the 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 the getTransactionDetails service:

getTransactionDetails

RequestResponse
transactionId28340115745009result.code00000
orderRefPHP1544091439result.shortmessageACCPTED
version18result.longmessageTransaction approved


transaction.....


payment.....


authorization....


order.....


buyer.....

Back Office example


Example of the transaction detail screen

  • Aucune étiquette