POST (see the example below). The response is an HTML page, not XML.pg_success_url or pg_failure_url.pg_result_url: rely on it, not on the redirect.GET:| Redirect | Parameters | Meaning | Next step |
|---|---|---|---|
pg_success_url | pg_order_id, pg_payment_id, pg_salt, pg_sig | The payment is successful. | Check the final status with Get payment status or by the notification to pg_result_url. |
pg_failure_url | pg_failure_code, pg_failure_description | The payment is declined. | See «Errors» below. |
pg_failure_code and pg_failure_description of the redirect to pg_failure_url: see Error codes.pg_sig is calculated with the secret key test_secret_key.