Paytm Integration in Android: Accept Payments
Paytm is the most popular mobile wallet and payment method used in India. The
Paytm provides the SDK for IOS and Android which enables merchants to
integrate payments into their mobile app. The Paytm payment gateway provides
merchants to acquire money through their customers by temporarily redirecting
them to Paytm's web server. However, before implementing further processes,
make sure you hire android developer if you aren't a technical person.
Steps to integrate Paytm in android:
1. Add Paytm Gradle dependency to your android project
2. Upload Checksum file to your web-server
3. Call checksum file from your application
4. Paytm transaction service
Step 1) Adding Paytm dependency :
Create a new project and add Paytm dependency in your app build.gradle
Define the INTERNET and ACCESS_NETWORK_STATE permissions to
your AndroidManifest.xml. These two permissions are required for Paytm
payment services to run.
Add PaytmPGActivity in your AndroidManifest.xml and this activity is
already present in the PGSDK. This Activity perform all transaction
related information and provide you callback.
If you are using proguard than add this rules to your proguard-rules.pro
Step 2) Upload Checksum file :
We need to register for a developer account on Paytm in order to use its