无效的校验和反应本机

时间:2019-11-18 13:02:52

标签: react-native react-native-android react-native-ios

我正在使用@philly25/react-native-paytm

来构建本机应用程序

成功生成了校验和,但是我收到了无效的校验和错误,这是我生成校验和的参数:

{
CALLBACK_URL: "https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=orderId123"
CHANNEL_ID: "WAP"
CUST_ID: "12345"
EMAIL: "d@gmail.com"
INDUSTRY_TYPE_ID: "Retail"
MID: "Xxxxxx97xxxx4310xxx1"
MOBILE_NO: "9414123456"
ORDER_ID: "orderId123"
TXN_AMOUNT: "150"
WEBSITE: "APPSTAGING"
mode: "Staging"
}

这是我最后的参数:

{
CALLBACK_URL: "https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=orderId123"
CHANNEL_ID: "WAP"
CHECKSUMHASH: "lMo6BXsnCIiX7fmX0N6ApLBTQrg0BrEx5/CWlc7mS6yoOjHb10sU7O0stsdLuvqLwkEL6ixFKIX6CmcFC+3SszF/gAbGFSYiy3UqbxpMORM="
CUST_ID: "12345"
EMAIL: "d@gmail.com"
INDUSTRY_TYPE_ID: "Retail"
MID: "Xxxxxx97xxxx4310xxx1"
MOBILE_NO: "9414123456"
ORDER_ID: "orderId123"
TXN_AMOUNT: "150"
WEBSITE: "APPSTAGING"
mode: "Staging"
} 

这是我的回复:

{
BANKTXNID: ""
CURRENCY: "INR"
MID: "Xxxxxx97xxxx4310xxx1"
ORDERID: "orderId123"
RESPCODE: "330"
RESPMSG: "Invalid checksum"
STATUS: "TXN_FAILURE"
TXNAMOUNT: "150.00"
status: "Success"
}

1 个答案:

答案 0 :(得分:0)

plz使用相同的参数来生成与过程txn相同的校验和