adjust-icon

Purchase verification

If you’ve enabled purchase verification, you can use the Adjust SDK to request purchase verification. There are two ways to verify purchases with the Adjust SDK:

  1. Create an AdjustEvent object that represents your purchase and configure purchase properties for the target store.
  2. Create an AdjustAppStorePurchase (Apple App Store) or AdjustPlayStorePurchase (Google Play Store) object representing the purchase.

When you send purchase information with the Adjust SDK, Adjust does the following:

  1. Sends the information to the relevant store and waits for a status response.
  2. Forwards the status response to the Adjust SDK.

You can access the purchase verification status by using a callback. Results are returned as AdjustPurchaseVerificationResult objects containing the following properties:

  • verificationStatus (String): The status of the purchase.
  • code (num): The status code of the purchase.
  • message (String): Any message returned by the store.

Verify purchase and record event

Only verify purchase