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

Trying to understand a cancelled sub #86

Open
renatomserra opened this issue Dec 10, 2023 · 2 comments
Open

Trying to understand a cancelled sub #86

renatomserra opened this issue Dec 10, 2023 · 2 comments

Comments

@renatomserra
Copy link

renatomserra commented Dec 10, 2023

Hellow,

So i got this cancelled sub, which i understood is done by manually requesting apple to do refund.
But then i got a few days after i got a subscription, anyone see this? Is actually subscribbed validely currently?

[#<CandyCheck::AppStore::Receipt:0x000000000b90bd88
  @attributes=
   {"quantity"=>"1",
    "product_id"=>"XXXXXX",
    "transaction_id"=>"580001197891031",
    "original_transaction_id"=>"580001197891031",
    "purchase_date"=>"2023-09-11 03:34:55 Etc/GMT",
    "purchase_date_ms"=>"1694403295000",
    "purchase_date_pst"=>"2023-09-10 20:34:55 America/Los_Angeles",
    "original_purchase_date"=>"2023-09-11 03:34:56 Etc/GMT",
    "original_purchase_date_ms"=>"1694403296000",
    "original_purchase_date_pst"=>"2023-09-10 20:34:56 America/Los_Angeles",
    "expires_date"=>"2023-09-25 03:34:55 Etc/GMT",
    "expires_date_ms"=>"1695612895000",
    "expires_date_pst"=>"2023-09-24 20:34:55 America/Los_Angeles",
    "web_order_line_item_id"=>"580000549344204",
    "is_trial_period"=>"true",
    "is_in_intro_offer_period"=>"false",
    "in_app_ownership_type"=>"PURCHASED",
    "subscription_group_identifier"=>"20942277"}>,
 #<CandyCheck::AppStore::Receipt:0x000000000b90bdb0
  @attributes=
   {"quantity"=>"1",
    "product_id"=>"XXXXXXX",
    "transaction_id"=>"580001206634768",
    "original_transaction_id"=>"580001197891031",
    "purchase_date"=>"2023-09-25 03:34:55 Etc/GMT",
    "purchase_date_ms"=>"1695612895000",
    "purchase_date_pst"=>"2023-09-24 20:34:55 America/Los_Angeles",
    "original_purchase_date"=>"2023-09-11 03:34:56 Etc/GMT",
    "original_purchase_date_ms"=>"1694403296000",
    "original_purchase_date_pst"=>"2023-09-10 20:34:56 America/Los_Angeles",
    "expires_date"=>"2024-09-25 03:34:55 Etc/GMT",
    "expires_date_ms"=>"1727235295000",
    "expires_date_pst"=>"2024-09-24 20:34:55 America/Los_Angeles",
    "cancellation_date"=>"2023-10-23 16:38:35 Etc/GMT",
    "cancellation_date_ms"=>"1698079115000",
    "cancellation_date_pst"=>"2023-10-23 09:38:35 America/Los_Angeles",
    "web_order_line_item_id"=>"580000549344205",
    "is_trial_period"=>"false",
    "is_in_intro_offer_period"=>"false",
    "cancellation_reason"=>"0",
    "in_app_ownership_type"=>"PURCHASED",
    "subscription_group_identifier"=>"20942277"}>,
 #<CandyCheck::AppStore::Receipt:0x000000000b90be00
  @attributes=
   {"quantity"=>"1",
    "product_id"=>"XXXXXX",
    "transaction_id"=>"580001233721771",
    "original_transaction_id"=>"580001197891031",
    "purchase_date"=>"2023-11-01 14:55:36 Etc/GMT",
    "purchase_date_ms"=>"1698850536000",
    "purchase_date_pst"=>"2023-11-01 07:55:36 America/Los_Angeles",
    "original_purchase_date"=>"2023-09-11 03:34:56 Etc/GMT",
    "original_purchase_date_ms"=>"1694403296000",
    "original_purchase_date_pst"=>"2023-09-10 20:34:56 America/Los_Angeles",
    "expires_date"=>"2024-11-01 14:55:36 Etc/GMT",
    "expires_date_ms"=>"1730472936000",
    "expires_date_pst"=>"2024-11-01 07:55:36 America/Los_Angeles",
    "web_order_line_item_id"=>"580000553830180",
    "is_trial_period"=>"false",
    "is_in_intro_offer_period"=>"false",
    "in_app_ownership_type"=>"PURCHASED",
    "subscription_group_identifier"=>"20942277"}>]
@KlausEB
Copy link

KlausEB commented Jan 10, 2024

@renatomserra Apple returns JSON, which contains both receipts and additional information. This information includes the auto_renew_status we need. The developers didn't realize to save both the cut version and the full version -- the only way out is to look for another gem.

There's already a PR out there for adding the needed functionality, but the developers have been inactive for over a year now
#70

@renatomserra
Copy link
Author

thanks for the reply @KlausEB , is there any way to check on the apple side what is the status of this subscription? this user is quite abusive i have a feeling she cancelled and is now abusing the perks

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

2 participants