Defining the steps of the payment process - As seen by the merchant
The online payment process on the merchant side follows these steps:
Figure 1. Payment process - as seen by the merchant
- The buyer validates the shopping cart.
- The merchant website creates a form using the data from the buyer's cart.
- The merchant website redirects the buyer to the payment gateway via an HTTPS HTML POST form. The parameters are described in the chapter Generating a payment form.
- The buyer enters their payment information, and the gateway proceeds to the payment.
- The gateway automatically informs the merchant website about the result (depending on the configuration), see chapter Setting up notifications.
- The merchant website analyzes and processes the payment result.
- The merchant updates their database (order status, stock status, etc.).
- The buyer is informed about the result and can return to the merchant website to see their order status.