我正在使用react-native-paytm npm包,但在调用paytm.startPayment(details)方法时出现404Not found错误。
runTransaction(checkSum) {
const details = {
mode: "Staging", // 'Staging' or 'Production'
mid: "CRmldF93384691886347",
industryType: "Retail",
website: "APPSTAGING",
channel: "WAP",
amount: "1.00", // String
orderId: "ORDERJEE00001", // String
email: "abc@gmail.com", // String
phone: "7777777777", // String
custId: "CUST0001", // String
checksumhash: checkSum, //From your server using PayTM Checksum Utility
callback: "https://securegw-stage.paytm.in/theia/processTransaction?ORDER_ID=ORDERJEE00001&MID=CRmldF93384691886347",
};
try{
paytm.startPayment(details);
}
catch(e){
Alert.alert(e)
}
}发布于 2019-10-13 04:12:30
试试这个:@philly25/react-native-paytm
它使用最新的SDK,也支持最新的React Native。
https://stackoverflow.com/questions/56231339
复制相似问题