wi-app-pay
v0.0.15
Published
pay plugin
Downloads
3
Readme
wi-app-pay
pay plugin
Install
npm install wi-app-pay
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
aliPayRequest(...)
aliPayRequest(orderInfo: { orderInfo: string; }) => Promise<any>
Alipay payment
| Param | Type |
| --------------- | ----------------------------------- |
| orderInfo
| { orderInfo: string; } |
Returns: Promise<any>
auth(...)
auth(authInfo: { authInfo: string; }) => Promise<any>
Alipay authorization
| Param | Type |
| -------------- | ---------------------------------- |
| authInfo
| { authInfo: string; } |
Returns: Promise<any>