Я использую Cardinal Cruise Hybrid для 3D-безопасности.Я следовал документации, предоставленной Кардинал Круз .Я создал JWT с PHP.Я использую Cardinal Cruise Javascript Активация учетных данных .Я получаю ответ cmpi_lookup и cmpi_authenticate с Visa и master.
Я не могу получить ответ cmpi_lookup с картой Amex.Может ли кто-нибудь помочь мне решить эту проблему?Мой код JS
Cardinal.configure({
logging: {
level: "on"
}
});
var orderObject = {
"Authorization": {
"AuthorizeAccount": true
},
"Cart": [
{
"Name": "test",
"SKU": "sdsadsf",
"Quantity": "3",
"Description": "ccccc"
}
],
"Consumer": {
"Email1": "test@mail.com",
"Email2": "test1@mail.com",
"ShippingAddress": {
"FullName": "John Smith",
"FirstName": "John",
"MiddleName": "",
"LastName": "Smith",
"Address1": "8100 Tyler Blvd.",
"Address2": "",
"Address3": "",
"City": "Mentor",
"State": "Ohio",
"PostalCode": "44060",
"CountryCode": "US",
"Phone1": "",
"Phone2": ""
},
"BillingAddress": {
"FullName": "John Smith",
"FirstName": "John",
"MiddleName": "",
"LastName": "Smith",
"Address1": "8100 Tyler Blvd.",
"Address2": "",
"Address3": "",
"City": "Mentor",
"State": "Ohio",
"PostalCode": "44060",
"CountryCode": "US",
"Phone1": "",
"Phone2": ""
},
"Account": {
"AccountNumber": 340000000003961,
"ExpirationMonth": 01,
"ExpirationYear": 2022,
"CardCode": 0775,
"NameOnAccount": "John Smith"
}
},
"Options": {
"EnableCCA": true
},
"OrderDetails": {
"OrderNumber": Math.random(0, 1000000) + "-shzs",
"Amount": 25.00,
"CurrencyCode": "840",
"OrderDescription": "nothg",
"OrderChannel": "S",
"TransactionId": "2fDSaySnCmDGCjPglzqX"
},
"Token": {
"Token": "",
"CardCode": 0775,
"ExpirationMonth": 01,
"ExpirationYear": 2022
},
"CCAExtension" : {
"AcquirerId" : "",
"AcquirerMerchantId" : "",
"AcquirerPassword" : "",
"CountryCodeOverride" : "US",
"FormId" : "",
"MerchantName" : "devCenterMerchant",
"MerchantUrl" : "https://centineltest.cardinalcommerce.com/maps/txns.asp",
"PAResPayload" : "",
"ProductCode" : "01",
"ShippingMethod" : "01"
}
};
Cardinal.setup('init', {
jwt: document.getElementById('JWTContainer').value,
order: orderObject
});
Cardinal.on('payments.setupComplete', function(){
Cardinal.start('cca', orderObject);
});
Получение ответа
ActionCode: "NOACTION"
ErrorDescription: "Error in service CCA lookup"
ErrorNumber: 9000
ECIFlag: "07"
Enrolled: "U"