1.0.6 • Published 5 years ago

@17ued/react-native-alipay v1.0.6

Weekly downloads
149
License
MIT
Repository
github
Last release
5 years ago

react-native-alipay

安卓支付宝react-native支付插件

安装下载

npm install --save @17ued/react-native-alipay

react-native link @17ued/react-native-alipay

调用

import RNAlipayApi from '@17ued/react-native-alipay'
RNAlipayApi.pay(orderInfo, (res)=> {
    // res.status 可能是三个值'success/error/busy'
    // res.msg  消息为"支付成功"或者支付宝返回的memo
    // res.data 数据根据实际情况确定
})

联系

Email: liuhong1.happy@163.com