Suraj-Tiwari / react-native-payumoney

React Native Payumoney (Android/IOS)
MIT License
18 stars 9 forks source link

key is not valid #60

Closed swaroopaillinda closed 2 years ago

swaroopaillinda commented 3 years ago

hi I am using this for doing payumoney in my react native applications

` const payData = { amount: '1.0',//data.amount.toString(), txnId: data.txnid, productName: data.productinfo, firstName: data.firstname ? data.firstName : "Sample", email: data.email, phone: data.phone, merchantId: '', key: 'mykey>', successUrl: data.surl,//'https://www.payumoney.com/mobileapp/payumoney/success.php', failedUrl: data.furl,//'https://www.payumoney.com/mobileapp/payumoney/failure.php', isDsebug: false,

        hash:data.hash,
     };
     console.log("dnfldk",data)
    Payumoney(payData).then((data) => {

        console.log("Success, code",data)
     }).catch((e) => {

        console.log("Failed, code",e)
    })`

this is my code but when running in ios its showing the key is invalid in android showing some error occured can you tell me whats the issues is the key is working fine with my web applkication

Suraj-Tiwari commented 2 years ago

please test with testing keys first if issue remains open this issue again