Coder Social home page Coder Social logo

sudoconf / app-pay-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iyakexi/app-pay-demo

0.0 3.0 0.0 15.98 MB

iOS集成支付宝&微信支付Demo (Swift版)

Home Page: http://www.qinyejun.com/ios/ios-wechatpay-swift/

Objective-C 3.34% Swift 11.68% C 66.55% C++ 18.43%

app-pay-demo's Introduction

#iOS集成支付宝&微信支付(Swift版)

详细文章请访问以下链接:

本Demo配置文件如下:

  • 代码Pull到本地后请修改配置文件MyConstants.swift, 将支付宝和微信的账号信息换成自己的,支付宝修改完后可直接运行,微信支付需要配合Server端运行。
  • 微信支付获取PrePay需要配合服务端代码:https://github.com/iyakexi/app-pay-server-demo
  • 微信支付和支付宝交易成功后Notify功能也需要在服务端实现。
  • 本Demo服务端API未采用任何安全验证措施,在实际开放过程中Server端API是需要根据自身情况采取相应安全策略的

其他关于App支付集成的文章请点击以下链接查看(本系列文章完整介绍了如何在App中集成支付宝和微信支付):

app-pay-demo's People

Contributors

iyakexi avatar

Watchers

 avatar  avatar  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.