Automatic refund tracking

Devtodev allows you to collect refund data automatically for purchases made through the Google Play and App Store platforms. Refunds are recorded as transactions with negative amounts and matched to original purchases whenever possible.

The automatic refund tracking system helps you monitor actual revenue more accurately and analyze refund patterns without manual event configuration.

If you're using Unity and sending Real Payment events manually, refunds may not be processed correctly. This is because the purchase token is partially truncated in the SDK, which prevents it from being matched with store refunds.

We strongly recommend enabling automatic payment tracking to ensure correct refund matching on Unity for Android.

How it works

Refunds are collected via store APIs or postbacks and processed on the server side. For each refund:

  • devtodev attempts to match it to an original transaction by transaction ID.

  • The refund is saved as a transaction with a negative amount.

  • The event is dated using the refund processing date (not the original payment date).

Note: Refund tracking works automatically — no changes in the SDK are required.

Setup

To enable refund tracking:

  • Set up integration with the App Store or Google Play.

  • Go to: Settings → Payments integration → IA refunds tracking.

  • Click the ✎ icon next to IA refunds tracking and fill in the fields related to the platform.

  • Refund tracking starts working automatically on supported platforms after you enable it in the devtodev interface.

  • No SDK-side changes are required.

For details on how to set up integration with app stores, see:

Last updated

Was this helpful?