Promotion code not recognized in adapty
E
Emre
Hi,
I created 15 promotional codes on Google Play and I am giving away a 3-month free version to some users with this code. Users subscribe to Google Play with this code, but Adapty cannot add this 3-month free version to the user's profile. For this reason, the user encounters a paywall every time he enters the application. However, this user started a 3-month free version with the code. How can I ensure this communication between Google and Adapty?
or
According to the true answer from Google, can I update the user's expire date myself?
A
Amina M, Adapty
Hi there!
https://developer.android.com/google/play/billing/promo
These offer codes should be entered in the Google Play. On Android, a user can also redeem a promocode in the payment dialog.
On Adapty side: for Android, we receive offer-code transaction info as a RTDN s2s notification.
Google does not tell us anything about the offers for such transactions, so all of them will be displayed as full-price, regular in the Analytics.
Since Google doesn't create transactions for Lifetime purchases made through offer-code, and there is no transaction_id, we don't receive any notification about Lifetime purchases at all.
To support that use-case, you'd need to track those purchases yourself, identify the purchaser, grant them an Adapty access level via Server-Side API: https://docs.adapty.io/docs/server-side-api-specs
As for now, we can't go around those limitations, but hopefully the upcoming library updates will allow for that.
Hopefully it helps!
E
Emre
of course.
Adapty profile id : d9cd0b0d-b26c-4172-86fb-6d42938e72ce
A
Amina M, Adapty
Hello!
Thank you for reaching out to Adapty support.
Could you please provide me with the profile_id of the user you are using to test the offers? There is a possibility that this user is not eligible for the promotional offer, which might be why you cannot see it during testing.
Looking forward to hearing from you soon.