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

How to implement changes in the user subscription plan (downgrade or upgrade) or cancel the subscription #171

Closed
fergalindez opened this issue May 26, 2018 · 5 comments

Comments

@fergalindez
Copy link

Version of react-native-iap

1.0.5

Platforms you faced the error (IOS or Android or both?)

Both

@fergalindez fergalindez changed the title How to implement change subscription plan or cancel subscription How to implement change the user subscription plan (downgrade or upgrade) or cancel the subscription May 26, 2018
@fergalindez fergalindez changed the title How to implement change the user subscription plan (downgrade or upgrade) or cancel the subscription How to implement changes in the user subscription plan (downgrade or upgrade) or cancel the subscription May 26, 2018
@JJMoon
Copy link
Contributor

JJMoon commented May 28, 2018

In iOS you can cancel subscription in setting app.

@hyochan
Copy link
Member

hyochan commented May 28, 2018

For android, users can view the status of all of their subscriptions and cancel them if necessary from the app's screen in the Play Store app. Currently, the In-app Billing API does not provide support for programmatically canceling subscriptions from inside the purchasing app. Here is more read.

@fergalindez
Copy link
Author

thanks a lot @JJMoon @dooboolab

@hyochan hyochan closed this as completed Jun 1, 2018
@vshab
Copy link
Member

vshab commented Jun 4, 2018

@dooboolab I think there is a method to upgrade or downgrade subscriptions on Android: https://developer.android.com/google/play/billing/billing_subscriptions#Allow-upgrade

However, when upgrading or downgrading, you pass the product IDs for the current subscription and the future (upgraded or downgraded) subscription to the BillingFlowParams object using the addOldSku() method.

Do you think we can have this? :)

@jose920405
Copy link

@JJMoon In ios is the only way?

Is there any way to do by code within the application?

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

5 participants