如何在ionic3中集成paytm支付网关

时间:2018-08-13 07:12:18

标签: angular typescript ionic3 payment-gateway paytm

我试图调用浏览器来传递参数

pay(url: string) {
this.platform.ready().then(() => {
  let options: InAppBrowserOptions = {
    "CALLBACK_URL": "XXXXXX",
    "CHANNEL_ID": "WEB",
    "CHECKSUMHASH": "XXXXXX",
    "CUST_ID": "XXXXXX",
    "EMAIL": "XXXXXX",
    "INDUSTRY_TYPE_ID": "XXXXXX",
    "MID": "XXXXXX",
    "MOBILE_NO": "XXXXXX",
    "ORDER_ID": "XXXXXX",
    "TXN_AMOUNT": "XXXXXX",
    "WEBSITE": "XXXXXX"
  };
  let method="post";
  this.theInAppBrowser.create(url, method, options);
  console.log(url, method, options);
});
}

但这对我不起作用。你可以引导我吗?

0 个答案:

没有答案