ТЕСТ 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.



Your result can be seen below.

Result of php executing





Full code of ТЕСТ QR КОДА.php

  1. <?
  2.           $mrh_login = "letai-rf";
  3.           $mrh_pass1 = "191100Ybrbnf";
  4.           $inv_id = 0;
  5.           $inv_desc = "Платье";
  6.           $out_summ = "100.00";
  7.           $IsTest = 1;
  8.           $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";
  9.           $crc = md5("$mrh_login:$out_summ:$inv_id:$mrh_pass1");
  10.           print "<html><script language=JavaScript ".
  11.             "src='https://auth.robokassa.ru/Merchant/PaymentForm/FormMS.js?".
  12.             "MerchantLogin=$mrh_login&OutSum=$out_summ&InvoiceID=$inv_id".
  13.  
  14.         "&Description=$inv_desc&SignatureValue=$crc&IsTest=$IsTest'></script></html>";
  15.         ?>
File Description
  • ТЕСТ QR КОДА
  • PHP Code
  • 02 Jun-2023
  • 938 Bytes
You can Share it: