Order payment
Order payment
After the order fields are generated and the payment button is clicked, the customer must be redirected to the WEBPAY system payment page (test or production), where they will be able to enter their bank card details.
After successful payment, the customer should click the "Back to the site" button. In this case, the payment form will redirect them to the URL specified in the wsb_return_url field.
If a payment error occurs and the customer clicks the "Back" button, they will be redirected to the URL specified in the wsb_cancel_return_url field. In both cases, the wsb_order_num value will be appended to the URL. Additionally, in the case of a successful payment, the WEBPAY system transaction number will also be appended.
Info
It is possible that the customer does not click the "Back" button on the payment form. To notify about a successful operation, the WEBPAY system sends a special notification (Payment notification) after a certain period of time.
