Payment Notification
After the payment, a request containing payment information will be sent to the URL specified in your store settings.
Key | Description |
---|---|
shop_id | Public project key |
amount | Payment amount |
order_id | Order identifier |
payment_system | Payment system |
currency | Payment currency (RUB, USD, EUR) |
test | If specified during payment |
sign | Request signature |
The signature is formed in the same way as when creating the form, but all fields are included in the hash formation, for example:
<?php
$secret = 'GB%^&*YJni677';
$data = $_POST;
unset($data['sign']);
ksort($data);
$str = http_build_query($data);
$sign = md5($str . $secret);
?>