Comments (6)
from cordova-plugin-alipay.
楼上可以把error.resultStatus alert出来看下。
我也遇到了这儿问题
errorResult是
{ resultStatus: 6001, result: '', memo: '操作已经取消' }
我的cordova版本是6.0.0
测试手机的安卓版本是6.0.1 MMB29M
我用的是自动安装的方式
请问里面的[你的pid]这个[]要保留吗?
我最后生成的plugin.xml是这样的
`
AlipayPlugin
MIT license
支付宝支付插件,alipay payment
alipay, payment
https://github.com/charleyw/cordova-plugin-alipay
https://github.com/charleyw/cordova-plugin-alipay/issues
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<!-- alipay sdk begin -->
<activity android:name="com.alipay.sdk.app.H5PayActivity"
android:configChanges="orientation|keyboardHidden|navigation"
android:exported="false" android:screenOrientation="behind"
android:windowSoftInputMode="adjustResize|stateHidden">
</activity>
<!-- alipay sdk end -->
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/libs/alipaySDK-20150724.jar" target-dir="libs"/>
<source-file src="src/android/AliPayPlugin.java" target-dir="src/wang/imchao/plugin/alipay"/>
<source-file src="src/android/PayResult.java" target-dir="src/wang/imchao/plugin/alipay"/>
<source-file src="src/android/Base64.java" target-dir="src/wang/imchao/plugin/alipay"/>
<source-file src="src/android/SignUtils.java" target-dir="src/wang/imchao/plugin/alipay"/>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLName</key>
<string>alipay</string>
<key>CFBundleURLSchemes</key>
<array>
<string>a$PARTNER_ID</string>
</array>
</dict>
</array>
</config-file>
<framework src="CoreTelephony.framework" weak="true" />
<framework src="Security.framework" weak="true" />
<framework src="SystemConfiguration.framework" weak="true" />
<framework src="src/ios/lib/AlipaySDK.framework" custom="true" />
<framework src="src/ios/lib/openssl.framework" custom="true" />
<header-file src="src/ios/AlipayPlugin.h"/>
<source-file src="src/ios/AlipayPlugin.m"/>
<header-file src="src/ios/Order.h"/>
<source-file src="src/ios/Order.m"/>
<header-file src="src/ios/Util/DataSigner.h"/>
<header-file src="src/ios/Util/NSDataEx.h"/>
<header-file src="src/ios/Util/RSADataSigner.h"/>
<header-file src="src/ios/Util/openssl_wrapper.h"/>
<source-file src="src/ios/Util/DataSigner.m"/>
<source-file src="src/ios/Util/NSDataEx.m"/>
<source-file src="src/ios/Util/RSADataSigner.m"/>
<source-file src="src/ios/Util/openssl_wrapper.m"/>
请问是不是我的操作出现错误了?
from cordova-plugin-alipay.
@MinionsDave [] 不需要的。
from cordova-plugin-alipay.
是我支付宝账号填错了,必须是商户的支付宝账号。一样有这个错误的话可以看一下。
from cordova-plugin-alipay.
@charleyw 你好,我用支付宝的工具验证了一下 密钥和公钥是能对应上的 但是还是报这个错误 请问下该怎么办啊
from cordova-plugin-alipay.
@cxpyear 建议你按照这个文档再检查一下:https://doc.open.alipay.com/support/hotProblemDetail.htm?spm=a219a.7386797.0.0.XVUsZJ&id=242396
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.