这是我的代码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));
} }