1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Compare commits

..

16 Commits

Author SHA1 Message Date
jaywcjlove
77b58a25c8 released v2.1.3 2020-08-01 20:54:20 +08:00
jaywcjlove
8917fc9576 fix: Add title field to package.json 2020-08-01 20:53:55 +08:00
jaywcjlove
9ee80ec7e1 doc: Update README.md 2020-08-01 20:51:36 +08:00
jaywcjlove
2c25325334 doc: Update README.md 2020-08-01 19:16:50 +08:00
小弟调调™
21821b9ca7 Update README.md 2020-08-01 14:45:13 +08:00
小弟调调™
b66d7ad422 Update README.md 2020-08-01 14:44:12 +08:00
小弟调调™
04c5bfbb6c Update README.md 2020-08-01 14:43:33 +08:00
小弟调调™
b94b32935b Create LICENSE 2020-08-01 10:02:19 +08:00
jaywcjlove
aa4d133dc8 chore: Update example app name. 2020-07-31 14:50:14 +08:00
jaywcjlove
ccdc418521 released v2.1.2 2020-07-31 12:18:24 +08:00
jaywcjlove
6de29d7637 doc: Update README.md 2020-07-31 12:17:47 +08:00
jaywcjlove
3e948d1346 released v2.1.1 2020-07-30 13:27:13 +08:00
jaywcjlove
2f94805630 doc: Update README.md 2020-07-29 10:08:12 +08:00
jaywcjlove
e61f7e3525 released v2.1.0 2020-07-29 10:02:06 +08:00
jaywcjlove
18a2fdd50a chore: Upgrade AlipaySDK to v15.7.9 #10 2020-07-29 10:01:08 +08:00
jaywcjlove
35435fddd7 doc: Update README.md 2020-07-28 16:55:13 +08:00
8 changed files with 47 additions and 9 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 uiw
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,9 +1,15 @@
@uiw/react-native-alipay
===
<p align="center">
<a href="https://uiwjs.github.io/react-native-alipay/">
<img src="https://user-images.githubusercontent.com/1680273/89095947-f0046900-d404-11ea-83ec-2408267efaa7.png" height="100" />
</a>
<h1 align="center">@uiw/react-native-alipay</h1>
<p>
[![NPM Version](https://img.shields.io/npm/v/@uiw/react-native-alipay.svg)](https://npmjs.org/package/@uiw/react-native-alipay)
![David](https://img.shields.io/david/peer/uiwjs/react-native-alipay)
基于 React Native 的宝支付插件,支持 iOS/Android。适用于商家在 App 应用中集成支付宝支付功能,商家 APP 调用支付宝提供的 SDKSDK 再调用支付宝 APP 内的支付模块。如果用户已安装支付宝APP商家APP会跳转到支付宝中完成支付支付完后跳回到商家 APP 内,最后展示支付结果。如果用户没有安装支付宝 APP商家 APP 内会调起支付宝网页支付收银台,用户登录支付宝账户,支付完后展示支付结果。完整实例 [Example](./example)
基于 React Native 的宝支付插件,支持 iOS/Android。适用于商家在 App 应用中集成支付宝支付功能,商家 APP 调用支付宝提供的 SDKSDK 再调用支付宝 APP 内的支付模块。如果用户已安装支付宝APP商家APP会跳转到支付宝中完成支付支付完后跳回到商家 APP 内,最后展示支付结果。如果用户没有安装支付宝 APP商家 APP 内会调起支付宝网页支付收银台,用户登录支付宝账户,支付完后展示支付结果。完整实例 [Example](./example) | [完整的接口文档](https://uiwjs.github.io/react-native-alipay/)
![](https://gw.alipayobjects.com/zos/skylark-tools/public/files/c0aa8379f5f57c55f1e5bf25e6f426d1.png)
@@ -207,12 +213,22 @@ Alipay.alipay(payInfo, (res)=>console.log(res))
npx create-react-native-module --package-identifier com.uiwjs --object-class-name RNAlipay --generate-example Alipay --example-react-native-version 0.63.0 --module-name @uiw/react-native-alipay --github-account uiwjs --author-name "Kenny Wong" --author-email "wowohoo@qq.com"
```
## 开发
```bash
cd example # 进入实例 example 工程,根目录不需要安装,会引发错误
yarn install # 安装依赖
cd ios # 进入 example/ios 目录安装依赖
pod instll # 安装依赖
```
## 相关连接
- [支付宝:生成秘钥指南](https://opendocs.alipay.com/open/291/105971)
- [支付宝SDK 下载地址,当前使用的是 AlipaySDK 15.7.7](https://opendocs.alipay.com/open/54/104509)
- [支付宝SDK 下载地址,当前使用的是 AlipaySDK 15.7.9](https://opendocs.alipay.com/open/54/104509)
- [支付宝:客户端调试工具及使用教程](https://openclub.alipay.com/club/history/read/7695)
- [支付宝:支付,接入前准备](https://opendocs.alipay.com/open/204/105297/)
- [支付宝:完整版授权 SDK 调用方法](https://opendocs.alipay.com/open/218/105325)
- [支付宝:异步通知错误码: IllRet](https://opensupport.alipay.com/support/problem.htm?ant_source=antsupport)
- [React-native 0.6版本集成支付宝-Alipay爬坑](https://segmentfault.com/a/1190000020758279)
- [@uiw/react-native-wechat](https://github.com/uiwjs/react-native-wechat) 微信支付。

View File

@@ -1,3 +1,3 @@
<resources>
<string name="app_name">example</string>
<string name="app_name">支付宝SDK实例</string>
</resources>

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>example</string>
<string>支付宝SDK实例</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>

Binary file not shown.

View File

@@ -9,7 +9,7 @@
////////////////////////////////////////////////////////
///////////////// 支付宝标准版本支付SDK ///////////////////
///////// version:15.7.7 motify:2020.07.02///////////
///////// version:15.7.9 motify:2020.07.27///////////
////////////////////////////////////////////////////////
#import <UIKit/UIKit.h>

View File

@@ -1,6 +1,7 @@
{
"name": "@uiw/react-native-alipay",
"version": "2.0.11",
"title": "React Native Alipay",
"version": "2.1.3",
"description": "基于 React Native 的支付宝插件支持Android/iOS。",
"main": "index.js",
"typings": "index.d.ts",