如果用户希望为产品付费,则调用支付服务。服务必须同步返回成功或失败。此外,服务还必须保证使用目前的价格。Caller (App) -> Payment service -> Product service -> Payment service -> Caller (App)
如何将这种场景优化为异步通信
我已经成功地实现了Payone支付网关(信用卡、Sofort、Paydirect和Paypal)。在成功的支付之后,我得到了响应(指定和支付),一切都很好。, new \MongoDB\BSON\ObjectID($user->_id))
->whereIn('status', ['5', '8', '10', '11//5=>Waiting for pay
我使用iOS的Shopify Mobile Buy SDK,但我无法从他们的支付web视图中获得回调。由于某些原因,这些警告: 2016-11-25 21:17:25.945267 Drool[3328:799969] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2016-11-25 21:17:25.977316 Drool[3328:799969] Could not signalservice
我在heroku上部署了一个应用程序,在那里我已经支付了业余爱好、dyno计划和一个付费postgres实例。2017-06-05T11:00:24.816860+00:00 app[web.1]: 2017/06/05 11:00:24.816756
(7) Warning: app "my-app-name" with run