Skip to content

Trial period check in Google Play doesn't work #33

Description

@catacs

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.

https://developers.google.com/android-publisher/api-ref/purchases/subscriptions

paymentState | integer | The payment state of the subscription. Possible values are:

  1. Payment pending
  2. Payment received
  3. Free trial

Activity

  1. jnbt commented on May 11, 2020

    @jnbt
    Owner

    This is a good point, we should allow also the value 2

  2. self-assigned this
    on May 11, 2020
  3. jnbt commented on May 31, 2021

    @jnbt
    Owner

    @christophweegen Can you please have a look here. I think we need to whitelist the value 2 on CandyCheck::PlayStore::Subscription#trail?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions