Socket
Socket
Sign inDemoInstall

cordova-plugin-payments-wechatpay

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-payments-wechatpay

Umeng Share for cordova app


Version published
Weekly downloads
1
Maintainers
1
Install size
17.4 kB
Created
Weekly downloads
 

Readme

Source

微信支付 cordova 插件

支持ios, android 开通服务: https://open.weixin.qq.com

安装

cordova plugin add cordova-plugin-payments-wechatpay --variable PAYMENT_WECHAT_APP_ID=你的ID --save

ionic cordova plugin add cordova-plugin-payments-wechatpay --variable PAYMENT_WECHAT_APP_ID=你的ID

相关依赖 cordova-plugin-cocoapod-support

cordova plugin add cordova-plugin-cocoapod-support --save

ionic cordova plugin add cordova-plugin-cocoapod-support

使用方法

打开支付页面

window.Wechatpay.pay({
  // ... 后端生成的Object
}, () => {
  console.log('成功');
}, e => {
  console.error(e);
});

IONIC Wrap

https://github.com/yc-ionic/wechatpay

代码捐献

非常期待您的代码捐献。

Keywords

FAQs

Last updated on 23 Jul 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc