Обновили 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
Добрый день.
Обновили 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