PayFast works on browser redirection and will redirect the user to PayFast for payment after they click the 'Confirm Order' button on the Checkout page.
At this stage, the order has NOT been created in OpenCart, but the shopping cart details will be used.
If the payment is CANCELLED during processing on PayFast:
- The user will be returned to the 'Shopping Cart' page to either correct their shopping cart or to choose another payment gateway.
If the payment is SUCCESSFUL through PayFast:
- The user will be returned to the 'Order Confirmation' page.
- The order will be created and will have a status of 'Confirmed'.