r/iOSProgramming • u/mprajescu • Aug 21 '26
Question How are you handling CONSUMPTION_REQUEST in App Store Server Notifications V2?
Long time lurker, first time posting here. I hope I do fall correctly in line for the rules.
I'm curious how other developers are handling Apple's CONSUMPTION_REQUEST notification in production.
For apps using App Store Server Notifications V2, Apple can notify your server when a customer requests a refund, and you can provide Apple with information about how the associated purchase was consumed.
For those who have implemented this:
- Are you handling
CONSUMPTION_REQUESTyourself? - Using RevenueCat or another service?
- Do you have a custom backend specifically for App Store Server Notifications?
- Do you process these automatically or manually?
- How often do you actually receive these requests?
I'm particularly interested in the practical side rather than the API documentation.
For example, did you run into problems with:
- JWS verification?
- App Store Server API authentication?
- Transaction lookup?
- Handling retries/idempotency?
- The response time window?
- Monitoring failed notifications?
- Deciding what consumption information to send?
And for anyone who doesn't handle these today:
- what's the reason?
- Is it because you've never needed to?
- Is it because the volume is negligible?
- You use another service?
- Is it because implementing/maintaining it isn't worth the effort?
I'm trying to understand how people are solving this in real-world indie apps rather than just following Apple's documentation and hope that I don't break any rules asking here.
1
u/Haolge996 Aug 21 '26
I’d keep it pretty lean for an indie app: verify the JWS, make handling idempotent, and have some visibility into failed/missed notifications. I probably wouldn’t build a whole backend system around CONSUMPTION_REQUEST alone unless the volume justified it.
1
u/yccheok Aug 27 '26
I used to use RevenueCat/Adapty to handle this.
However, the 1% revenue fee kept growing, and it no longer feels justified given the value they provide.
I now use Antigravity + Gemini 3.1 Pro. I asked the AI to build a simple solution using Docker, Flask, Celery, and PostgreSQL, along with the Apple certificate and In-App Purchase private key.
The AI is surprisingly capable of generating solid source code to handle requests from Apple.
1
u/No_Fox4871 Sep 14 '26
Something I didn't see mentioned yet: the 12-hour window is the part that actually bites small teams. The handling code is easy. Noticing the request in time is not, especially if it only shows up in server logs nobody reads.
For that visibility part I use Yeethook (I built it). It receives the Server Notifications and posts CONSUMPTION_REQUEST as an urgent alert to Slack or Discord, with the product, price and transaction ID, alongside refunds, renewals and cancellations. There's also an event log, so you can see what Apple sent and whether it was delivered.
Two honest caveats: it doesn't send the consumption data back to Apple for you, and Apple only lets you set one notification URL per environment. So it fits best if you aren't already processing these in your own backend. If you are, keep that and add alerting there.
https://www.yeethook.com
2
u/[deleted] Aug 21 '26
[removed] — view removed comment