Paytm payment integration using an all-in-one sdk

Updated 6 March 2021


Overview of Paytm payment integration using all-in-one SDK

In this blog, we will learn how to implement Paytm payment integration using an all-in-one SDK. Before starting the Paytm Standard Checkout provides a secure and PCI-compliant way to accept payments on both website and App through different payment sources like Credit/Debit Card, Net-Banking, UPI, and Paytm Wallet from the customers.

The customers can easily pay online for their Website orders using Paytm. They are redirected to the Paytm Webpage for making secure payments.

The payment process starts at the click of the pay button on the merchant order summary page. On this click, you need to:

Add Dependencies for All-in-One SDK

a.) Add the line below to the ‘repositories’ section of your project-level build. Gradle file.

b.) Add the line below to the ‘dependencies’ section of your app build. Gradle


Paytm provides MID as a unique identifier to each merchant. For your staging MID, click here. You get the production MID post the account activation.


1.) At the very start, you need to create an order on the app and then generate a transaction token by using the below-mentioned API

After calling the paytmTransaction API, we receive the “transaction tokens” and “callback URL”

2.) Here’s the completed interface:

3.) After that do launch Paytm All-in-One SDK with the transaction token received before

After calling the Paytm All-in-one-SDK API we receive the TXN_SUCCESS status.

4.) After getting the status callback “TXN_SUCCESS” we will call the order status API

5.) After Paytm processes the transaction with the user’s bank and returns the transaction response to your app.

6.) Notify the payment status to the user and proceed with the order/service fulfillment


For more understanding please can go through these links:


You can also check this link:


Thanks for reading!
You can also check this: PAYTM INTEGRATION USING SDK
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


  • Shahrukh Khan
    Thanks a lot priyanka, Great Work, Can you please provide source code as I am facing issues in paytm imports.
    • Priyanka Kumari (Moderator)
      Thank you,
      We can’t share the code. If you want to share your code files with us and we will help you with whatever we can
  • Milan
    Hi Priyanka, is there use checksum verification here?
  • Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home