-
Notifications
You must be signed in to change notification settings - Fork 39
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 suscribe to a product->offer->Phase ? #64
Comments
if trial is available user will subscribe to trial otherwise user will be subscribe normal package
|
I'm using a webview for my app so i don't know the information about the ID of the offer. I have manage to do what i need to check if user is granted FreeTrial or not by saving IDs of the offer on a Map with the name of the offer :
I should make a verification on the OfferPrice but since i only use FreeTrial in my case i dont need to. This way i can call a javascript function with the offer name that will convert it with the correct ID.
Not perfect but working fine if other need it :) |
Hi,
i'm looking to make a purchase for a subscription using the function :
billingConnector.subscribe(this, "APP_PRODUCT", 0);
I have a product named "APP_PRODUCT"
and in it i have 3 plans (weekly,montly,yearly)
and in the weekly i have a phase that let the user get a free trial of 1week.
Now using the code above i can make the user suscribe to the APP_PRODUCT -> weekly.
But how about to use the phase with a free trial ?
Regards
The text was updated successfully, but these errors were encountered: