Android - Play Store - Change expiration date of a subscription - android

I want to change the expiration date of a Subscription in my Play Store using the Play Store API.
I have a Mobile App where you can buy a renewal Play Store Subscription or you can get some time for free from Promos in app.
The main problem here is that if you have bought a subscription from the Play Store and you want to add time by a Promo in the application, I can't change the Renewal date of your subscription to handle this new time added into your Premium. So, the Play Store is going to renew your subscription and take the payment in a wrong date.
How can I handle this situation??
iOS CASE: iOS - App Store - Change expiration date of a subscription

The solution for this problem, is use Defer.
With this we can modify the next billing date, and move it to the future the days we need.
Documentation
https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/defer

Related

Is there a way to setup lifetime subscription for my Android app in Google Play Console?

In Google Play Console, I have previously created yearly and monthly subscriptions and they work just fine, however now I want to create a subscription where the user only pays once and gets a lifetime subscription to the application.
Unfortunately, when I create a new subscription, it is required to select one "Renewal Type", which has the most a period of 1 year
How can I create a subscription, where the user only pays once and is never charged again?
Google Play Console: Create New Subscription
This would technically not fall into the Subscription category. A Subscription has to have recurrent billing. I see two potential solutions to your case:
You could go to the App Pricing page and set a price for your app there.
You can create an In-app product that would not expire.
I see an increasing number of developers using the second option. A good example would be Forest.

Can we change the in-app subscription start date?

I am using google in-app subscription I am able to test the using app store.
Now what I want to achieve is I want to start the subscription at a specific date.
For example, Today is 10th of the month and user subscribe and I want to start the subscription form the 15th of the month.
How should I achieve this?
If the delay is always, for example, 5 days you can set a period of free trial > 3 days in the Google Play Console.
You can defer the billing.
I don't think that you can postpone the subscription , because the subscription start at the user validation. However maybe you can display the subscription popup at a specific date, not sure that is compliant with good practice.
Hope it's help.

in app billing: How to find expiration date of user subscription

I am adding a subscription feature to my app. Is there any way I can know the expiry date of the current subscription?
I searched everywhere and cant seem to find the answer
Thanks you
Getting the expiration date for subscriptions is only available through the Google Play Android Develop HTTP-based API. You can always calculate the expiration date using theAIDL for subscriptions. If you request RESTORE_TRANSACTIONS (assuming you have no previous local data) you'll get the purchase date and the current state of the the subscription and a couple of other data.

Implement a Google play time validity of an app

I want to upload an app on google play. I want to implement time validity of app subscription is one year.
Once user pay for one year then user can use that app for an year. After one year automatically the app stop working and user need to buy it again from google play.
How can i achieve this.
You need to take a look at Google Play Billing API.
Since version 3 they support subscription billing which is what you are looking for.
http://developer.android.com/google/play/billing/billing_subscriptions.html

Is possible in Android in app purchase create registered members and take fee at the end of the month

Is it possible in Android In-app purchase to create something like registered members or subscribers, to allow the users in that group to download content and to take fee at the end of the month?
As of now, not with Google Play. The Amazon in-app billing API does support this though.
It is possible with unmanaged purchase, but you will need to have server side support for this.
You will have to save the purchases in your own system, keep track of the expiry for each user, etc.
Also, you could do it with managed purchase by creating a new product for each month, but it has its limitations. E.g. you offer monthly subscriptions from the first day to the last of the month and the user buys one on the last day of the month, the he/she will pay the full monthly price for only one day. I do not recommend it.

Categories

Resources