pg_check_url of the payment request, or the Check URL from the merchant settings. Without a URL the check is skipped.| Your answer | Meaning | Next step |
|---|---|---|
XML with pg_status = ok | The order can be paid. | Freedom Pay charges the client. Wait for the result in Result notify. |
XML with pg_status = rejected | The order cannot be paid: for example, it is cancelled or the amount is wrong. | Freedom Pay declines the payment: the client sees an error. |
| Not XML (an empty body, JSON, HTML), with any HTTP code | The answer is treated as a refusal. | Freedom Pay declines the payment. |
Any other XML, for example with pg_status = error | The answer is treated as ok. | Freedom Pay charges the client. |
| No answer within 30 seconds, or no connection | The check is skipped. | Freedom Pay charges the client. |
pg_amount and pg_currency with your order before you answer ok.pg_check_url = https://merchant.example.com/payment/check.& and the values are URL-encoded.pg_order_id=order-1001
pg_payment_id=1022123804618
pg_amount=1000
pg_currency=KZT
pg_ps_amount=1000
pg_ps_full_amount=1000
pg_ps_currency=KZT
pg_salt=Hq7mZ2pX5wL9cR3t
pg_sig=13daffe1fc8c7cbc197ab5d40c40ad04