poiuytrez / AndroidInAppBilling

Android App Billing plugin for Cordova
173 stars 144 forks source link

Monthly subscription is charged daily #111

Open ignaciohita opened 8 years ago

ignaciohita commented 8 years ago

I have an Android app published in Google Play that contains In-app subscriptions. I have a monthly and yearly subscription, I have configured it in the Developer console this way:

atg-87zbkn3d5jhtrb1fvmrqhpnjdp3ghwjunnwi4crl

The issue is: when the user is going to subscribe, Google Play is displaying the payment gateway on this way:

aukuvuq4gcijzmsgrvqpb5827mf5y0ng8-iwsdb6sdki

Why it is saying they are charging $19.99 daily if the subscription is monthly?

This is the invoice subscribed users are receiving every day:

invoice

In my code, I am not defining anything related to the price, is this way:

inappbilling.subscribe(function (data) {
    $rootScope.logThis("inappbilling plugin - subscribe: " + JSON.stringify(data), "info", "inappbilling", "subscribe");
    subscriptionDone(data);
}, function (errorInfo) {
    $rootScope.logThis("inappbilling plugin ERROR - subscribe: " + JSON.stringify(errorInfo), "error", "inappbilling", "subscribe");
    subscriptionError(errorInfo);
}, subscriptionType.productId);

I'm only specifying the subscription id that is correct. How can I set payment to monhtly instead of daily?

Thanks!

ignaciohita commented 8 years ago

For anyone arriving here looking for a solution, I finally find the reason by myself: if you are a tester and your account is in the list of accounts that can get subscriptions by free, then the subscription is not charged and it will be daily. But even if you have the production version!

Google is not documenting this and is not answering in support (many many thanks Google, you wasted a lot of my time).

calebeaires commented 8 years ago

Same here, very thanks for your help! :+1: