Skip to main content

Processing a payment

The below diagram shows the requests and workflow between merchant's application and BBMSL Online Payment Gateway.


How it works


  1. The customer is ready to pay.
  2. The merchant redirects the customer to a hosted checkout page to begin the payment.
  3. The customer selects a desired payment method and enter payment details in the hosted checkout page.
  4. The hosted checkout page redirect the customer back to the merchant site after the payment.
  5. BBMSL notifies the merchant for the successful payment.

You will need to handle the fail case in different stages. In case of any network errors, you will need to query the result of the order instead of assuming it succeeded.