Payment notification
After payment, a request containing payment information will be sent to the notification URL specified in the settings of your store.
Key
Description
shop_id
Public key of the project
amount
Amount of payment
order_id
Order ID
currency
Payment currency (RUB, USD, EUR)
test
If it was set when paying
sign
Request signature
The signature is formed in the same way as when creating the form, but all fields are involved in the formation of the hash, for example
1
<?php
2
$secret = 'GB%^&*YJni677';
3
$data = $_POST;
4
unset($data['sign']);
5
ksort($data);
6
$str = http_build_query($data);
7
$sign = md5($str . $secret);
Copied!
Last modified 7mo ago
Copy link