pg_redirect_url. Redirect the client to it: the client enters the amount and then pays on the standard payment page.pg_amount_interval_from and pg_amount_interval_to: the page does not accept an amount outside the interval.pg_payment_status = new and pg_amount = 0.pg_result_url, see Result notify. After the payment the client is returned to pg_success_url or pg_failure_url, see Redirect back.pg_ prefix are passed back to pg_check_url and pg_result_url unchanged. Give them unique names that do not start with pg_.pg_status | Meaning | Next step |
|---|---|---|
ok | The payment is created. | Redirect the client to pg_redirect_url and wait for the result at pg_result_url. |
error | The request is rejected. | See «Errors» below. |
200; the error is returned in pg_error_code and pg_error_description. Error responses are not signed.pg_sig is calculated with the secret key test_secret_key.