SegmentFault 聚易付的问题
2014-10-04T16:03:10+08:00
https://segmentfault.com/feeds/tag/聚易付
https://creativecommons.org/licenses/by-nc-nd/4.0/
获取版本失败,包不存在
https://segmentfault.com/q/1010000000708025
2014-10-04T16:03:10+08:00
2014-10-04T16:03:10+08:00
Coding01
https://segmentfault.com/u/yemeishu
0
<p>如题,如何解决?获取版本失败,包不存在android.content.pm.PackageManager$NameNotFoundException: cn.mixpay.apk</p>
聚易付在代码混淆的时候,应该加什么声明呢?
https://segmentfault.com/q/1010000000672727
2014-09-17T14:32:44+08:00
2014-09-17T14:32:44+08:00
也许丶
https://segmentfault.com/u/yexu
0
<p>聚易付在代码混淆的时候,应该加什么声明呢?</p>
ruby示例运行出错
https://segmentfault.com/q/1010000000609965
2014-07-18T13:13:24+08:00
2014-07-18T13:13:24+08:00
喀迈啦
https://segmentfault.com/u/kamaila
0
<pre><code>Errno::ENOENT - No such file or directory - rsa_private_key.pem:
server.rb:7:in `read'
server.rb:7:in `block in <main>'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `call'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `block in compile!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `[]'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (3 levels) in route!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in `route_eval'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (2 levels) in route!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `catch'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `process_route'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in `block in route!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `each'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `route!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in `block in dispatch!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in `dispatch!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `block in call!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `call!'
/root/.rvm/gems/ruby-2.0.0-p247/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in `call'
/root/.rvm/gems/ruby-2.0.0-p247/gems/rack-protection-1.5.3/lib/rack/protection/xss_heade
</code></pre>
示例程序支付时提示签名错误
https://segmentfault.com/q/1010000000610170
2014-07-18T15:04:52+08:00
2014-07-18T15:04:52+08:00
kaluola_2012
https://segmentfault.com/u/kaluola_2012
0
<p>支付宝支付提示:<br>
签名错误,原因是:创建订单失败,非法签名</p>
<p>可是我正确上传了公钥,自己签名和验签都是ok的,为啥运行时还会提示这个错误?</p>
非正式商户测试金额不能大于1分?
https://segmentfault.com/q/1010000000609975
2014-07-18T13:25:47+08:00
2014-07-18T13:25:47+08:00
kaluola_2012
https://segmentfault.com/u/kaluola_2012
0
<p>我弄了一个一2分的订单,支付宝支付的时候提示这个。这还有限制呢?</p>
没找到聚易付注册用户的key和密钥?
https://segmentfault.com/q/1010000000608616
2014-07-17T14:09:36+08:00
2014-07-17T14:09:36+08:00
qatang
https://segmentfault.com/u/qatang
0
<p>为啥我只在应用菜单里建立了新的应用之后才能看到一个app_key,难道是一个app才有一个对应的key和密钥吗?</p>
登录mixpay.cn之后"密钥"那个功能咋使用?
https://segmentfault.com/q/1010000000608607
2014-07-17T14:03:36+08:00
2014-07-17T14:03:36+08:00
qatang
https://segmentfault.com/u/qatang
0
<p>我没搞懂应该是怎样的流程?</p>
集成聚易付,大概需要多长时间?
https://segmentfault.com/q/1010000000607194
2014-07-16T14:37:31+08:00
2014-07-16T14:37:31+08:00
anakin_607179
https://segmentfault.com/u/anakin_987
0
<p>包括商务和开发,大概需要多长时间?</p>
现在支持哪些支付方式?
https://segmentfault.com/q/1010000000607215
2014-07-16T14:41:52+08:00
2014-07-16T14:41:52+08:00
anakin_607179
https://segmentfault.com/u/anakin_987
0
<p>支付宝、银联什么的都支持么?</p>
服务器端订单签名报错!
https://segmentfault.com/q/1010000000607151
2014-07-16T14:23:18+08:00
2014-07-16T14:23:18+08:00
刘鹏
https://segmentfault.com/u/liupeng_607126
1
<p>运行java版服务器端示例代码中的<code>SignOrderByRSAExample.java</code>,将<code>PRIVATE_KEY</code>换成自己的key之后报错:<br>
待签名串:amount=2&app_key=6018561003558745&ext_data=&merchant_order_id=order001&merchant_user_id=U0001&notify_url=&order_desc=2014-6-5下单,一红一黑&order_title=飞行扫帚两个&product_desc=光速2000最新型号,速度超快&product_id=Product001&product_name=飞行扫帚<br>
Disconnected from the target VM, address: '127.0.0.1:49522', transport: 'socket'<br>
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : algid parse error, not a sequence<br>
at sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:217)<br>
at java.security.KeyFactory.generatePrivate(KeyFactory.java:372)<br>
at cn.mixpay.server.SignatureUtils.sign(SignatureUtils.java:76)<br>
at cn.mixpay.server.RSASignatureTool.sign(RSASignatureTool.java:121)<br>
at cn.mixpay.server.RSASignatureTool.signOrderInfo(RSASignatureTool.java:97)<br>
at cn.mixpay.server.exapmle.SignOrderByRSAExample.main(SignOrderByRSAExample.java:45)<br>
Caused by: java.security.InvalidKeyException: IOException : algid parse error, not a sequence<br>
at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:350)<br>
at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:356)<br>
at sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(RSAPrivateCrtKeyImpl.java:91)<br>
at sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(RSAPrivateCrtKeyImpl.java:75)<br>
at sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:316)<br>
at sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:213)<br>
... 5 more<br>
Exception in thread "main" java.lang.NullPointerException<br>
at java.net.URLEncoder.encode(URLEncoder.java:205)<br>
at cn.mixpay.server.exapmle.SignOrderByRSAExample.main(SignOrderByRSAExample.java:49)<br>
RSA签名结果:null</init></p>
Mixpay Android SDK 中提供的两个订单初始化方法有什么区别?
https://segmentfault.com/q/1010000000607079
2014-07-16T14:02:18+08:00
2014-07-16T14:02:18+08:00
kaluola_2012
https://segmentfault.com/u/kaluola_2012
0
<p>一个是<br><code>Order(String appOrderId, String appUserId, int amount, String orderTitle, String orderDesc, String productId, String sign)</code><br>
另一个是<br><code>Order(String appOrderId, String appUserId, int amount, String orderTitle, String orderDesc, String productId)</code></p>
<p>请问这俩有啥区别?分别在什么场景下使用?</p>