Skip to content

Commit c9feb24

Browse files
committed
Remove extra section
1 parent b1bef0c commit c9feb24

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

versioned_docs/version-3.0/unity-making-purchases.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -106,31 +106,6 @@ You can read more about subscriptions and replacement modes in the Google Develo
106106
- Replacement mode [`CHARGE_PRORATED_PRICE`](https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#CHARGE_PRORATED_PRICE()). Note: this method is available only for subscription upgrades. Downgrades are not supported.
107107
- Replacement mode [`DEFERRED`](https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#DEFERRED()). Note: A real subscription change will occur only when the current subscription billing period ends.
108108

109-
### Set obfuscated account IDs (Android)
110-
111-
Google Play requires obfuscated account IDs for certain use cases to enhance user privacy and security. These IDs help Google Play identify purchases while keeping user information anonymous, which is particularly important for fraud prevention and analytics.
112-
113-
You may need to set these IDs if your app handles sensitive user data or if you're required to comply with specific privacy regulations. The obfuscated IDs allow Google Play to track purchases without exposing actual user identifiers.
114-
115-
```csharp showLineNumbers title="Unity"
116-
var purchaseParameters = new AdaptyPurchaseParametersBuilder()
117-
.Build();
118-
119-
Adapty.MakePurchase(product, purchaseParameters, (result, error) => {
120-
if (error != null) {
121-
// Handle the error
122-
return;
123-
}
124-
125-
switch (result.Type) {
126-
case AdaptyPurchaseResultType.Success:
127-
// Handle successful purchase
128-
break;
129-
// Handle other cases
130-
}
131-
});
132-
```
133-
134109
## Redeem Offer Code in iOS
135110

136111
Since iOS 14.0, your users can redeem Offer Codes. Code redemption means using a special code, like a promotional or gift card code, to get free access to content or features in an app or on the App Store. To enable users to redeem offer codes, you can display the offer code redemption sheet by using the SDK method:

0 commit comments

Comments
 (0)