3DS1 - Disengaged authentication
To test this scenario, use one of the card numbers below:
CARD | Expiry date | Label |
---|---|---|
4970100000000022 | To be chosen | VISA |
5970100300000026 | To be chosen | MASTERCARD |
378283000000002 | To be chosen | AMEX |
Exchange flow
1. Initial call to the PCI/Charge/CreatePayment service with a 3D Secure preference set to "DISABLED".
{ "amount": "9990", "currency": "XPF", "orderId": "myOrderId-448631", "formAction": "PAYMENT", "strongAuthentication":"DISABLED", "paymentForm": { "expiryMonth": "11", "expiryYear": "27", "pan": "4970100000000022", "securityCode":"123" }, "customer":{ "email":"sample@example.com" }, "device": { "acceptHeader": "text/html", "colorDepth": "32", "deviceType": "BROWSER", "ip": "69.89.31.226", "javaEnabled": true, "language": "FR", "screenHeight": "768", "screenWidth": "1258", "timeZoneOffset": "-120", "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101" } }
2. Return from the payment gateway server with the final payment result.
{ "webService": "PCI/Charge/CreatePayment", "version": "V4", "applicationVersion": "5.29.0", "status": "SUCCESS", "answer": { "shopId": "12345678", "orderCycle": "CLOSED", "orderStatus": "PAID", "serverDate": "2021-11-29T15:47:17+00:00", "orderDetails": { "orderTotalAmount": 9990, "orderEffectiveAmount": 9990, "orderCurrency": "XPF", "mode": "TEST", "orderId": "myOrderId-448631", "_type": "V4/OrderDetails" }, "customer": { "email": "sample@example.com", "extraDetails": { "ipAddress": "185.244.73.2", "browserUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "_type": "V4/Customer/ExtraDetails" }, "_type": "V4/Customer/Customer" }, "transactions": [ { "shopId": "12345678", "uuid": "92cfb21b851748a28a9700334c2de3b6", "amount": 9990, "currency": "XPF", "paymentMethodType": "CARD", "status": "PAID", "detailedStatus": "AUTHORISED", "operationType": "DEBIT", "effectiveStrongAuthentication": "DISABLED", "creationDate": "2021-11-29T15:47:16+00:00", "transactionDetails": { "liabilityShift": "NO", "effectiveAmount": 9990, "effectiveCurrency": "XPF", "creationContext": "CHARGE", "cardDetails": { "paymentSource": "EC", "manualValidation": "NO", "expectedCaptureDate": "2021-12-05T15:57:16+00:00", "effectiveBrand": "VISA", "pan": "497010XXXXXX0022", "expiryMonth": 11, "expiryYear": 2027, "country": "FR", "issuerCode": null, "issuerName": "Banque de démo et de l'innovation", "effectiveProductCode": "F", "legacyTransId": "908650", "legacyTransDate": "2021-11-29T15:47:16+00:00", "paymentMethodSource": "NEW", "authorizationResponse": { "amount": 990, "currency": "XPF", "authorizationDate": "2021-11-29T15:47:16+00:00", "authorizationNumber": "3fea2c", "authorizationResult": "0", "authorizationMode": "FULL", "_type": "V4/PaymentMethod/Details/Cards/CardAuthorizationResponse" }, "authenticationResponse": null, "_type": "V4/PaymentMethod/Details/CardDetails" }, "mid": "9876357", "sequenceNumber": 1, "tid": "001", "acquirerNetwork": "CB", "userInfo": "API REST", "occurrenceType": "UNITAIRE", "_type": "V4/TransactionDetails" }, "_type": "V4/PaymentTransaction" } ], "_type": "V4/Payment" }, "ticket": "989f136d996846bfbe7f4e43cc725bdf", "serverDate": "2021-11-29T15:47:17+00:00", "applicationProvider": "", "mode": "TEST", "serverUrl": "https://api.secure.osb.pf", "_type": "V4/WebService/Response" }