integration Paytm Payment Gateway Android

后端 未结 5 813
夕颜
夕颜 2021-02-09 05:20

I am trying to integrate paytm\'s payment gateway to my Android App. I can\'t seem to find any proper documentations or procedures on their website. I\'ve checked every lead on

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-09 06:00

    To integrate paytm on android app please add dependency in gradle file

    // paytm dependency
        implementation('com.paytm:pgplussdk:1.2.3') {
            transitive = true;
        }
    

    Add Paytm Activity in android menifest file

    
    

    To generate checksum you don't need to pass email id and mobile number.You should pass only 8 param as below-

        String url ="https://www.blueappsoftware.com/payment/payment_paytm/generateChecksum.php";
        String varifyurl = "https://pguat.paytm.com/paytmchecksum/paytmCallback.jsp";
    
     String param=
                        "MID="+mid+
                        "&ORDER_ID=" + orderId+
                        "&CUST_ID="+custid+
                        "&CHANNEL_ID=WAP&TXN_AMOUNT=100&WEBSITE=WEBSTAGING"+
                                "&CALLBACK_URL="+ varifyurl+"&INDUSTRY_TYPE_ID=Retail";
    

    Please check this reference link. You can find step by step process on this reference link- https://www.blueappsoftware.com/paytm-payment-gateway-integration-android-studio/

提交回复
热议问题