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 git 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
private const val BASE_URL = "put your base url here" private const val API_KEY = "put your api key here" private const val CLIENT_ID = "put your client id here"
private const val WECHAT_APP_ID = "put your WeChat app id here" private const val WECHAT_APP_SIGNATURE = "put your WeChat app signature here" 5. Run the sample project