
PAYTM APP INTEGRATION CODE
PGMerchantConfiguration *mc = Ĭreate the order with the mandatory parameters, as given below in the code snippet. By setting the below properties of object you can make a fully configured merchant object. Objective – C //You will get default PGMerchantConfiguration object. Since it is singleton Class, you may utilize the same for any transaction within your application. SDK identifies each Merchant by PGMerchantConfiguration object. You can configure this anywhere in the code before the first transaction with necessary parameters. PGSDK provided in the IOS plugin can be downloaded from here.This feature enables us to create a cart payment page with multiple payment sources.įor Example, if we want to enable UPI as the only pay mode, we need to pass the below parameters within Initiate Transaction API. If we want to allow/show specific payment sources, we need to pass the enablePaymode param in the Initiate Transaction API, as shown below. We need to call the Initiate Transaction API from the backend to generate the Transaction Token. Get the staging iOS Paytm app for integration testing on the merchant staging environment.ġ.Use the checksum logic to generate and validate the checksum.Get the merchant ID and merchant key for the integration environment once we create the account.Create an account on Paytm as a merchant.There are the following perquisites before initiating the transaction. Redirection Flow: if the Paytm app is not installed on the device, SDK will launch a web-view to complete the transaction and give the result back to the merchant.App Invoke Flow: if the Paytm app is installed on the device, it will be launched to finish the transaction and provide the response back to the merchant app.There are the following flows supported by the Paytm SDK. The integration facilitates the customers to make secure payments with Paytm despite the fact that the Paytm app is installed on the device or not.
PAYTM APP INTEGRATION ANDROID
SDK integration for an All-in-One payment solution facilitates us to integrate the SDK in the applications for both Android and iOS apps. After the successful validation of the transaction, the order status will be shown to the app's user.
PAYTM APP INTEGRATION VERIFICATION
Then, the backend server calls the Transaction Status API for the verification of transaction response.Paytm backend server processes the transaction and returns the transaction response to the app.If the Paytm app is installed on the user's device, they complete the payment on the Paytm app using their login credentials else, the transaction will be done using the web view within the SDK (the redirection flow is hosted by Paytm).Launch Paytm SDK with the transaction token received in step 1.The Initiate Transaction API gets called by the backend server to get the transaction token.First of all, the user opens the mobile application and adds items in the cart for which the payment is to be done.There are the following steps that are followed by Paytm SDK to complete the payment. Complete flexibility with merchants to present single or multiple payments sources to the user on the Paytm app.Supports UPI onboarding if a user wants to link its UPI account for payment.SDK support for both Native and Hybrid apps.Support for subscription payments and bank offers.



It facilitates the users to accept payment by using Paytm Wallet, Paytm Payments Bank, Saved Debit/Credit Cards (if any), Net Banking, BHIM UPI, or EMI in the customer's Paytm account. Paytm SDK provides a secure and seamless payment experience to the users by invoking the Paytm app (if installed on your user's smartphone) to finish the order. Next → ← prev Paytm SDK Integration in iOS
