Package 

Class PhonepeUtils

    • Method Detail

      • getLogMessage

         static String getLogMessage(Context context, String key, String value, String sdkMerchantKey, String txnID)

        Provide JSONObject for analytics

        Parameters:
        context - application context
        key - analytics event ket
        value - event value
        sdkMerchantKey - merchant key
        txnID - transaction ID
      • getHttpsConn

         HttpsURLConnection getHttpsConn(String strURL, String postData, int timeout, String cookiesList)

        *Return HttpsURLConnection object

        Parameters:
        strURL - postURL
        postData - data to be posted
        timeout - timeout
        cookiesList - list of cookie
      • getCookieList

         String getCookieList(Context appContext, String domainName)

        Return list of cookie of the given domain

        Parameters:
        appContext - application context
        domainName - name of domain