android - Android Real Time developer notification for one time purchase is half working
问题描述
Android's Real Time developer notification works when I use "Slow test card, approves after a few minutes". I'm getting two notifications on my server via pub/sub. One when the purchases has been made and with token and order withconsumptionState:0 in it. And the second notification, after it has been consumed, with token and order with consumptionState:1 in it. Exactly what I want and expect.
BUT when I use "Test card, always approves" for the same one-time consumable purchase I'm not getting any "Real Time developer notifications" at all.
Am I the only one experiencing such behavior? Is this by design? How to get the notification all the time?
解决方案
Got the response from google:
For one-time purchases real-time developer notifications are only send for pending transactions today. "Test card, always approves" is not a pending transaction which is why no notifications are sent today. We'll work on making this clearer in our documentation.
What makes all this real time developer notifications useless since you can't have one place to process all purchases consistently.
推荐阅读
- c - C语言写的UDP客户端收不到包
- php - 未找到基表或视图:1146 表“ifs.employees”不存在 Laravel 错误
- c# - 如何将 URL 输入参数值传递给 Blazor 页面?
- r - 如何在 R 中编辑 xml 中的值?{XML}
- c++ - 如何修复双重免费或损坏错误
- javascript - 如何使提交按钮以角度启用
- python - 灰度分割掩码的最佳插值
- c# - 如何使用xunit进行单元测试包含hangfire的功能
- azure - Azure Databricks - 解释 databricks 中的安装语法
- html - 如何更改 ionic 3 typescript 中的时间格式