请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

代码报错

六月 23, 2017 1:40:36 下午 com.alipay.demo.trade.service.impl.AbsAlipayTradeService tradePrecreate

信息: trade.precreate bizContent:{"out_trade_no":"tradeprecreate14981964360623533482","seller_id":"","total_amount":"0.01","undiscountable_amount":"0","subject":"xxx品牌xxx门店当面付扫码消费","body":"购买商品3件共20.00元","goods_detail":[{"goods_id":"goods_id001","goods_name":"xxx小面包","quantity":1,"price":"10"},{"goods_id":"goods_id002","goods_name":"xxx牙刷","quantity":2,"price":"5"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}

六月 23, 2017 1:40:41 下午 com.alipay.api.internal.util.AlipayLogger logErrorScene

严重: ErrorScene^_^40002^_^isv.invalid-app-id^_^null^_^Windows 8.1^_^2017-06-23 13:40:41^_^ProtocalMustParams:sign=g+Y4MJtHyrIQ3OCwFvwoqYm6Q0/cFXqsbBhpx7xfi70f0nterl3BPxlC4LmF+rI0T25n5fXr3xah3yXGFbn6filxUsc3lFz+Vk1QELhWNX+yWcggbDt7FlUc/Y75xFTjJz/CZOuRRK7HbJcDuq9IG3QWakHa9ldja5o7IAX+kaZ4CwtmnkjaE5Kl3ibYrR4cte/KYj2dlsyVLbxknLu0Nn1L1GeT+kW07JOGZzY+OXLxfikpR9LdA5dQMr5GkcpkBy077ybq/1HRJvcuVvsQRUx8qDnMry6phhkk9oc8L1Y39+y2dHCU+sdo1N8U7AWB1rJYr2DjjwxIaSmivoOj4A==&timestamp=2017-06-23 13:40:36&sign_type=RSA2&charset=utf-8&app_id=2016080600181258&method=alipay.trade.precreate&version=1.0^_^ProtocalOptParams:alipay_sdk=alipay-sdk-java-dynamicVersionNo&format=json^_^ApplicationParams:biz_content={"out_trade_no":"tradeprecreate14981964360623533482","seller_id":"","total_amount":"0.01","undiscountable_amount":"0","subject":"xxx品牌xxx门店当面付扫码消费","body":"购买商品3件共20.00元","goods_detail":[{"goods_id":"goods_id001","goods_name":"xxx小面包","quantity":1,"price":"10"},{"goods_id":"goods_id002","goods_name":"xxx牙刷","quantity":2,"price":"5"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}^_^Body:{"alipay_trade_precreate_response":{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-app-id","sub_msg":"无效的AppID参数"}}

六月 23, 2017 1:40:41 下午 com.alipay.demo.trade.service.impl.AbsAlipayService getResponse

信息: {"alipay_trade_precreate_response":{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-app-id","sub_msg":"无效的AppID参数"}}

六月 23, 2017 1:40:41 下午 com.alipay.demo.trade.Main test_trade_precreate

严重: 支付宝预下单失败!!!


正在回答 回答被采纳积分+3

1回答

Geely 2017-06-24 13:47:28

hi 同学 看报错是是阿里的返回值

{"alipay_trade_precreate_response":{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-app-id","sub_msg":"无效的AppID参数"}}


无效的AppID参数,请按照课程配置一下appid。

0 回复 有任何疑惑可以回复我~
  • 提问者 pookly #1
    好嘞,谢谢老师
    回复 有任何疑惑可以回复我~ 2017-06-26 09:20:26
  • 浣玉 #2
    老师,我也是这个问题,不是自动生成的吗?这个不需要配置吧。
    回复 有任何疑惑可以回复我~ 2018-04-28 18:09:16
  • Geely 回复 浣玉 #3
    商户id appid 是需要在支付宝沙箱里找的,然后配置到咱们支付宝的配置里面的。
    回复 有任何疑惑可以回复我~ 2018-05-01 15:18:52
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信