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

Compare commits

..

5 Commits

Author SHA1 Message Date
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
5 changed files with 14 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
[![NPM Version](https://img.shields.io/npm/v/@uiw/react-native-alipay.svg)](https://npmjs.org/package/@uiw/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-amap-geolocation/)
![](https://gw.alipayobjects.com/zos/skylark-tools/public/files/c0aa8379f5f57c55f1e5bf25e6f426d1.png)
@@ -207,12 +207,21 @@ 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)

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,6 @@
{
"name": "@uiw/react-native-alipay",
"version": "2.0.11",
"version": "2.1.1",
"description": "基于 React Native 的支付宝插件支持Android/iOS。",
"main": "index.js",
"typings": "index.d.ts",