Frequently Asked Questions

Updated 

REMOVING THE FIREFOX SECURITY WARNING WHEN USING THE PAYMENT PAGE

The Firefox browser can give the following warning when it redirects us from the payment page to the webshop page:

The reason for this is that the payment page loads via a secure connection (https), while the webshop uses plain http protocol, which is why the browser warns us that we are switching to an unsecured connection. This happens if the webshop does not have an SSL certificate, which can be obtained for any website.

POST CALLS IN CASE OF SUCCESSFUL PAYMENT

The payment page sends a message to the webshop twice:

1. When the customer presses the Payment button, a POST call is sent to the URL specified in the returnurlsuccessserver parameter (or if there is no such parameter, the returnurlsuccess parameter) with the following parameters, with similar content:

Array
(
[status] => OK
[orderhash] => 2525678a7ce54ff0cfd3d3841608cd01061f762bf1b8e427951937789f5416c0
[orderid] => ORDER1230001
[authorizationcode] => 123456
[creditcardnumber] => 474152******0003
[reference] => 25
[step] => Payment
)

2. When the customer presses the Return to the store button or is automatically redirected to the webshop after pressing the Payment button (the redirection is automatic if the value of the skipreceiptpage parameter is 1), they are redirected to the URL specified in the returnurlsuccess parameter with the following parameters, with similar content with a POST call with:

Array
(
[orderid] => ORDER1230001
[orderhash] => 2525678a7ce54ff0cfd3d3841608cd01061f762bf1b8e427951937789f5416c0
[authorizationcode] => 123456
[creditcardnumber] => 474152******0003
[customField] =>
[ticket] =>
[buyername] => aaa
[buyeraddress] =>
[buyerzip] =>
[buyercity] =>
[buyercountry] =>
[buyerphone] =>
[buyeremail] => it@b-payment.hu
[buyerreferral] =>
[buyercomment] =>
[merchantid] => 9275444
[amount] => 400
[currency] => HUF
[reference] => 25
[status] => OK
[step] => Confirmation
)

Since customers often do not return to the store, or sometimes close the browser after pressing the Payment button, it is worth processing the [step] => Payment data and closing the basket based on that.