Comments (4)
private key 也需要改,并且key需要PCKS格式的
这个错的原因是 因为 privatekey 没找到。或者格式错了。
from cordova-plugin-alipay.
你好!感谢开源这个插件!!!
我查了一下,生成KEY时是PCK8.
我手工安装了一次:1、下载到本地,修改plugin.xml,先删除了PRIVATE_KEY那条,改了两处privatekey
2、使用cordova plugin add $CORDOVA_PLUGIN_DIR --variable PARTNER_ID=[你的商户PID可以在账户中查询] --variable SELLER_ACCOUNT=[你的商户支付宝帐号]
3、打开 安装目标文件夹下的plugin目录下的cordova-plugin-alipay/plugin.xml,发现里面的两个值未改变,也没增加value=...等内容,仍是:
/以下省略一部分内容/
4、再集成,仍是这个错误。
还可能是什么错误?是否可以把这三个值直接写入到src/android/alipayplugin.java里面?
注:我在编译中也遇到了以下错误,但不影响使用,显示成功。
:compileDebugJavaWithJavac注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
在 2016年5月14日,14:30,Wang Chao [email protected] 写道:
private key 也需要改,并且key需要PCKS格式的
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #32 (comment)
from cordova-plugin-alipay.
我用过这位大神的插件,建议采用自动安装
from cordova-plugin-alipay.
各位,我调用成功了,我把经验贡献给大家。
1、由于我老是自己消化理念,造成使用PCKS8的密码错误,以为存成文件的也是经过PCKS8处理过的。
2、重新按流程,把打到屏幕上的PCKS8密钥抄下来,去空格和回车处理后,再放入到privatekey的value中。
3、我是把两处的PARTNER_ID和SELLER_ACCOUNT都手工填写了。
4、手工安装,编译成功。
再次谢谢楼主的开源。
from cordova-plugin-alipay.
Related Issues (20)
- 支付时是重新打开支付宝APP HOT 1
- Xcode7.3.1如何设置支付宝返回URL HOT 3
- 通常支付宝只会跳回原来的APP,但是在ios上,跳转到了另外一个也可以用支付宝支付的app HOT 15
- App审核alipay被拒,有什么办法可以解决 HOT 5
- PID和密匙在哪里设置 HOT 4
- 安装后支付失败 HOT 15
- 咨询一下这里安装时的PRIVATE_KEY HOT 1
- ionic添加插件失败
- App支付请求参数 HOT 3
- 支付有严重漏洞 HOT 6
- [Android] 读取密钥错误 HOT 2
- 请求参数 HOT 1
- Partner, seller ID & privateKey during Pay method
- 添加currency以便支持境外收单
- 升级10.3后无法唤起 HOT 1
- 怎么调用到插件的handleOpenURL方法 HOT 1
- 超哥你好,在集成的时候出现了一些错误,希望您能帮忙看一下! HOT 3
- 调用时支付宝提示系统繁忙 ALIN10129 HOT 1
- 无法编译通过。“程序包com.alipay.sdk.app不存在”
- cordova8.0以上无法调起 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-alipay.