Здравствуйте, пытаюсь протестировать тестовые платежи.
Карты рабочие, на андроид версии все работает.
Получаю такую вот ошибку после ввода тестовой карты
"Success":false,"ErrorCode":"508","Message":"Неверные параметры.","Details":"Неверный номер карты."}
Лог
[ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/Init, with paramaters: ["TerminalKey": "**********DEMO", "Amount": 32000, "OrderId": 103, "CustomerKey": *******, "Receipt": { Items = ( { Amount = 32000; Name = "\U0414\U043e\U043a\U0443\U043c\U0435\U043d\U0442\U044b"; Price = 32000; Quantity = 1; Tax = none; } ); Phone = "*********"; Taxation = osn; }, "Description": Оплата заказа №602] [ASDK ->]: on <NSThread: 0x60000210d300>{number = 9, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/Init, with response data: {"Success":true,"ErrorCode":"0","TerminalKey":"**********DEMO","Status":"NEW","PaymentId":"900000141162","OrderId":"103","Amount":32000,"PaymentURL":"https://rest-api-test.tinkoff.ru/new/wUTa98Kk"} [ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/Check3dsVersion, with paramaters: ["TerminalKey": "1630948533933DEMO", "CardData": "LAr/Adp/eFFci+blpJO2dlL6ozxOR1RcWCKovNe0TG+18Ie1jOa65GIXQ3NeWebqnfoY4cNpoey0+nYnPzAs8hdzH9hnydetfJMKI4iIK4hbhEoz3a0gk/XFS+BBe8Z5GCtuFIPs4KCPLeHwVRnub+JPVeO24WRd7/YgnvMI8XCVEvCW1log49bTUGhWlbmHmlh2Qjw/LFDXQ8YAP4LwwU2vzxyKO6Qb3XX1vTeUHoLA86BHZYBfHXFybf22CFaoU0ToY3BhAmxhwOOtplO/Q6xxgLQtBrQ8pVp4H2aUO9nzwS7qiMdIC1oJvlx19T9wwqZPppo3zEOlHf87F+YpJA==", "PaymentId": 900000141162] [ASDK ->]: on <NSThread: 0x600002e88d80>{number = 14, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/Check3dsVersion, with response data: {"Success":false,"ErrorCode":"508","Message":"Неверные параметры.","Details":"Неверный номер карты."}
Так же чуть ранее получаю еще одну ошибку, до ввода карты
[ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/GetCardList, with paramaters: ["CustomerKey": *******, "TerminalKey": "*******DEMO"] [ASDK ->]: on <NSThread: 0x600002133040>{number = 13, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/GetCardList, with response data: {"Success":false,"ErrorCode":"9999","Message":"Неверные параметры.","Details":"Поле Token не должно быть пустым."}
Здравствуйте, пытаюсь протестировать тестовые платежи. Карты рабочие, на андроид версии все работает.
Получаю такую вот ошибку после ввода тестовой карты
"Success":false,"ErrorCode":"508","Message":"Неверные параметры.","Details":"Неверный номер карты."}
Лог
[ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/Init, with paramaters: ["TerminalKey": "**********DEMO", "Amount": 32000, "OrderId": 103, "CustomerKey": *******, "Receipt": { Items = ( { Amount = 32000; Name = "\U0414\U043e\U043a\U0443\U043c\U0435\U043d\U0442\U044b"; Price = 32000; Quantity = 1; Tax = none; } ); Phone = "*********"; Taxation = osn; }, "Description": Оплата заказа №602] [ASDK ->]: on <NSThread: 0x60000210d300>{number = 9, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/Init, with response data: {"Success":true,"ErrorCode":"0","TerminalKey":"**********DEMO","Status":"NEW","PaymentId":"900000141162","OrderId":"103","Amount":32000,"PaymentURL":"https://rest-api-test.tinkoff.ru/new/wUTa98Kk"} [ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/Check3dsVersion, with paramaters: ["TerminalKey": "1630948533933DEMO", "CardData": "LAr/Adp/eFFci+blpJO2dlL6ozxOR1RcWCKovNe0TG+18Ie1jOa65GIXQ3NeWebqnfoY4cNpoey0+nYnPzAs8hdzH9hnydetfJMKI4iIK4hbhEoz3a0gk/XFS+BBe8Z5GCtuFIPs4KCPLeHwVRnub+JPVeO24WRd7/YgnvMI8XCVEvCW1log49bTUGhWlbmHmlh2Qjw/LFDXQ8YAP4LwwU2vzxyKO6Qb3XX1vTeUHoLA86BHZYBfHXFybf22CFaoU0ToY3BhAmxhwOOtplO/Q6xxgLQtBrQ8pVp4H2aUO9nzwS7qiMdIC1oJvlx19T9wwqZPppo3zEOlHf87F+YpJA==", "PaymentId": 900000141162] [ASDK ->]: on <NSThread: 0x600002e88d80>{number = 14, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/Check3dsVersion, with response data: {"Success":false,"ErrorCode":"508","Message":"Неверные параметры.","Details":"Неверный номер карты."}
Так же чуть ранее получаю еще одну ошибку, до ввода карты
[ASDK ->]: on main thread, in NetworkTransport.swift, func createRequest(for:), at line: 85 do: 🛫 Start POST request: https://rest-api-test.tcsbank.ru/v2/GetCardList, with paramaters: ["CustomerKey": *******, "TerminalKey": "*******DEMO"] [ASDK ->]: on <NSThread: 0x600002133040>{number = 13, name = (null)}, in NetworkTransport.swift, func send(operation:responseDelegate:completionHandler:), at line: 222 do: 🛬 End request: https://rest-api-test.tcsbank.ru/v2/GetCardList, with response data: {"Success":false,"ErrorCode":"9999","Message":"Неверные параметры.","Details":"Поле Token не должно быть пустым."}