Answer the question
In order to leave comments, you need to log in
How to test robokassa?
Why is test payment not available on robokassa, but normal payment is available?
For the test Variant I use test.robokassa.ru/Index.aspx in the action, for normal payment https://auth.robokassa.ru/Merchant/Index.aspx.
I tried to enter test password 1, but nothing works, but there is a normal password 1 to enter, then everything is fine.
1) How can I test the robokassa of this store, which is already activated?
2) How to understand that the store is activated?
I do it by hand
<?php
// регистрационная информация (Идентификатор магазина, пароль #1)
// registration info (Merchant ID, password #1)
$mrh_login = "demo";
$mrh_pass1 = "Password_1";
// номер заказа
// number of order
$inv_id = 12345;
// описание заказа
// order description
$inv_desc = "Техническая документация по ROBOKASSA";
// сумма заказа
// sum of order
$out_summ = "8.96";
// тип товара
// code of goods
$shp_item = 1;
// предлагаемая валюта платежа
// default payment e-currency
$in_curr = "BANKOCEAN2R";
// язык
// language
$culture = "ru";
// кодировка
// encoding
$encoding = "utf-8";
// Адрес электронной почты покупателя
// E-mail
$Email = "[email protected]";
// Срок действия счёта
// Expiration Date
$ExpirationDate = "2029-01-16T12:00";
// Валюта счёта
// OutSum Currency
$OutSumCurrency = "USD";
// формирование подписи
// generate signature
$crc = md5("$mrh_login:$out_summ:$inv_id:$OutSumCurrency:$mrh_pass1:Shp_item=$shp_item");
// форма оплаты товара
// payment form
print
"<html>".
"<form action='https://auth.robokassa.ru/Merchant/Index.aspx' method=POST>".
"<input type=hidden name=MerchantLogin value=$mrh_login>".
"<input type=hidden name=OutSum value=$out_summ>".
"<input type=hidden name=InvId value=$inv_id>".
"<input type=hidden name=Description value='$inv_desc'>".
"<input type=hidden name=SignatureValue value=$crc>".
"<input type=hidden name=Shp_item value='$shp_item'>".
"<input type=hidden name=IncCurrLabel value=$in_curr>".
"<input type=hidden name=Culture value=$culture>".
"<input type=hidden name=Email value=$Email>".
"<input type=hidden name=ExpirationDate value=$ExpirationDate>".
"<input type=hidden name=OutSumCurrency value=$OutSumCurrency>".
"<input type=submit value='Оплатить'>".
"</form></html>";
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question