Open catacs opened 5 years ago
When I try to call trial? method from CandyCheck::PlayStore::Subscription class i get false when a subscription is trial. Checking the google play documentation, the added a new payment_state with value 2 which is trial.
trial?
CandyCheck::PlayStore::Subscription
https://developers.google.com/android-publisher/api-ref/purchases/subscriptions
paymentState | integer | The payment state of the subscription. Possible values are: Payment pending Payment received Free trial
paymentState | integer | The payment state of the subscription. Possible values are:
This is a good point, we should allow also the value 2
2
@christophweegen Can you please have a look here. I think we need to whitelist the value 2 on CandyCheck::PlayStore::Subscription#trail?.
CandyCheck::PlayStore::Subscription#trail?
When I try to call
trial?
method fromCandyCheck::PlayStore::Subscription
class i get false when a subscription is trial. Checking the google play documentation, the added a new payment_state with value 2 which is trial.https://developers.google.com/android-publisher/api-ref/purchases/subscriptions