pg_payment_route = frame
must be included in the request to the Freedom Pay Gateway. To use this method, you should contact your managerfailure_url
or success_url
, the following parameters will be passed:property | type | description |
---|---|---|
pg_order_id | string | Payment ID in the merchant system |
pg_payment_id | int | Transaction ID |
pg_salt | string | Random string |
pg_sig | string | Request signature |
success_url
, the following parameters will be passed (frame only: if pg_payment_route
equals frame
):property | type | description |
---|---|---|
pg_order_id | string | Payment ID in the merchant system |
pg_payment_id | int | Transaction ID |
pg_salt | string | Random string |
pg_sig | string | Request signature |
failure_url
, the following parameters will be passed (frame only: if pg_payment_route
equals frame
):property | type | description |
---|---|---|
pg_order_id | string | Payment ID in the merchant system |
pg_status | string | Transaction ID |
pg_error_code | string | Error code ID |
pg_error_description | string | Text description of the error |
pg_template_params
is used to control the appearance and behavior of the payment page. Parameters are passed as part of the init_payment
request and affect frontend rendering. Required if customization is used