I am trying to use react-native-paytm for payment gateway, I followed the steps what was there in react-native-paytm module, but it is not working for me, Even i don't Know the error and Don't Know how to resolve it Here is the code that what i have done
payNow(){
// alert("payNow")
var details = {
generationUrl: "https://cinealerts.com/webservices/paytm/xxx.php",
validationUrl: "https://cinealerts.com/webservices/paytm/xxx.php",
mid: "my mid", // Prod
industryType: "Retail", //Prod
website: "APP_STAGING", //prod
channel: "WAP",
amount: "5",
orderId: "12345678",
requestType: "DEFAULT",
email: "hussian@gmail.com",
phone: "7777777777",
theme: "merchant",
custId: "9988344556",
};
paytm.startPayment(details);
}
when i click on button it will call the paynow function, in payNow function one popUp is open and automatically it closed with out showing anything, I don't know how to resolve this issue, and even i don't know that what is the issue. Any one please give me suggestions that how to resolve this issue, Any help much appreciated.