0
Не ошибка

invalid encoding object

scomm 12 месяцев назад обновлен Специалист Техподдержки 12 месяцев назад 11

Добрый день!

Получаю данные методом objectInfoFull:

   
     ....
      'CADNOMER' => '77:09:0001003:1359',
   ...
  'encoded_object' => '15mOiU2YpJHcyVmdvJCLiMUSTFkQiojImZWayFGdiwCbsVnb6ISZj5WYsFmYfNVSHZkIs0nM6ISuQXL07CdtQLY0wCNtQDL07CdsQ7L0+CtsQDL0AG9vQDivQLL0CGdgRXL0HGNuQvL0+CtmQLCLi8Y0wCdvQLY0BGNsQfK0iojI4CtgRHY0+CdvQ3L01CtsQLY0BGdsQ7L0BGNIwCNvQDY0+CNpQLCLikTMwIjLxAjL5AjI6ICuQjL0GGNsQzL0AGtvQTY09CNuQDyjRjL09CdtQvL0yCtvQ3L0xCtvQDCsQLY0wCNlQLCLi8Y04CdvQXL0JGdtQzL0+C9vQDStQvY07CNuQbJ0gwStQjL09CdtQnY01CNvQ7L0/CNI1CtvQvL04CtlQDCLwCNgRjL0CGNgRDL0yCtmQLiOi8L04CtoQDSKhCtmQ7J0oICLiYDNgIL06CNIsUDI0CNIskL0LGdvQbL01CNgRHL04CNgR/J0gQL03CdtQ7L0AG9vQDCLwCtsQrL0BGtvQzJ0iojIpUL04CdvQXL02CtvQvL0+C9vQ7L0CGdgRXL08CNKgEY01CNgRTL0QCtIsICOxAjMuEDMuEDMiojI4CtgRHY0+CNvQjL0+CtgRHY0g8Y04CdvQXL07CdtQTL01CNgR/L0+CNIwCtgRDL0UCtIsISOxAjMuEDMukDMiojI4CtgRHY0+CNvQjL0+CtgRHY0g8Y04CdvQXL0BGdtQ3L0yCNIwCtgRDL0UCtIsIiNxwyNxYTOyIjNiojIMGtgRHY0+CNvQjL0+CtgRHY0g8Y0wCtsQ7L0AGtgRHY0wCNtQDL0aCtIsICgRLY01CNvQDSuQvY09CtgRDL0AGNtQDL0yCtmQLiOikCtQ7L06CNKg8Y04CdvQXL0AGdtQzL03CNuQDCsQbY04CdvQjL00CdlQ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tC80LXRidC10L3QuNC1IiwiQVJFQSI6IjUxLDUg0LrQsi4g0LwuIiwiQ0FURUdTUlkiOm51bGx9LCJjYWRub21lciI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsImRldGFpbHMiOnsi0KLQuNC%2FINC+0LHRitC10LrRgtCwIjoi0J7QsdGK0LXQutGCINC60LDQv9C40YLQsNC70YzQvdC+0LTQviDRgdGC0YDQvtC40YLQtdC70YzRgdGC0LLQsCIsItCa0LDQtNCw0YHRgtGA0L7QstGL0Lkg0L3QvtC80LXRgCI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsItCh0YLQsNGC0YTRgSDQvtCx0YrQtdC60YLQsCI6ItCg0LDQvdC10LUg0YTRbGx9&documents%5B0%5D=XZP&apikassa%5Bclient_email%5D=strij911%40rambler.ru&apikassa%5Bclient_phone%5D=7%28905%29575-5965&apikassa%5Boverprice%5D%5BXZP%5D=110&apikassa%5Btemplates%5D%5Bcreate%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bviber%5D=default&apikassa%5Bvars%5D%5Bwebsite%5D=https%3A%2F%2Fmfc-d.com

Слеши заменены на  %2F - это результат действия http_build_query

Ответ:{"error":{"code":400,"mess":"Invalid encoding object"}}

Что я делаю не так?

Ответ

Ответ

Вы используете свой ключ для того, чтобы в выписках в качестве получателя было указано ваше имя, а так на тарификацию не влияет.

Ответ

Вы используете свой ключ для того, чтобы в выписках в качестве получателя было указано ваше имя, а так на тарификацию не влияет.

Списывается тогда, когда клиент оплачывает заказ, но для оформления заказа необходимо иметь достаточно средств, чтобы проблемы не возникали со списанием средств в момент когда клиент оплатит.

А если используется свой ключ? Это не влияет?

из ответа видно, что в значении encoded_object знаки + заменены на пробелы. Это мог возникнуть при передачи данных из javascript в php, рекомендуем передавать данные в формате application/json, или использовать javascript функцию encodeURIComponent() для экранирования значения от спец символов.

Вобщем, посимвольно сравнил ключи, искусственн привел все к одному виду. Теперь ошибка:

{"error":{"code":"INSUFFICIENT_FUNDS","mess":"Insufficient funds on the account"}}

В ответе должна же быть ссылка на оплату? Или вначале в любом случае списывается 90 рублей? А если пользователь не оплатит?

Для проверки корректности отправляемых данных на наш сервер, отправляйте запрос на специальный файл https://apirosreestr.ru/request_mirror.php вместо ../cadaster/save_order, который покажет все входящие данные в том виде в каком он видит. Полученный ответ пришлите нам.

{"METHOD":"POST","HEADERS":{"HOST":"apirosreestr.ru","ACCEPT":"*\/*","TOKEN":"6CZP-2QCO-QHGF-DMNM","CONTENT_TYPE":"application\/x-www-form-urlencoded","EXPECT":"100-continue"},"GET":[],"POST":{"encoded_object":"15mOiU2YpJHcyVmdvJCLiMUSTFkQiojImZWayFGdiwCbsVnb6ISZj5WYsFmYfNVSHZkIs0nM6ISuQXL07CdtQLY0wCNtQDL07CdsQ7L0 CtsQDL0AG9vQDivQLL0CGdgRXL0HGNuQvL0 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DQuNCx0YDQtdC20L3Ri9C5LCDQtCA1LCDQutCyIDQ2IiwiQ0FEPk9NRVIiOiI3NzowOPowMDAxMDAzOjEzNPkiLCJUWVBFIjoi0J\/QvtC80LXRidC10L3QuNC1IiwiQVJFQSI6IjUxLDUg0LrQsi4g0LwuIiwiQ0FURUdTUlkiOm51bGx9LCJjYWRub21lciI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsImRldGFpbHMiOnsi0KLQuNC\/INC 0LHRitC10LrRgtCwIjoi0J7QsdGK0LXQutGCINC60LDQv9C40YLQsNC70YzQvdC 0LTQviDRgdGC0YDQvtC40YLQtdC70YzRgdGC0LLQsCIsItCa0LDQtNCw0YHRgtGA0L7QstGL0Lkg0L3QvtC80LXRgCI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsItCh0YLQsNGC0YTRgSDQvtCx0YrQtdC60YLQsCI6ItCg0LDQvdC10LUg0YTRbGx9","documents":["XZP"],"apikassa":{"client_email":"scomm@mail.ru","client_phone":"7(905)575-5965","overprice":{"XZP":"110"},"templates":{"create":{"email":"default","sms":"default","viber":"default"},"check":{"email":"default","sms":"default","viber":"default"},"paid":{"email":"default","sms":"default","viber":"default"},"ready":{"email":"default","sms":"default","viber":"default"},"delay":{"email":"default","sms":"default","viber":"default"},"canceled":{"email":"default","sms":"default","viber":"default"}},"vars":{"website":"https:\/\/mfc-d.com"}}},"FILES":[],"PAYLOAD":"encoded_object=15mOiU2YpJHcyVmdvJCLiMUSTFkQiojImZWayFGdiwCbsVnb6ISZj5WYsFmYfNVSHZkIs0nM6ISuQXL07CdtQLY0wCNtQDL07CdsQ7L0+CtsQDL0AG9vQDivQLL0CGdgRXL0HGNuQvL0+CtmQLCLi8Y0wCdvQLY0BGNsQfK0iojI4CtgRHY0+CdvQ3L01CtsQLY0BGdsQ7L0BGNIwCNvQDY0+CNpQLCLikTMwIjLxAjL5AjI6ICuQjL0GGNsQzL0AGtvQTY09CNuQDyjRjL09CdtQvL0yCtvQ3L0xCt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g0LwuIiwiQ0FURUdTUlkiOm51bGx9LCJjYWRub21lciI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsImRldGFpbHMiOnsi0KLQuNC%2FINC+0LHRitC10LrRgtCwIjoi0J7QsdGK0LXQutGCINC60LDQv9C40YLQsNC70YzQvdC+0LTQviDRgdGC0YDQvtC40YLQtdC70YzRgdGC0LLQsCIsItCa0LDQtNCw0YHRgtGA0L7QstGL0Lkg0L3QvtC80LXRgCI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsItCh0YLQsNGC0YTRgSDQvtCx0YrQtdC60YLQsCI6ItCg0LDQvdC10LUg0YTRbGx9&documents%5B0%5D=XZP&apikassa%5Bclient_email%5D=scomm%40mail.ru&apikassa%5Bclient_phone%5D=7%28905%29575-5965&apikassa%5Boverprice%5D%5BXZP%5D=110&apikassa%5Btemplates%5D%5Bcreate%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bviber%5D=default&apikassa%5Bvars%5D%5Bwebsite%5D=https%3A%2F%2Fmfc-d.com"}{"METHOD":"POST","HEADERS":{"HOST":"apirosreestr.ru","ACCEPT":"*\/*","TOKEN":"6CZP-2QCO-QHGF-DMNM","CONTENT_TYPE":"application\/x-www-form-urlencoded","EXPECT":"100-continue"},"GET":[],"POST":{"encoded_object":"15mOiU2YpJHcyVmdvJCLiMUSTFkQiojImZWayFGdiwCbsVnb6ISZj5WYsFmYfNVSHZkIs0nM6ISuQXL07CdtQLY0wCNtQDL07CdsQ7L0 CtsQDL0AG9vQDivQLL0CGdgRXL0HGNuQvL0 CtmQLCLi8Y0wCdvQLY0BGNsQfK0iojI4CtgRHY0 CdvQ3L01CtsQLY0BGdsQ7L0BGNIwCNvQDY0 CNpQLCLikTMwIjLxAjL5AjI6ICuQjL0GGNsQzL0AGtvQTY09CNuQDyjRjL09CdtQvL0yCtvQ3L0xCtvQDCsQLY0wCNlQLCLi8Y04CdvQXL0JGdtQzL0 C9vQDStQvY07CNuQbJ0gwStQjL09CdtQnY01CNvQ7L0\/CNI1CtvQvL04CtlQDCLwCNgRjL0CGNgRDL0yCtmQLiOi8L04CtoQDSKhCtmQ7J0oICLiYDNgIL06CNIsUDI0CNIskL0LGdvQbL01CNgRHL04CNgR\/J0gQL03CdtQ7L0AG9vQDCLwCtsQrL0BGtvQzJ0iojIpUL04CdvQXL02CtvQvL0 C9vQ7L0CGdgRXL08CNKgEY01CNgRTL0QCtIsICOxAjMuEDMuEDMiojI4CtgRHY0 CNvQjL0 CtgRHY0g8Y04CdvQXL07CdtQTL01CNgR\/L0 CNIwCtgRDL0UCtIsISOxAjMuEDMukDMiojI4CtgRHY0 CNvQjL0 CtgRHY0g8Y04CdvQXL0BGdtQ3L0yCNIwCtgRDL0UCtIsIiNxwyNxYTOyIjNiojIMGtgRHY0 CNvQjL0 CtgRHY0g8Y0wCtsQ7L0AGtgRHY0wCNtQDL0aCtIsICgRLY01CNvQDSuQvY09CtgRDL0AGNtQDL0yCtmQLiOikCtQ7L06CNKg8Y04CdvQXL0AGdtQzL03CNuQDCsQbY04CdvQjL00CdlQLCLiUDLxUjI6ISYnEK0aCtnQDCjRTL0wCdiR7L07C9nQLCLiYjI6IitQDL0CGdrQLCLiITMwIjL1AjL3IjI6IigRXL0HG9gRDSuQvY0yCtvQDY0CGdgRDL00CNsQrL0gAL09CNI4CtuQLL0 CdvQDL0CGdgR7L0\/CNIwCtgRDL0UCtIsISuQvY09CdvQXL0CG9heyJvYmplY3QiOnsiQUREUkVPUyI6ItCc0L7RgdC60LLQsCwg0L\/RgNC 0LXQt9C0INCf0YDQuNCx0YDQtdC20L3Ri9C5LCDQtCA1LCDQutCyIDQ2IiwiQ0FEPk9NRVIiOiI3NzowOPowMDAxMDAzOjEzNPkiLCJUWVBFIjoi0J\/QvtC80LXRidC10L3QuNC1IiwiQVJFQSI6IjUxLDUg0LrQsi4g0LwuIiwiQ0FURUdTUlkiOm51bGx9LCJjYWRub21lciI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsImRldGFpbHMiOnsi0KLQuNC\/INC 0LHRitC10LrRgtCwIjoi0J7QsdGK0LXQutGCINC60LDQv9C40YLQsNC70YzQvdC 0LTQviDRgdGC0YDQvtC40YLQtdC70YzRgdGC0LLQsCIsItCa0LDQtNCw0YHRgtGA0L7QstGL0Lkg0L3QvtC80LXRgCI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsItCh0YLQsNGC0YTRgSDQvtCx0YrQtdC60YLQsCI6ItCg0LDQvdC10LUg0YTRbGx9","documents":["XZP"],"apikassa":{"client_email":"scomm@mail.ru","client_phone":"7(905)575-5965","overprice":{"XZP":"110"},"templates":{"create":{"email":"default","sms":"default","viber":"default"},"check":{"email":"default","sms":"default","viber":"default"},"paid":{"email":"default","sms":"default","viber":"default"},"ready":{"email":"default","sms":"default","viber":"default"},"delay":{"email":"default","sms":"default","viber":"default"},"can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QLCLiYjI6IitQDL0CGdrQLCLiITMwIjL1AjL3IjI6IigRXL0HG9gRDSuQvY0yCtvQDY0CGdgRDL00CNsQrL0gAL09CNI4CtuQLL0+CdvQDL0CGdgR7L0%2FCNIwCtgRDL0UCtIsISuQvY09CdvQXL0CG9heyJvYmplY3QiOnsiQUREUkVPUyI6ItCc0L7RgdC60LLQsCwg0L%2FRgNC+0LXQt9C0INCf0YDQuNCx0YDQtdC20L3Ri9C5LCDQtCA1LCDQutCyIDQ2IiwiQ0FEPk9NRVIiOiI3NzowOPowMDAxMDAzOjEzNPkiLCJUWVBFIjoi0J%2FQvtC80LXRidC10L3QuNC1IiwiQVJFQSI6IjUxLDUg0LrQsi4g0LwuIiwiQ0FURUdTUlkiOm51bGx9LCJjYWRub21lciI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsImRldGFpbHMiOnsi0KLQuNC%2FINC+0LHRitC10LrRgtCwIjoi0J7QsdGK0LXQutGCINC60LDQv9C40YLQsNC70YzQvdC+0LTQviDRgdGC0YDQvtC40YLQtdC70YzRgdGC0LLQsCIsItCa0LDQtNCw0YHRgtGA0L7QstGL0Lkg0L3QvtC80LXRgCI6Ijc3OjA5OjAwMDEwMDM6MPM1OSIsItCh0YLQsNGC0YTRgSDQvtCx0YrQtdC60YLQsCI6ItCg0LDQvdC10LUg0YTRbGx9&documents%5B0%5D=XZP&apikassa%5Bclient_email%5D=scomm%40mail.ru&apikassa%5Bclient_phone%5D=7%28905%29575-5965&apikassa%5Boverprice%5D%5BXZP%5D=110&apikassa%5Btemplates%5D%5Bcreate%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcreate%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcheck%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bpaid%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bready%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bdelay%5D%5Bviber%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bemail%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bsms%5D=default&apikassa%5Btemplates%5D%5Bcanceled%5D%5Bviber%5D=default&apikassa%5Bvars%5D%5Bwebsite%5D=https%3A%2F%2Fmfc-d.com"}

На рассмотрении

Добрый день!

Вы вручную скопировали и вставили значение encoded_object в php код ?

Нет, javascript запрашивает objectInfoFull через php-скрипт, затем отправляет encoded_object в тот же скрипт для save_order. PHP скрипт взят из вашего примера (функция api)

Сервис поддержки клиентов работает на платформе UserEcho