verify_result_signature
Verify the payment notification signature from Robokassa to confirm authenticity before responding with acknowledgment.
Instructions
Verify the SignatureValue on a Robokassa ResultURL request.
Robokassa POSTs payment notifications to the merchant's ResultURL after a
successful checkout. The merchant must verify the signature to confirm the
notification is authentic, then respond with the string returned by
build_ok_response(inv_id) — otherwise Robokassa retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Form-encoded body from the ResultURL request. Must contain OutSum, InvId, SignatureValue. Any `Shp_*` parameters included in the body are automatically incorporated into signature verification. | |
| password2 | No | Shop's Password#2. Falls back to ROBOKASSA_PASSWORD2 env var. | |
| algorithm | No | Signature algorithm configured in the cabinet. | md5 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||