支付宝回调问题
来源:11-10 支付模块所有功能自测
weixin_慕标0301205
2019-08-09
老师我的支付宝可以扫码付款,并付款成功,商家的金额也会和买家对应,但支付宝不能回调,数据库中订单状态也没有发生变化。
09-Aug-2019 01:54:59.741 INFO [http-apr-8080-exec-6] com.alipay.demo.trade.service.impl.AbsAlipayTradeService.tradePrecreate trade.precreate bizContent:{"out_trade_no":"1492091089794","seller_id":"","total_amount":"4.00","undiscountable_amount":"0","subject":"happymmall扫码支付,订单号:1492091089794","body":"订单1492091089794购买商品共4.00元","goods_detail":[{"goods_id":"26","goods_name":"Apple iPhone 7 Plus (A1661) 128G 玫瑰金色 移动联通电信4G手机","quantity":1,"price":"6999"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088102178934742"},"timeout_express":"120m"}
09-Aug-2019 01:55:01.039 INFO [http-apr-8080-exec-6] com.alipay.api.internal.util.AlipayLogger.logBizSummary Summary^_^10000^_^null^_^ProtocalMustParams:charset=utf-8&method=alipay.trade.precreate&sign=F1pSGT92uV1Q+iKyQ7j/PruwMSalBVqcgaABKJdCudun4tbXexpyAq4RfXXYQOGSL92YL2qSx291vIFdhSFZPYu88QBkBS1oIs30g/QgD/RD9HG4HBiFTO0/tGjddALMQBKp3p2mzH30rUssKzUmn2Bg6Gl2PSr3362rr9UOZvNFu+OC/c9VMelJODzrbZJcMgDZgxMF29fPEjZgn6zGlR3QK75VL5onFqca0OgvTrs7JGJkA7GG2NGkzYcd10k2Z2W1xD5E3kcqq2LXLXLEdttAvgfyfEpVqJKnAPYB251Fa0rS3AD/Zec/Lq36899kb5ndQN+Dfn9Grx5SMLcRog==¬ify_url=http://tomcat.imooc.com/mmall/order/alipay_callback.do&version=1.0&app_id=2016101000653137&sign_type=RSA2×tamp=2019-08-09 01:54:59^_^ProtocalOptParams:alipay_sdk=alipay-sdk-java-3.3.0&format=json^_^ApplicationParams:biz_content={"out_trade_no":"1492091089794","seller_id":"","total_amount":"4.00","undiscountable_amount":"0","subject":"happymmall扫码支付,订单号:1492091089794","body":"订单1492091089794购买商品共4.00元","goods_detail":[{"goods_id":"26","goods_name":"Apple iPhone 7 Plus (A1661) 128G 玫瑰金色 移动联通电信4G手机","quantity":1,"price":"6999"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088102178934742"},"timeout_express":"120m"}^_^71ms,1163ms,60ms
09-Aug-2019 01:55:01.039 INFO [http-apr-8080-exec-6] com.alipay.demo.trade.service.impl.AbsAlipayService.getResponse {"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"1492091089794","qr_code":"https:\/\/qr.alipay.com\/bax06837vkrbfuqfjbx40044"},"sign":"bmLNwhTe/WlzFJxPYvj+6OFiC9BGAcCtwKw/Iz5IWG8G0IEQV0gOsJk7mKjnzwMF3u1Lm0xEHKbcRO+AyzsNjuKOJz7voMw4sHNmiV//qVGnpDOnb1cpAiYfeIgyO3oWImwj8i/QN4zOAjPZaKMqiWzQ6T3cOJPRPvKbpP3XIyyjEmb4g7yzl7+i5BcszshzTriAhJXJtQ2IiziNFM9NfuXz0YFxisubo/CO8r4+uNnjAGsZcVV0aEIFuwuxGri2/zFv5bqq00ODmkcPkoE6tA/d5LTjpxgZVrVzNf2CLehVQTg6kKOXHepOckBP3tAs4H8+eGBY5Q2OrodLqw//jg=="}
09-Aug-2019 01:55:01.048 INFO [http-apr-8080-exec-6] com.mmall.service.impl.OrderServiceImpl.pay 支付宝预下单成功: )
09-Aug-2019 01:55:01.049 INFO [http-apr-8080-exec-6] com.mmall.service.impl.OrderServiceImpl.dumpResponse code:10000, msg:Success
09-Aug-2019 01:55:01.049 INFO [http-apr-8080-exec-6] com.mmall.service.impl.OrderServiceImpl.dumpResponse body:{"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"1492091089794","qr_code":"https:\/\/qr.alipay.com\/bax06837vkrbfuqfjbx40044"},"sign":"bmLNwhTe/WlzFJxPYvj+6OFiC9BGAcCtwKw/Iz5IWG8G0IEQV0gOsJk7mKjnzwMF3u1Lm0xEHKbcRO+AyzsNjuKOJz7voMw4sHNmiV//qVGnpDOnb1cpAiYfeIgyO3oWImwj8i/QN4zOAjPZaKMqiWzQ6T3cOJPRPvKbpP3XIyyjEmb4g7yzl7+i5BcszshzTriAhJXJtQ2IiziNFM9NfuXz0YFxisubo/CO8r4+uNnjAGsZcVV0aEIFuwuxGri2/zFv5bqq00ODmkcPkoE6tA/d5LTjpxgZVrVzNf2CLehVQTg6kKOXHepOckBP3tAs4H8+eGBY5Q2OrodLqw//jg=="}
09-Aug-2019 01:55:01.634 INFO [http-apr-8080-exec-6] com.mmall.service.impl.OrderServiceImpl.pay qrPath:D:\01_javase\apache-tomcat-8.0.37-windows-x64\apache-tomcat-8.0.37\webapps\mmall\upload/qr-1492091089794.png
查询状态结果是false
下面是回调路径的配置:
查了一晚上,实在是不知道那错了
写回答
5回答
-
weixin_慕标0301205
提问者
2019-08-10
就回调接口的request是空的拿不到,恳请老师给指导指导
00 -
weixin_慕标0301205
提问者
2019-08-10
老师我现在就差支付宝回调地址的问题了,其他的都好了,希望老师能给解答下
00 -
weixin_慕标0301205
提问者
2019-08-09
付款之后,直接范文路径报空指针异常
00 -
weixin_慕标0301205
提问者
2019-08-09
那应该是写这个http://zy7tp7.natappfree.cc这个域名吗
00 -
geelylucky
2019-08-09
同学,http://tomcat.imooc.com这个域名公网能访问嘛?
062020-02-29
相似问题