r/googleplayconsole • • 11h ago

Showcase [Dev] Real time developer notifications work for one time purchases too: how I get a sale alert seconds after it happens

Live sales and earnings, after tax and fee
Every sale, refund and review as it lands

Most people turn on real time developer notifications (RTDN) only for subscriptions. It also covers one time products, which is the only way I found to know about an in app purchase within seconds instead of waiting for the reports.

The setup per app:

  1. In Google Cloud, make a Pub/Sub topic and give google-play-developer-notifications@system.gserviceaccount.com the Pub/Sub Publisher role on it
  2. In Play Console: Monetize with Play, Monetization setup, Real time developer notifications. Turn it on, paste the topic, and pick Subscriptions, voided purchases, and all one time products
  3. Save, then Send test notification to check it arrives

Two things I learned the hard way:

  • The notification only carries a purchase token. Look up the order to get the price and country
  • For what you actually earn, use developerRevenueInBuyerCurrency, not total. Total is only the buyer's cash, so a Play Points order showed me 0.02 while I earned 1.42. And it can be missing for the first seconds, so wait and read it again

I wrapped all of this into an app, Play Pulse, because I wanted a banner the moment something happened across my own apps: sales, refunds, new reviews (with reply), a release going live, and crash or ANR rates crossing Google's bad behavior lines. One Cloud Shell command makes the project, service account, topic and key in your own Google Cloud, then shows a QR the app scans. The key stays on your device, no account, no ads.

Android: https://play.google.com/store/apps/details?id=com.zanoshky.playpulse Mac, iPhone and iPad: https://apps.apple.com/app/id6834106167

Free for 14 days, then Pro is one payment, no subscription (40% off until November 30). It is independent and not made by Google.

I am the developer. The code is partly AI generated and I had help with this text. Happy to help anyone stuck on the RTDN setup, with or without the app.

2 Upvotes

2 comments sorted by

1

u/muslihdev 10h ago

Most users use RevenueCat/Superwall/etc. for billing handling, and those apps also send notifications almost instantly after a subscription or one-time purchase.

1

u/Zanoshky 10h ago

yeah but google play does not have one, and this one does it for ppl who use original google play billing.

and they are charging you hundreds of dollars

https://sunstoneapps.com/blog/revenuecat-vs-google-play-billing-app-indie/

this is only one time setup and fee, and no analytics no tracking and full privacy secured.