1.0.0 • Published 11 months 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 sync
API
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
11 months ago