Brankas Test Cases

These detailed test cases can be used to check your Brankas integration with PayMongo. This step is optional but we highly recommend running these cases. These test cases were developed along with our internal QA team to account for every possible flow through the system.


With the Brankas integration, you can test with three different banks:

Bankbank_code
BDO Onlinebdo
Landbank Onlinemetrobank
Metrobank Onlinelandbank

Test Cases

ScenarioStepsExpected Response
Customer successfully completes a payment1. Upon attachment, the Payment Intent status is set to awaiting_next_action, and a redirect URL is returned.

2. Open the redirect URL. The Brankas page is displayed with the PayMongo logo and the amount to be paid.

3. Log in using the details provided. The OTP login page is displayed and pre-populated (Default OTP value: 123456).

4. Enter the OTP and proceed until the OTP page for payment is displayed (Default OTP value: 123456).

5. Enter the OTP provided and proceed until the confirmation page is displayed.
Successful payment

Payment intent status value should be succeeded

A Payment object with a paid status is attached to the Payment Intent (in the Payments array section of the Payment Intent object).
Customer abandons the payment process1. Upon attachment, the Payment Intent status is set to awaiting_next_action, and a redirect URL is returned.

2. You may choose to go through the subsequent steps in the Successful Payment scenario above, but you should not finish the transaction.The transaction expires one hour after attachment.
Failed payment (Expired)

Payment intent status value should be awaiting_payment_method

A Payment object with a failed status is attached to the Payment Intent (in the Payments array section of the Payment Intent object).

Payment failed code is set to EXPIRED.
Customer refuses to give consent to the payment1. Upon attachment, the Payment Intent status is set to awaiting_next_action, and a redirect URL is returned.

2. Open the redirect URL. The Brankas page is displayed with the PayMongo logo and the amount to be paid.

3. Click the “Close (X)” button at the upper left corner.
Failed payment (Denied)

Payment intent status value should be awaiting_payment_method

A Payment object with a failed status is attached to the Payment Intent (in the Payments array section of the Payment Intent object).

Payment failed code is set to DENIED.
Customer cancels the payment1. Upon attachment, the Payment Intent status is set to awaiting_next_action, and a redirect URL is returned.

2. Open the redirect URL. The Brankas page is displayed with the PayMongo logo and the amount to be paid.

3. Log in using the details provided. The OTP login page is displayed and pre-populated (Default OTP value: 123456)

4. Before logging in, click the “Close (X)” button at the upper left corner.
Failed payment (Cancelled)

Payment intent status value should become awaiting_payment_method

A Payment object with a failed status is attached to the Payment Intent (in the Payments array section of the Payment Intent object).

Payment failed code is set to CANCELLED.