Code Monkey home page Code Monkey logo

ionicpaydemo's Introduction

#ionicPayDemo ##cordova 支付插件,支付宝与微信支付 目前支持支付宝支付的安卓端与ios端,微信的ios端

使用方法: 支付宝:在调用时传入必要参数就可调起支付,无需修改其他配置文件,传参参考:controllers.js文件 常见问题:报String.length()调用空指针问题,检查rsa_private是否正确,是否是pkcs8格式

微信: 传参参考:controllers.js,另外修改plugin.xml里微信app_id,schema修改为app_id 安卓版:修改工程目录下config.xml中id为android项目实际包名,修改plugin.xml中的 target-dir="src/com/sharedParking/mz/wxapi", 把其中com/sharedParking/zm改为自己的 包名。 再有 修改插件下WxPayEntryActivity.java中的包名,同上面两处一 致

ionicpaydemo's People

Contributors

glustful avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.