import{ Alipay }from'@ionic-native/alipay/ngx';constructor(private alipay: Alipay){//alipayOrder is a string that has been generated and signed by the server side.this.alipay.pay(alipayOrder).then(result =>{console.log(result);// Success}).catch(error =>{console.log(error);// Failed});}