Installation
Add the WePay SDK library to your Android project.
Gradle (Kotlin DSL)​
In your module-level build.gradle.kts:
dependencies {
implementation(project(":android-library"))
// Or if published as AAR / from Maven:
// implementation("com.wepay:sdk:1.0.0")
}
Gradle (Groovy)​
In your module-level build.gradle:
dependencies {
implementation project(':android-library')
// Or if published as AAR / from Maven:
// implementation 'com.wepay:sdk:1.0.0'
}
Sync your project​
After adding the dependency, sync the project with Gradle files:
- In Android Studio: File → Sync Project with Gradle Files
- Or run from terminal:
./gradlew build
Next Step​
Proceed to Step 1 — Backend Setup to generate the checkout URL from your server.