diff --git a/src/content/docs/en/sdk/android/features/events.mdx b/src/content/docs/en/sdk/android/features/events.mdx index 7b99b1e198..828b9086d7 100644 --- a/src/content/docs/en/sdk/android/features/events.mdx +++ b/src/content/docs/en/sdk/android/features/events.mdx @@ -122,8 +122,12 @@ Parameters: ### Purchase verification + + If you've enabled [purchase verification](https://help.adjust.com/en/article/purchase-verification), you must send additional information with your purchase events to verify them. When Adjust's servers receive this information in an event object, they forward it to Apple to verify the purchase. + + `productId` (String) : The product identifier of the item that was successfully purchased diff --git a/src/content/docs/en/sdk/ios/features/events.mdx b/src/content/docs/en/sdk/ios/features/events.mdx index ad10db4ce8..c1114257ab 100644 --- a/src/content/docs/en/sdk/ios/features/events.mdx +++ b/src/content/docs/en/sdk/ios/features/events.mdx @@ -256,8 +256,12 @@ Parameters: ### Purchase verification + + If you've enabled [purchase verification](https://help.adjust.com/en/article/purchase-verification), you must send additional information with your purchase events to verify them. When Adjust's servers receive this information in an event object, they forward it to Apple to verify the purchase. + + `transactionId` (NSString) : The [`transactionIdentifier` value](https://developer.apple.com/documentation/storekit/skpaymenttransaction/1411288-transactionidentifier) of the successfully completed purchase diff --git a/src/content/docs/en/sdk/unity/features/events.mdx b/src/content/docs/en/sdk/unity/features/events.mdx index 10260d28e7..bc62e11e9f 100644 --- a/src/content/docs/en/sdk/unity/features/events.mdx +++ b/src/content/docs/en/sdk/unity/features/events.mdx @@ -127,6 +127,37 @@ Parameters: currency EUR ``` +### Purchase verification + + + +If you've enabled [purchase verification](https://help.adjust.com/en/article/purchase-verification), you must send additional information with your purchase events to verify them. When Adjust's servers receive this information in an event object, they forward it to Apple to verify the purchase. + + + +`productId` (String) +: The product identifier of the item that was successfully purchased + +`transactionId` (NSString) +: The [`transactionIdentifier` value](https://developer.apple.com/documentation/storekit/skpaymenttransaction/1411288-transactionidentifier) of the successfully completed purchase. iOS only + +`receipt` (String) +: The signed receipt containing the information about the successfully completed purchase. iOS only + +`purchaseToken` (String) +: The purchase token generated for your successfully completed in-app purchase Android only + +```cs +AdjustEvent adjustEvent = new AdjustEvent("abc123"); +adjustEvent.setRevenue(6.0, "EUR"); +adjustEvent.setProductId("product-id"); // Android & iOS +adjustEvent.setTransactionId("transaction-id"); // iOS only +adjustEvent.setReceipt("receipt"); // iOS only +adjustEvent.setPurchaseToken("purchase-token"); // Android +only +Adjust.trackEvent(adjustEvent); +``` + ## Unique events You can pass an optional identifier to avoid recording duplicate events. The SDK stores the last ten identifiers and skips revenue events with duplicate transaction IDs.