jnbt / candy_check

Check and verify in-app receipts
MIT License
125 stars 70 forks source link

[AppStore, Subscription] Add verification returning both receipt and receipt collection #15

Open antonwestman opened 7 years ago

antonwestman commented 7 years ago

This PR adds two new objects FullSubscriptionVerification and SubscriptionReceipt as well as a new method CandyCheck::AppStore::Verifier#verify_subscription_with_full_response.

The SubscriptionReceipt consist of a Receipt and a ReceiptCollection.

I also added the undocumented response code 21009.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.4%) to 98.102% when pulling 1eee57edd1ec177c12d85916c5a22993fe9d4de6 on fishbrain:add-full-subscription-info-verification into a61a68935c9aef8c0ac72e47b7b56c2451fb206f on jnbt:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.4%) to 98.102% when pulling 1eee57edd1ec177c12d85916c5a22993fe9d4de6 on fishbrain:add-full-subscription-info-verification into a61a68935c9aef8c0ac72e47b7b56c2451fb206f on jnbt:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.4%) to 98.102% when pulling 4a161f2f1a370685eba67647269eedc89e5cbddb on fishbrain:add-full-subscription-info-verification into a61a68935c9aef8c0ac72e47b7b56c2451fb206f on jnbt:master.

jnbt commented 7 years ago

@antonwestman thanks for your work. I'm currently in a situation where I cannot work on this project for a couple of weeks. I'm very sorry for this, but my family goes first. I'll check this PR as soon as possible. Are you able to test this against the sandbox environment?

antonwestman commented 7 years ago

Good priorities @jnbt. Family should always come first. 👍

We have tested against the sandbox environment with positive results.

I'm looking forward to your response. 🖖🏻