1.0.0 • Published 2 years ago
gomro-cap-plugin-pay v1.0.0
gomro-cap-plugin-pay
A Capactor Plugin for Wechat & Alipay
Install
npm install gomro-cap-plugin-pay
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
|---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
wxPayRequest(...)
wxPayRequest(options: WxParams) => Promise<any>| Param | Type |
|---|---|
options | WxParams |
Returns: Promise<any>
aliPayRequest(...)
aliPayRequest(options: AlipayParams) => Promise<any>| Param | Type |
|---|---|
options | AlipayParams |
Returns: Promise<any>
Interfaces
WxParams
| Prop | Type |
|---|---|
appId | string |
mchId | string |
prepayId | string |
noncestr | string |
timestamp | string |
sign | string |
AlipayParams
| Prop | Type |
|---|---|
orderInfo | string |
1.0.0
2 years ago