Kotlin Payment Gateway using Midtrans, and Razorpay

Make kotlin payment gateway using Midtrans and Razorpay

Feature

  • Payment using Midtrans
  • Payment using Razorpay

Preview App

iphone-11-pro-mockup-scene

alt text alt text alt text

Please read this

Please change this if u want to use payment gateway, and please take a look in build.gradle, if u use wrong version, your app will error

object Constant {

    // USE YOUR OWN KEY
    // if u use this one, your app will error for sure

    const val MERCHAT_ID_MIDTRANS = ""
    const val CLIENT_KEY_MIDTRANS = "SB-Mid-client-"
    const val SERVER_KEY_MIDTRANS = "SB-Mid-server-"
    const val BASE_URL_MIDTRANS = ""

    const val KEY_ID_RAZORAPP = "rzp_test_";
    const val KEY_SECRET_RAZORAPP = "";
}

GitHub

View Github