The translation was generated automatically and may contain mistakes
Error Handling
This section is intended for developers who have already connected VK Pay.
If you want to connect and start accepting payments through VK Pay, write to vkpay_solutions@vk.team .
More about the service - in the section About VK Pay .
If one of the parameters is incorrectly transmitted when calling the payment window, an error will appear in the browser console.
Mistake | Description | Recommendations |
|---|---|---|
Bad sign | In the parameter params.sign Passed the wrong value application signature . | 1. Check the secure application key app secure key .
2. Check that the signature line that forms on the VK Pay side and the line on the server side of your application match.
If you make a payment with test credentials, in the browser console in the error description, you can see what the application signature bar should look like before concatenating with the protected application key app secure key .
3. Check that the browser does not screen double quotes when forming a signature.
4. Try forming a signature One more time. |
Параметры запроса и параметры партнёра отличаются | In the object params.data Incorrect value of the seller's signature merchant_sign . | Check the seller's private key merchant_private_key and try forming a signature One more time. |
Invalid parameter: ts | In the object params.data the incorrect value of the request creation timestamp has been passed ts . | Check the value ts : it should be less than the time of sending the request to display the payment window, but not more than an hour. Send a request with the correct value ts . |
Invalid parameter: cashback | In the object params.data.cashback passed the incorrect value of the cacheback parameters. | Check the parameters and send the request again. |
Invalid_parameter: amount | In the parameter params.amount The incorrect value of the payment amount is missing or transferred. | Check the value amount and send the request again. |
Не удалось найти получателя по заданным параметрам | In the parameter params.merchant_id некорректно указан ваш идентификатор продавца, который бы?1?» выдан при подключении к системе VK Pay. | Check the ID value merchant_id and send the request again. |