Midtrans sample demo sinatra app

Source Code

Snap Popup

Click here

Snap Redirect

Click here

Core API Credit Card

Checkout

Checkout Field that may be presented to customer:

/

Fields that shouldn't be presented to the customer:

Transaction Result:
 Awaiting transactions... 
Transaction verified status result:
 Awaiting transactions... 
  Testing cards:

    For 3D Secure:
    Visa success              4811 1111 1111 1114
    Visa deny by bank         4711 1111 1111 1115
    Visa deny by FDS          4611 1111 1111 1116

    MasterCard success        5211 1111 1111 1117
    MasterCard deny by bank   5111 1111 1111 1118
    MasterCard deny by FDS    5411 1111 1111 1115

    Challenge by FDS          4511 1111 1111 1117