java - 微信支付成功后,没有调用后台改变订单状态的接口。
阿神
阿神 2017-04-17 17:41:07
0
2
442

1, IOS android 偶尔会遇到:用户支付成功后,并没有调用后台改变订单状态的接口的问题。
2, 下图,如果在这个界面不操作的话,就没有支付信息的回调函数,就不会调用后台的接口。

希望大家能帮下我,给我一个解决思路。谢谢了。

==========================

问题解决。感谢两位给予思路的帮助。

解决思路是 : 服务端要配置 一个接口。 用来接收微信的回调。
解析微信传过来的xml。 然后判断就oK了。

阿神
阿神

闭关修行中......

reply all(2)
刘奇

When done before, the interface will return SUCCESS. If there is no return, the active query order interface will be called.

https://pay.weixin.qq.com/wiki/doc/api/j...

This interface provides query for all WeChat payment orders. Merchants can actively query the order status through this interface and complete the next step of business logic.
Situations where the query interface needs to be called:
When there is an abnormality in the merchant's backend, network, server, etc., the merchant system does not receive the payment notification in the end;
After calling the payment interface, a system error or unknown transaction is returned Status;
Call the scanned payment API and return the status of USERPAYING;
Before calling the custom order or cancellation interface API, the payment status needs to be confirmed;

洪涛

Check whether your business logic is normal, then check whether your user configuration is correct, and finally check whether your callback interface is correct

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template