pg_payment_id. No money is charged at this step.pg_result_url.| Response | Meaning | Next step |
|---|---|---|
pg_status = ok | The payment is created. | Confirm it with CVC or without the client. |
pg_status = error | The request is rejected. | See «Errors» below. |
pg_error_code and pg_error_description; the HTTP status depends on the error. Error responses are not signed.| HTTP | pg_error_code | When | What to do |
|---|---|---|---|
200 | 0 | A parameter is missing or invalid: pg_error_description names it. | Fix the request. |
401 | 1100 | The signature is missing or invalid. | Check the signature: see Merchant API Overview. |
400 | 1804 | The card with this token is not saved for pg_user_id, or it is deleted. | Check the card with Get saved cards. |
400 | 54 | The card has expired. | Ask the client to save a new card. |
400 | 1808 | pg_success_url or pg_failure_url is not passed and not set in the merchant settings. | Pass both URLs. |
pg_sig is calculated with the secret key test_secret_key.