Skip to content

receiver1/anypay_sci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

anypay_sci / SCI для anypay.io

Создание платежа:

$sci = new \Payment\AnyPay("project_id", "secret_key");
$sci->create_payment_form([
    "pay_id" => 12345,
    "amount" => 1,
    "desc" => "Тестовая покупка",
    "email" => "test@yandex.ru"
]);

Проверка платежа:

$sci = new \Payment\AnyPay("project_id", "secret_key");
if (!$sci->check_ip()) {
    return false;
}

if (!$sci->check_signature($_GET)) {
    return false;
}

// Получение платежа по $_GET["pay_id"]
// Остальные действия...

About

Simple SCI system for AnyPay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages