Remove Test IAP Purchase from Google Play: A How-To
In this article
To remove a test in-app purchase (IAP) from Google Play, you cannot delete the transaction itself—Google keeps a permanent record. Instead, you must refund or void the test purchase in the Google Play Console so it no longer counts against your revenue or appears as a valid order. The exact steps depend on whether the purchase was made with a license-testing account or a real payment. First, check the order status in the Play Console under Order management; if it is a test order, you can void it. If it was a real charge, you must refund it. Below is the complete process, including how to handle test purchases made through sandbox environments and what to do if the order does not appear.
What You'll Need
- A Google Play Console account with admin or financial permissions for the app.
- The order ID or the email address used for the test purchase.
- Access to the Google Payments Merchant Center (if the purchase was a real charge).
- The app's package name and the product ID of the in-app item.
Step-by-Step
- Open the Google Play Console and select your app.
- In the left menu, go to Monetize with Play > Products > In-app products (or Subscriptions if applicable). Locate the product ID used in the test.
- Navigate to Order management (sometimes under Financial reports > Order management). This page lists all orders, including test orders. Labels can differ slightly by console version or region.
- Search for the order using the order ID or the buyer's email. Test orders often show a status of Charged or Pending.
- If the order is a test order (made with a license-testing account), click the order to open details, then select Void or Cancel. This removes it from revenue reports but does not delete the record.
- If the order was a real charge (even for a small amount), you must issue a refund. Click Refund and follow the prompts. Refunds may take several business days to process.
- For subscriptions, go to Subscriptions in the left menu, find the test subscription, and cancel it. Then refund any charges.
- After voiding or refunding, the purchase will no longer count as a valid sale. However, the order history remains visible in the Console and in the user's Google Pay account.
- If you used a sandbox environment (e.g., Google Play Billing test instruments), the test purchase may not appear in Order management at all. In that case, clear the test account's purchase history by removing the test account from your device or resetting the test instrument in the Google Play Console under Settings > License testing.
Common Mistakes
- Expecting to delete the order entirely. Google keeps a permanent record for accounting and fraud prevention. You can only void or refund.
- Refunding a test order instead of voiding it. Voiding is for test orders; refunding is for real charges. Using the wrong action can affect your merchant account.
- Not checking the correct order status. Test orders may appear as "Pending" or "Charged" depending on the payment method. Always verify before acting.
- Forgetting to cancel test subscriptions. A subscription test may auto-renew and generate repeated charges. Cancel it in the Console.
- Using the wrong account. Ensure you are signed in with the account that has financial permissions; otherwise, the Order management page may be hidden.
Tips
- Use a dedicated license-testing account for all test purchases to keep them separate from real transactions.
- Label test orders clearly in your internal records so you can identify them later.
- Regularly review Order management to catch accidental real charges early.
- If you need to test repeatedly, consider using Google Play Billing's test instruments, which simulate purchases without generating real orders.
- Document the order IDs of all test purchases for future reference.
Troubleshooting
- Order not showing in Order management: Check that you are in the correct app and that the order was not made with a different Google account. Also, test orders from sandbox environments may not appear; use the license-testing settings to manage them.
- Void or Refund button greyed out: You may lack the necessary permissions. Ask the account owner to grant you financial access.
- Refund fails: Ensure the order is not already refunded or voided. If the payment method is invalid, contact Google Play Developer Support.
- Test purchase still appears in the app: The app may cache purchase data. Clear the app's cache or reinstall it. For test accounts, remove and re-add the account.
- Subscription keeps renewing: Cancel the subscription in the Play Console and refund any charges. Also, instruct the test user to cancel from their Google Play subscriptions page.
Frequently Asked Questions
Can I completely delete a test purchase from Google Play?
No, Google keeps a permanent record of all transactions for accounting and compliance. You can only void or refund the order, which removes it from revenue calculations but not from history.
What is the difference between voiding and refunding a test purchase?
Voiding is for test orders and cancels the transaction without moving money. Refunding is for real charges and returns the money to the buyer. Use void for test orders, refund for real ones.
Why can't I find my test purchase in Order management?
Test purchases made with license-testing accounts or sandbox instruments may not appear there. Check the license testing settings in the Play Console or review the test account's purchase history on the device.
Do I need to refund a test purchase made with a real payment method?
Yes, if the purchase was charged to a real card, you must refund it to avoid charging the tester. Voiding is not available for real charges.
How long does a refund take to process?
Refunds typically take 3–5 business days to appear on the buyer's statement, but Google may take up to 24 hours to initiate the refund.
Can I prevent test purchases from appearing in reports?
Use license-testing accounts and mark orders as test in your internal tracking. Voiding test orders removes them from revenue reports but they still appear in order history.