tinkoff-mobile-tech / tinkoff-asdk-android

Other
56 stars 28 forks source link

SBP error SDK v2.5.4 #75

Closed edgartomasov closed 2 years ago

edgartomasov commented 2 years ago

Добрый день.

Обновили SDK до версии 2.5.4 в андроид проекте. После обновления метод вызова СБП перестал работать. tinkoffAcquiring.payWithSbp(activity, paymentOptions, REQUEST_CODE_TINKOFF_PAYMENT)

Лог: I/System.out: Tinkoff Acquiring SDK: === Sending POST request to https://securepay.tinkoff.ru/v2/Init I/System.out: Tinkoff Acquiring SDK: === Got server response: {"Success":true,"ErrorCode":"0","TerminalKey":"161174######DEMO","Status":"NEW","PaymentId":"930560717","OrderId":"109","Amount":619000,"PaymentURL":"https://securepay.tinkoff.ru/new/diybkQhC"} I/System.out: Tinkoff Acquiring SDK: === Request done with success, sent for processing I/System.out: Tinkoff Acquiring SDK: === Parameters: {"PaymentId":"930560717","TerminalKey":"161174######DEMO","DataType":"PAYLOAD"} I/System.out: Tinkoff Acquiring SDK: === Sending POST request to https://securepay.tinkoff.ru/v2/GetQr I/System.out: Tinkoff Acquiring SDK: === Got server response: {"Success":false,"ErrorCode":"9999","Message":"Неверные параметры.","Details":"Поле Token не должно быть пустым."} I/System.out: Tinkoff Acquiring SDK: === Request done with fail

IlnarH commented 2 years ago

Здравствуйте, а с какой версии SDK обновляетесь?

edgartomasov commented 2 years ago

2.3.0

IlnarH commented 2 years ago

Сообщите, пожалуйста, ваш TerminalKey, возможно, он неправильно настроен, уточню у коллег.

edgartomasov commented 2 years ago

TerminalKey - 1637833180587