App on Android market - HTTP notifications don't come

落爺英雄遲暮 提交于 2019-12-17 18:37:01

问题


PREAMBLE: the question is wildly obsolete. There's no more Google Checkout, no more Checkout API, and no more notification settings in Wallet Console.


I have a paid app on Android Market. I've set up an HTTPS notification URL in Google Checkout settings. Yet notifications don't come.

My Google Checkout settings under Integration go like this:

  • My company will only post digitally signed carts - checked
  • API callback URL - provided, it's HTTPS and it's valid
  • Notification as XML - checked
  • API version - 2.5
  • Notification filtering - checked

Please, what am I doing wrong? Are realtime order notifications supported for Android Market at all? If so, is there a separate UI for setting those up?

EDIT: any data points would be welcome. If you sell stuff on the Market and do get those HTTP notifications, let's compare the setups.

EDIT2: seriously considering timed polling of my Google Checkout account. :(

EDIT3: contacted Google Checkout support. No substantial response for over a week. :(( On the brighter side, it is possible to retrieve the list of one's Google Checkout orders, with date and state filtering. On to retrieving order details...


回答1:


The support rep told me it's by design, I should implement account polling with notification history API.

Specifically: https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Order_Report_API describes how to get the list of orders in given state

https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_History_API lets you retrieve order details (getting just the "new order" notification is sufficient in my case).

EDIT: you cannot use some parts of the Google Checkout API with Android Market orders (like marking as archived).

This is not documented. Related question here.



来源:https://stackoverflow.com/questions/3459858/app-on-android-market-http-notifications-dont-come

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!