Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way of testing Free Trials #468

Open
aruke opened this issue Jun 29, 2021 · 30 comments
Open

Way of testing Free Trials #468

aruke opened this issue Jun 29, 2021 · 30 comments

Comments

@aruke
Copy link

aruke commented Jun 29, 2021

I'm in a position where I want to test the Free Trial feature of a subscription. Given that I don't want to create multiple Google Accounts, is there a way of testing a Free Trial for a given SKU?

I have already searched the internet and found no answers.
https://developer.android.com/google/play/billing/test
https://stackoverflow.com/questions/54095144/google-play-free-trial-period-testing-strategy
https://stackoverflow.com/questions/66243094/google-billing-free-trial-same-user-multiple-times

@blundell
Copy link

blundell commented Sep 4, 2021

You could use the internal test track to make a release, and test there. (last resort)

@aruke
Copy link
Author

aruke commented Sep 13, 2021

Even after releasing to different tracks, the Google Account and the product ID stay the same. It's not efficient to create a new Google account for each time I want to test a free trial. Right?

@shumidub
Copy link

shumidub commented Oct 27, 2021

Please add the ability to test trial to Google In-App purchases from the same accounts.

Now, the trial version is available 1 time for each account (1 time per subscription).

We do regression testing every week, and we have to create a lot of additional Google accounts to be able to test the trial version.

Add the ability to restore trial availability for a Google account.

For these accounts, you have to find phone numbers, then add them to the internal testing, join the internal testing program and wait a day until the test card appears on the account.

This is very very very very very very very very not convenient and not productive

@kevinkooyizen
Copy link

This is insane that this is still a thing in 2022

@igorTarakanov
Copy link

Even Apple has done Reset Trial Eligibility button for their Sandbox accounts.

@localboss-git
Copy link

2023 Google!

@dimas-amendes
Copy link

2023 and we still don't have a reset button for Trial Purchases, neither an easy way to identify if a purchase contains trial period

@adfleshner
Copy link

I am looking for a way to reset a License tester account to re-test free trials offer, but from what I can see it looks like this might not be possible at the moment is that correct?

Does anyone know of any other way to do this so we can test this consistently without the need of creating a new google account every time I want to make sure any offer updates continue to work correctly?

@alexvoina
Copy link

unbelievable

@tnblank77
Copy link

tnblank77 commented Jul 7, 2023

This is an incredibly frustrating aspect of trying to test a subscription using Google. Uncanny that it's been an issue so long.

Surely Google doesn't want developers spawning brand new accounts all the time just to test free trials?

@longxuewei
Copy link

3202 Google!!!!!!!!!

@frozax
Copy link

frozax commented Oct 7, 2023

This has to be a joke, right? Especially since we can't use Play Billing v4 anymore with the new restrictions on Google Play....

@sarunmrzn
Copy link

Anybody found a clean workaround for this?

@lironzemingo
Copy link

any news on this?

@tfkci
Copy link

tfkci commented Dec 12, 2023

Are you kidding us ?

@altxsteven
Copy link

unbelievable before 2024!!!

@aloh86
Copy link

aloh86 commented Dec 23, 2023

Yo....it's getting close to Christmas 2023. Please allow a way to reset this!

@doublechecker
Copy link

This is the most ridiculous thing i have seen so far.

@Andreogit
Copy link

they on smth, still not a thing

@1136535305
Copy link

Are you kidding us? 2024 Google!!

@poonam-1223
Copy link

poonam-1223 commented Mar 5, 2024

I am looking for a way to reset a License tester account to re-test free trials offer, but from what I can see it looks like this might not be possible at the moment is that correct?

Does anyone know of any other way to do this so we can test this consistently without the need of creating a new google account every time I want to make sure any offer updates continue to work correctly?

We found a way accidentally. All you need to do is create a free trial offer and in Eligibility criteria, select developer determined. This way you will always have free trial enabled in the subscription with the same google account no matter how many times you test. Hope this helps

https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/google-play-offers#eligibility-criteria

@poonam-1223
Copy link

poonam-1223 commented Mar 5, 2024

Are you kidding us? 2024 Google!!

We found a way accidentally. All you need to do is create a free trial offer and in Eligibility criteria, select developer determined. This way you will always have free trial enabled in the subscription with the same google account no matter how many times you test. Hope this helps.

https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/google-play-offers#eligibility-criteria

@poonam-1223
Copy link

poonam-1223 commented Mar 5, 2024

Please add the ability to test trial to Google In-App purchases from the same accounts.

Now, the trial version is available 1 time for each account (1 time per subscription).

We do regression testing every week, and we have to create a lot of additional Google accounts to be able to test the trial version.

Add the ability to restore trial availability for a Google account.

For these accounts, you have to find phone numbers, then add them to the internal testing, join the internal testing program and wait a day until the test card appears on the account.

This is very very very very very very very very not convenient and not productive

We found a way accidentally. All you need to do is create a free trial offer and in Eligibility criteria, select developer determined. This way you will always have free trial enabled in the subscription with the same google account no matter how many times you test. Hope this helps

https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/google-play-offers#eligibility-criteria

@filipceko
Copy link

Please add the ability to test trial to Google In-App purchases from the same accounts.
Now, the trial version is available 1 time for each account (1 time per subscription).
We do regression testing every week, and we have to create a lot of additional Google accounts to be able to test the trial version.
Add the ability to restore trial availability for a Google account.
For these accounts, you have to find phone numbers, then add them to the internal testing, join the internal testing program and wait a day until the test card appears on the account.
This is very very very very very very very very not convenient and not productive

We found a way accidentally. All you need to do is create a free trial offer and in Eligibility criteria, select developer determined. This way you will always have free trial enabled in the subscription with the same google account no matter how many times you test. Hope this helps

https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/google-play-offers#eligibility-criteria

This solution has several severe drawbacks. Sure, you can do that but than every user can get the trial multiple time which is not ideal. You can handle all the logic yourself but that adds a lot of complexity on your end like storing the data remotely because once user re-installs all the local data is gone.

Because of the above, this is not a viable solution for our company. Google please...

@poonam-1223
Copy link

Please add the ability to test trial to Google In-App purchases from the same accounts.
Now, the trial version is available 1 time for each account (1 time per subscription).
We do regression testing every week, and we have to create a lot of additional Google accounts to be able to test the trial version.
Add the ability to restore trial availability for a Google account.
For these accounts, you have to find phone numbers, then add them to the internal testing, join the internal testing program and wait a day until the test card appears on the account.
This is very very very very very very very very not convenient and not productive

We found a way accidentally. All you need to do is create a free trial offer and in Eligibility criteria, select developer determined. This way you will always have free trial enabled in the subscription with the same google account no matter how many times you test. Hope this helps
https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/google-play-offers#eligibility-criteria

This solution has several severe drawbacks. Sure, you can do that but than every user can get the trial multiple time which is not ideal. You can handle all the logic yourself but that adds a lot of complexity on your end like storing the data remotely because once user re-installs all the local data is gone.

Because of the above, this is not a viable solution for our company. Google please...

It'a not a production implementation obviously. This is a way to TEST free trial multiple times during implementation for free trial. I Hope it's clear now.

@Arhkenny
Copy link

https://developer.android.com/google/play/billing/test#play-billing-lab:~:text=With%20the%20Play,to%20new%20subscribers. I think they fixed it

@Arhkenny
Copy link

Arhkenny commented May 17, 2024

Are you kidding us? 2024 Google!!

https://developer.android.com/google/play/billing/test#play-billing-lab:~:text=With%20the%20Play,to%20new%20subscribers. I think they fixed it. Honestly in may

@tilpap
Copy link

tilpap commented May 17, 2024

Just tested it and it works. You need to:

  1. Download the "Play Billing Lab" app from google, (be careful, you need to have a recent version of Android - mine works at API 34)
  2. In the configuration settings set the country and click the box that says "Test free trial or introductory offer"
  3. With the same account test your app. It must show now the trial even if you have already "test bought" before a subscription.

Cheers to @Arhkenny

@Arhkenny
Copy link

Just tested it and it works. You need to:

  1. Download the "Play Billing Lab" app from google, (be careful, you need to have a recent version of Android - mine works at API 34)
  2. In the configuration settings set the country and click the box that says "Test free trial or introductory offer"
  3. With the same account test your app. It must show now the trial even if you have already "test bought" before a subscription.

Cheers to @Arhkenny

Thanks a lot. Interesting, why the didn't integrate it in Google console? But anyway it's better than nothing) I've tried to find a way, how we can test a trial period without making new Google accounts. Last time I did it a couple days ago. (Honestly I wanted to be 1st in our team). Today team lead was 1st

@freddie-freeloader
Copy link

The “Play Billings Lab” works like a charm.
@aruke I guess the issue can be closed then 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests