ТЕСТ QR КОДА - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of ТЕСТ QR КОДА.php
- <?
- $mrh_login = "letai-rf";
- $mrh_pass1 = "191100Ybrbnf";
- $inv_id = 0;
- $inv_desc = "Платье";
- $out_summ = "100.00";
- $IsTest = 1;
- $Receipt = "%7B%22items%22:%5B%7B%22name%22:%22%D0%9F%D0%BB%D0%B0%D1%82%D1%8C%D0%B5%20%D0%B6%D0%B5%D0%BD%D1%81%D0%BA%D0%BE%D0%B5%20%D0%B0%D1%80%D1%82.191100%22,%22quantity%22:1,%22sum%22:2500,%22payment_method%22:%22full_payment%22,%22payment_object%22:%22commodity%22,%22tax%22:%22none%22,%22nomenclature_code%22:%22010462008740721721meTWWXIxfOm%3EM%22%7D%5D%7D";
- $crc = md5("$mrh_login:$out_summ:$inv_id:$mrh_pass1");
- print "<html><script language=JavaScript ".
- "src='https://auth.robokassa.ru/Merchant/PaymentForm/FormMS.js?".
- "MerchantLogin=$mrh_login&OutSum=$out_summ&InvoiceID=$inv_id".
- "&Description=$inv_desc&SignatureValue=$crc&IsTest=$IsTest'></script></html>";
- ?>