zhongdom / eros-plugin-ios-alipay Goto Github PK
View Code? Open in Web Editor NEWeros 支付宝支付插件
eros 支付宝支付插件
尊敬的作者,我们在底层已经按照教程配置了白名单 URL,但是在ios APP端死活木反应,是怎么回事呢?说明服务器写的支付宝接口,在安卓端都调用正常。
按照教程会报以下错误:
错误1:文件AppDelegate.m报错, Use of undeclared identifier 'AlipaySDK'
解决: 在#import "AppDelegate.h"下一行增加引入#import <AlipaySDK/AlipaySDK.h>
错误2:插件内文件ZDAliPayModule.m报错,WeexPluginLoader/WeexPluginLoader.h file not found
解决: 代码 #import <WeexPluginLoader/WeexPluginLoader.h> 替换成 #import <WeexPluginLoader/WeexPluginLoader/WeexPluginLoader.h>
错误3:插件内文件ZDAliPayModule.h报错,WXModuleProtocol.h file not found with include;
解决:代码 #import <WXModuleProtocol.h> 替换成 #import <WeexSDK/WeexSDK.h>
以上代码替换后可以成功运行并支付
支付成功,返回app成功,回调无法运行,resData不显示到日志
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.