admin Posted July 20, 2012 Report Share Posted July 20, 2012 Модуль оплаты через сайт Robokassа.ruhttps://yadi.sk/d/QIWTIseVfpeTR Quote Link to comment Share on other sites More sharing options...
Point Posted October 28, 2015 Report Share Posted October 28, 2015 При проведении платежей через магазин Робокассы почему-то регулярно приходит запрос, в котором вместо переменной Shp_account приходит переменная Shp_item. в результате запрос отклоняется с ошибкой bad sign, в лог payment.log пишется: 2015-10-27T20:28:45+05:00 ERR (3): Ошибка при зачисление денег от robokassa для на сумму 250 руб. Md5 signature is wrong, соответственно платеж на лицевой счет не зачисляется, хотя в магазине робокассы платеж становится выполненым. вот пример правильного запроса: Запрос out_summ=250.000000&OutSum=250.000000&inv_id=621783985&InvId=621783985&crc=14750BC4386B26777DE37556044956BF&SignatureValue=14750BC4386B26777DE37556044956BF&PaymentMethod=OceanBank&IncSum=250.000000&IncCurrLabel=BANKOCEAN2R&Shp_account=11618 Ответ OK621783985вот кривой Запрос out_summ=500.000000&OutSum=500.000000&inv_id=60245807&InvId=60245807&crc=15EEBA852C6A12D98108CDF69612870C&SignatureValue=15EEBA852C6A12D98108CDF69612870C&PaymentMethod=OceanBank&IncSum=500.000000&IncCurrLabel=BANKOCEAN2R&Shp_item=7903 Ответ bad signкаких-либо зависимостей не выявлено.как лечить? Quote Link to comment Share on other sites More sharing options...
admin Posted October 29, 2015 Author Report Share Posted October 29, 2015 там скорее всего суммы должны быть с 2 знаками после запятой250.00надо будет проверить, Quote Link to comment Share on other sites More sharing options...
Point Posted November 2, 2015 Report Share Posted November 2, 2015 В общем, проблема разрешилась- в скрипте надо мзменить url мерчанта на новый https://merchant.roboxchange.com/Index.aspx => https://auth.robokassa.ru/Merchant/Index.aspx Quote Link to comment Share on other sites More sharing options...
Ivanes Posted March 23, 2016 Report Share Posted March 23, 2016 Подскажите пожалуйста, данный скрипт ещё актуален ? Quote Link to comment Share on other sites More sharing options...
admin Posted March 23, 2016 Author Report Share Posted March 23, 2016 да Quote Link to comment Share on other sites More sharing options...
Trider Posted October 23, 2016 Report Share Posted October 23, 2016 Здравствуйте! Уточните пожалуйста, если в утм подключен базовый модуль и модуль осмп, то данный модуль робокассы заработает? Quote Link to comment Share on other sites More sharing options...
admin Posted October 24, 2016 Author Report Share Posted October 24, 2016 этот отдельный модуль, он не зависит от них Quote Link to comment Share on other sites More sharing options...
Point Posted June 9, 2018 Report Share Posted June 9, 2018 Добрый день! с 21.07.18 г. робокасса переходит на новое решение «Робочеки», необходимо настроить "передачу информации о составе корзины" https://docs.robokassa.ru/?_ga=2.202226321.167824674.1525786637-1237898267.1521542726#6865 как это сделать в этом модуле? Quote Link to comment Share on other sites More sharing options...
admin Posted June 9, 2018 Author Report Share Posted June 9, 2018 $account = intval($form->getValue('account')); $receipt = array( 'sno' => 'osn', // Поменять на своё 'items' => array( array( "name" => "Название товара 1", // Поменять на своё "quantity" => 1.0, "sum" => $out_summ, "tax" => "vat10" // Поменять на своё ) ) ); // build CRC value $crc = md5( $this->config->robokassa->login . ':' . $out_summ . '::'.json_encode($receipt). ':' . $this->config->robokassa->pass1 . ':Shp_account=' . $account ); $url = '?OutSum=' . $out_summ . '&MrchLogin=' . $this->config->robokassa->login . '&Culture=' . $this->config->robokassa->lang . '&IncCurrLabel=' . $this->config->robokassa->curr . '&Encoding=' . $this->config->robokassa->encoding . '&Receipt=' . json_encode($receipt) . '&Shp_account=' . $account . '&Desc=' . $this->basic_account . '. Оплата за услуги.' . '&SignatureValue=' . $crc; modules\billing\controllers\RobokassaController.php Попробуйте так в indexAction в resultAction вероятно тоже надо $receipt добавлять для $crc, в документации ничего не написано или я не нашёл Quote Link to comment Share on other sites More sharing options...
Point Posted June 13, 2018 Report Share Posted June 13, 2018 ок, спасибо , буду пробовать по их примеру для демо-магазина result.php: $my_crc = strtoupper(md5("$out_summ:$inv_id:$mrh_pass2:Shp_item=$shp_item")); Quote Link to comment Share on other sites More sharing options...
Point Posted June 13, 2018 Report Share Posted June 13, 2018 UPD апач ругается: PHP Parse error: syntax error, unexpected ':', expecting ']' in /var/www/utm_v2/application/modules/billing/controllers/RobokassaController.php on line 65 65 строка-это "name": "Название товара 1", // Поменять на своё Quote Link to comment Share on other sites More sharing options...
admin Posted June 13, 2018 Author Report Share Posted June 13, 2018 поправил Quote Link to comment Share on other sites More sharing options...
Point Posted June 13, 2018 Report Share Posted June 13, 2018 дополнительные квадратные скобки тоже не ест, так же ругается на двоеточие Quote Link to comment Share on other sites More sharing options...
admin Posted June 13, 2018 Author Report Share Posted June 13, 2018 может у вас старая версия php. Тогда надо [ ... ] поменять на array( ... ) 1 Quote Link to comment Share on other sites More sharing options...
Point Posted June 13, 2018 Report Share Posted June 13, 2018 (edited) с двумя "array" получилось, спасибо жду когда новый вид фискализации включат Edited June 13, 2018 by Point Quote Link to comment Share on other sites More sharing options...
Point Posted July 2, 2018 Report Share Posted July 2, 2018 Спасибо, всё получилось Quote Link to comment Share on other sites More sharing options...
user122 Posted March 4, 2020 Report Share Posted March 4, 2020 (edited) Здравствуйте! Установил ваш модуль робокассы, пытаюсь настроить. Когда вводишь ссумму и нажимаешь оплатить робокаса выдает такую ошибку. Подскажите в чем может быть ошибка? Использую тестовую среду робокассы Edited March 4, 2020 by user122 Quote Link to comment Share on other sites More sharing options...
admin Posted March 4, 2020 Author Report Share Posted March 4, 2020 здесь нужно смотреть на их стороне, возможно изменилось api Quote Link to comment Share on other sites More sharing options...
user122 Posted March 23, 2020 Report Share Posted March 23, 2020 Здравствуйте! Подскажите пожалуйста в вашем модуле, какой файл отвечает за инициализацию оплаты, а именно ту часть которая формирует Signature? Quote Link to comment Share on other sites More sharing options...
user122 Posted March 23, 2020 Report Share Posted March 23, 2020 По робокассе оплата прошла, но на лицевой счет абонента деньги не поступили, скажите в чем может быть проблема? Quote Link to comment Share on other sites More sharing options...
admin Posted March 23, 2020 Author Report Share Posted March 23, 2020 Мне сложно сказать, модуль был разработан давно, и с тех пор многое могло поменяться в api robokassa. Проверьте что у вас отрабатывает утилита по внесению платежей от utm, правильный путь до нее, достаточные права Quote Link to comment Share on other sites More sharing options...
user122 Posted March 23, 2020 Report Share Posted March 23, 2020 Подскажите какой адрес указывать в в скриншоте и где этот адрес взять? Quote Link to comment Share on other sites More sharing options...
admin Posted March 23, 2020 Author Report Share Posted March 23, 2020 В архиве есть readme файл, но я напомню, что возможно модуль уже не актуален. Quote Link to comment Share on other sites More sharing options...
user122 Posted March 23, 2020 Report Share Posted March 23, 2020 (edited) Вопрос по редми, где взять файлы? (result, success, fail) Edited March 23, 2020 by user122 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.