Code Monkey home page Code Monkey logo

alipaysdk's Introduction

AlipaySDK

AlipaySDK(iOS 2.1.2) 初始化

最近ios项目需要集成支付宝无线支付,才发现支付宝放出的支付宝支付集成SDK下载地址真心难找,为了大家方便我就把地址贴出了吧~你可以去下载官方版:

 https://b.alipay.com/order/productDetail.htm?productId=2014110308141993&tabId=4#ps-tabinfo-hash 

官方给出的SDK主要有几点没有完善:

1.一堆头文件找不到,Openssl这个库引入不对;

2.对支付结果数据也没有给出解析;

下面是我附上的一个可执行版本:

你只需要把APViewController.m 文件中的:

NSString *partner = @"";
NSString *seller = @"";
NSString *privateKey = @"";

参数修改为你们项目用到的商户的唯一的parnter和seller。以及私钥就可以直接演示使用了。

alipaysdk's People

Contributors

hawskpy avatar

Watchers

James Cloos 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.