capacitor-plugin-wapay
v0.0.8
Published
Provides unified access to Alipay and WeChat Pay on Capacitor-based apps, supporting seamless mobile payment integration on both Android and iOS platforms.
Readme
capacitor-plugin-wapay
Provides unified access to Alipay and WeChat Pay on Capacitor-based apps, supporting seamless mobile payment integration on both Android and iOS platforms.
Install
npm install capacitor-plugin-wapay
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
aliPayRequest(...)
aliPayRequest(options: { orderInfo: string; }) => Promise<any>| Param | Type |
| ------------- | ----------------------------------- |
| options | { orderInfo: string; } |
Returns: Promise<any>
wxPayRequest(...)
wxPayRequest(options: { mch_id: string; prepay_id: string; nonce: string; timestamp: number; sign: string; }) => Promise<any>| Param | Type |
| ------------- | --------------------------------------------------------------------------------------------------- |
| options | { mch_id: string; prepay_id: string; nonce: string; timestamp: number; sign: string; } |
Returns: Promise<any>
