Closed Shaileshr777 closed 4 years ago
PAYU_PAYMENT_FAILED{error:true}
This is my code fetch('http://115.124.127.118/~devfds/covid19_app_api/hash.php', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', }, body: JSON.stringify({ key: key, txnid: txid, amount: amount, productinfo: productId, firstname: name, email: email }), }) .then((response) => response.text()) .then((hash) => {
console.log("Shailesh repos"+hash) let options = { amount: amount, txid: txid , productId: productId, name: name, email: email, phone: phone, id: id, key: key, surl: surl, furl: furl, sandbox: sandbox, hash: hash }; console.log(options); PayuMoney.pay(options).then((d) => { console.log(d); // WIll get a Success response with verification hash }).catch(e => { console.log(e); //In case of failture }); })
Getting toast message 'Some error occur'
PAYU_PAYMENT_FAILED{error:true}
This is my code fetch('http://115.124.127.118/~devfds/covid19_app_api/hash.php', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', }, body: JSON.stringify({ key: key, txnid: txid, amount: amount, productinfo: productId, firstname: name, email: email }), }) .then((response) => response.text()) .then((hash) => {