当订单通过调用图形 API 达到退款状态时调用 CreditsCallback.php
我想问:当我们通过FB graph API将订单状态更新为已退款时,FB是否会调用creditsCallback.php并将状态已退款?因为我们也想处理这种状态,但是当订单达到这种状态时,我们的creditsCallback.php 不会被调用。多谢。
I would like to ask: does FB call creditsCallback.php with status refunded, when we update order status to refunded through FB graph API? Because we want to handle this status also, but our creditsCallback.php is not called, when order reached this status. Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我实施我们的退款系统时,我也想知道同样的事情。
我已经做了一些测试,我可以向您确认 Facebook 不会给您回电通知退款状态。
因此,当您对图形 API 进行 POST 调用并表示您想要退款时,您应该验证 facebook 的响应是否为“true”,然后更新您的数据库。
I was wondering the same thing as I implement our refunding system.
I have made some tests and I can confirm to you that Facebook DOES NOT call you back notifying the refunded status.
So, when you make the POST call to the graph API saying that you want to refund the order, you should verify that the response from facebook is simply "true" and then update your database.