无效:checksumhash的语法不正确in react native in paytm校验和实用程序

oxalkeyp  于 2021-09-13  发布在  Java
关注(0)|答案(0)|浏览(185)

我正在尝试在react-native中使用paytm进行支付,我正在使用此库=@philly25/react-native paytm
这是我的密码

const callbackUrl = `${"https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=1"}`;
    const details = {
      mode: "Staging", // 'Staging' or 'Production'
      MID: "xxxxxxxxxxxxxxxx",
      INDUSTRY_TYPE_ID: "Retail",
      WEBSITE: "APPSTAGING",
      CHANNEL_ID: "WAP",
      TXN_AMOUNT: "1", // String
      ORDER_ID: "1", // String
      // EMAIL: email, // String
      // MOBILE_NO: mobile, // String
      CUST_ID: "CUSTOMER_1", // String
      CHECKSUMHASH:
        "hash532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e26", //From your server using PayTM Checksum Utility
      CALLBACK_URL: callbackUrl,
      // MERC_UNQ_REF: mercUnqRef, // optional
    };

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题