Prerequisites and Configuration
This guide describes the software requirements and configuration settings necessary to integrate your Android application with the Get Smart App2App solution.
Prerequisites
Before you begin, ensure you have:
- The generic Get Smart application (Aplicación de Cobro) installed and updated to the latest version on your device.
- A test merchant account configured in the Get Smart app.
- Basic familiarity with Android Intents.
Note: The App2App integration architecture relies on the presence of the Get Smart application on the target device to function correctly.
Configuration Setup
Follow these steps to prepare your Android application for the App2App integration.
Step 1: Verify Get Smart Application
Ensure the following application is present on the device:
- The Get Smart application (Aplicación de Cobro) must be installed and updated to the latest version.
- This application acts as the host for the payment interface and handles secure communication with the Get Smart gateway.
Important: Your integration must anticipate scenarios where this application is missing. If the Get Smart application is not installed, the operating system will throw anActivityNotFoundExceptionwhen you attempt to start the paymentintent. Your application code should catch this exception and display an alert to the user indicating that the payment application must be installed or updated.
Step 2: Configure Your Android Project
The integration uses standard Android
Intent mechanisms that require minimal configuration in your project.No specific permissions are required in your application's
AndroidManifest.xml file. You do not need to add any special <uses-permission> or <queries> declarations to initiate the payment process or receive the transaction result. The standard startActivityForResult flow functions without these modifications.Summary of Dependencies:
| Component | Requirement | Notes |
|---|---|---|
| Get Smart App | Required | Must be the generic "Aplicación de Cobro" |
| Permissions | None | No changes needed in AndroidManifest.xml |
Step 3: Verify Your Setup (Optional)
Before you begin developing your integration, verify that:
- The Get Smart application is installed on your test device
- The application is updated to the latest version
- You have a test merchant account configured in the Get Smart app
- Your Android development environment is set up
Next Steps
Now that you understand the requirements:
- Follow the step-by-step tutorial in Quick Start: Your First Transaction
- Learn about the architecture in Architecture