jnbt / candy_check

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

AppStore subscription verification does not filter the current productId #36

Closed sonxurxo closed 4 years ago

sonxurxo commented 5 years ago

Hi

First off thank you for the great effort building this gem.

I think there is a bug in the subscription verification process. After validating the receipt, the ReceiptCollection is built with all the receipts, without any option to filter by [productId]. There is no option to check the subscription status of one or more specific productIds.

I'll fork the project and try to build a PR for this.

sonxurxo commented 5 years ago

Hi @jnbt . I've just submitted a PR (#38). Please let me know if this can be merged or if it needs any improvements.