jack0871
jack0871
  • 发布:2017-10-14 02:40
  • 更新:2017-10-14 09:37
  • 阅读:2761

菜鸟求解:求教支付宝支付服务端问题,有源码可付费

分类:HBuilder

各位大虾,小弟刚刚接触Hbuilder,在做支付宝支付。踩了很多坑。现在的问题是,最新的支付宝接口使用SDK生成请求参数,其形如:

alipay_sdk=alipay-sdk-java-dynamicVersionNo&app_id=2017101109241461&biz_content=%7B%22body%22%3A%22test%22%2C%22out_trade_no%22%3A%222017090080001939235%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22subject%22%3A%22App%22%2C%22timeout_express%22%3A%2230m%22%2C%22total_amount%22%3A%220.01%22%7D&charset=utf-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fmeilinmeishe.com%2Fintfs%2FAjaxService.jsp&sign=KEnD5Dqq6qOsmEqXMQgCOiGrbZnIi79GYrVMWNuOhdknY8jRXJEj5AZMEez8nR6vexZzZ9PrN%2BLC0tAOtXTAVCVavEHTIfJvSLyOXqfKVVxVoVO1nQ5j1GTQZcL3NGCRQmRGXIu05lWLQBT4Bir5YE%2BN79o1qN42BC7jIzOY1dPKvEcvczpujnvHFiL0CHYQJ7MFeTc7H9%2FkJ3FIQjcdgUCl9zv6W0uompPb4gdPIaB%2BHPS%2FymqdD1ukgGrgSaHWOdfEN0w%2BLxttnfaQoYr9TcIBRgyppyPJzdtLe9ztrotgbo6g1VpTpctv0k3BVLWcbRYJdJFh8EFr78WF8riU0A%3D%3D&sign_type=RSA2&timestamp=2017-10-13+18%3A28%3A13&version=1.0

这样的,在APP调用支付宝的时候,提示:ALI40247错误。
有位大虾贴过一个他的参数:
charset=utf-8&biz_content=%7B%22timeout_express%22%3A%2230m%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22total_amount%22%3A%220.01%22%2C%22subject%22%3A%22App%E6%94%AF%E4%BB%98%E5%AE%9D%E6%B5%8B%E8%AF%95%22%2C%22body%22%3A%22%E6%88%91%E6%98%AF%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE%22%2C%22out_trade_no%22%3A%220908113407-4692%22%7D&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fe0c59c1a.ngrok.io%2Fapp%2Fdo%2Falipay%2Fnotify&app_id=2016040401265459&sign_type=RSA2&version=1.0&timestamp=2017-09-07+18%3A10%3A53&sign=aRx8%2BH6YyWHFfzbG4bm4AU0zRrlZ4ovdaWxyrNluFjRqvpiepCKmdOpqiOF%2FHJefmxcaZcUCN%2FMPc2O%2FmoPdq6UEZe6JXQwtT7jH8VNE9brDgghh7y2TAsQjAAqfzWs7e3aLVgQJORemoggWlZMF4Awt6Hc1k8EFV51a%2BYFFqHJgtdRWfT%2BXGrPL88yDC%2BbViMXW02%2BxlGkuv6aUN0UbVgSBwCuhaED5FXbFZK4pIFCg8o4XEyVRsK07QwcsEeRt1Dln5yFKKpGEXmoY8YmAp5Rq%2BB5TOgs1Bw2HZOLEujkVCCxK8fJMlVShIR%2B9Y0bYSqjFNEi%2F1m0e4Sx5eEYmqA%3D%3D

复制过来居然能成功。
现小弟求java服务端源码,如能正常使用,可以付费。

2017-10-14 02:40 负责人:无 分享
已邀请:
peter_yu

peter_yu - 承接各种彩票类,电商类app,有现成的案例有需要联系

我有。

该问题目前已经被锁定, 无法添加新回复