Implement In app promotion on subscription with promo code in flutter using in_app_purchases official library
Asked Answered
S

1

9

I recently implemented the in-app subscription into my app. Now I am working on adding the promo codes for a subscription. People with promo code can have 15 days trial and after that, they'll be charged.

https://developer.android.com/google/play/billing/billing_promo

Described here we can have promotions on subscriptions by giving the user a free trial period. I have created the promotion in the play console. But when I purchase the subscription there is no way I can add the redeem code or promotion code ( Do my app need to be in production or i can test in alpha track too ).

Please Guide me on this.

Sharkskin answered 19/3, 2020 at 21:15 Comment(2)
Did you have any solution, or answer?Avi
found any solutions yet?Bianco
H
1

You need to configure license testers on the Play Developer Console to test Google Play Billing as mentioned in this guide. As for configuring the promo code, it's also done on the same page.

Play Console

To test the Billing integration on your app, it needs to be published on test track at least. You can visit this guide for more details. Once the setup is done, the promotion can be tested. There should be a promo code field on the Purchase Dialog in your app. Here are other methods where the promo code can be tested.

Hartwell answered 26/1, 2022 at 16:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.