Skip to content

aolad-anna/bKash-Tokenized-Android-Kotlin

Repository files navigation

bKash-Tokenized-Android-Kotlin

Hello there. Welcome to unofficial guide about integrating bKash payment gateway in your application. If you already have had enough with the documentation and API references provided officially by bKash, then this documentation is just for you. Below, I will try to explain the integration steps in detail pointing all the difficulties I've faced and how I came across them.

Official Links

Before digging in to the main part, lets just share the current official API documentation links available for all. These links are subjected to change without any prior notice. I will try my best to keep them updated.

To generate access token and perform the necessary steps, you will need the following credentials provided directly by bKash -

  • Sandbox username
  • Sandbox password
  • App key and
  • App secret

Needed Info

 {
    var bkashSandboxUsername = "your sandbox user name"
    var bkashSandboxPassword = "your sandbox password name"
    var bkashSandboxAppKey = "your sandbox app key"
    var bkashSandboxAppSecret = "your sandbox app secret"
    var sessionIdToken = ""
    var mode = "0011"
    var payerReference = "01770618575"
    var callbackURL = "your callback yourDomain.com"
    var merchantAssociationInfo = ""
    var amount = "30"
    var currency = "BDT"
    var intents = "sale"
    var merchantInvoiceNumber = "Inv0124"
}

Screenshots

Downloads3 Collages1

Screen-Record

Record_2023-02-28-17-48-43.mp4

About

bKash payment gateway API integration for Android-Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published