SDK Examples
This sample app demonstrates integrating with the Airwallex Android SDK using its prebuilt UI components to manage the checkout flow, including specifying a shipping address and selecting a Payment Method.
To run the example project, you should follow these steps.
- Run the following script to clone the repository to your local machine
Bash1git clone [email protected]:airwallex/airwallex-payment-android.git
-
Open Android Studio and import the project by selecting the build.gradle file from the cloned repository
-
Go to Airwallex Account settings > API keys , then copy Client ID andAPI key to Settings.kt
Java1private const val BASE_URL = "put your base url here"2private const val API_KEY = "put your api key here"3private const val CLIENT_ID = "put your client id here"
- Register your app on WeChat Pay open platform , then copy App ID and App Signature to Settings.kt
Java1private const val WECHAT_APP_ID = "put your WeChat app id here"2private const val WECHAT_APP_SIGNATURE = "put your WeChat app signature here"
- Run the sample project
Was this page helpful?