Alipay
This plugin facilitates the usage of Alipay 支付宝 in an Ionic apps with the integrated AlipaySDK dated on 20180601.
Requires Cordova plugin: cordova-plugin-gubnoi-alipay
. For more info, please see https://github.com/jing-zhou/cordova-plugin-alipay .
联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.
Ionic 支付宝支付 Alipay插件的安装(Installation)
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
Ionic 支付宝支付 Alipay插件支持的平台(Supported Platforms)
- Android
- iOS
Ionic 支付宝支付 Alipay插件的用法(Usage)
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
});
}