CordovaPayTM插件已调用但未重定向到PayTM页面

时间:2018-12-12 04:41:44

标签: ionic-framework ionic2 ionic3 cordova-plugins

这是我的代码processFeeSubmission()命中函数click事件,然后Paytm浏览器未在设备中打开。 并且我正在关注https://github.com/latamind/cordova-plugin-paytm
对于paytm集成,请帮助我为什么我无法在浏览器中打开paytm?

           declare var window;            
          export class WardFeeDetailPage extends BasePageComponent {
          paymentReceipts: Array<PaymentReceipt> = [];
          user: any;
          feeDetail: FeeDetail;
          currentDate: Date = new Date();
          totalAmount: number = 0;
          message2: Message;

        processFeeSubmission({ selectedOption, feeDetail }) {
  window.cordova.paytm.startPayment(paytm.merchantId, this.user.username, paytm.channelId, paytm.industryTypeId, paytm.website, orderId, paytm.email, this.user.contactNo, this.feeDetail.balance, callbackUrl, checksum, paytm.isProduction || false, (res) => this.onPaytmSuccess(res), (e) => this.onPaytmError(e));

}               }

0 个答案:

没有答案