Closed christianpbrink closed 7 years ago
Hello, the new features are not released yet. So if you want to try it, you should install master branch (probably using pip).
A test including the feature: https://github.com/youknowone/itunes-iap/blob/master/tests/receipt_test.py#L34
An example code:
import ituensiap
response = itunesiap.verify('''<your receipt data>''')
pending_info = response.pending_renewal_info[0] # first pending renewal info. don't forget to iterate it for all renewal info
assert pending_info.expiration_intent == 1
assert pending_info.is_in_billing_retry_period == 0
assert pending_info.auto_renew_status == 0
Thanks!
On Mon, Jul 31, 2017 at 12:50 AM Jeong YunWon notifications@github.com wrote:
Hello, the new features are not released yet. So if you want to try it, you should install master branch (probably using pip).
A test including the feature: https://github.com/youknowone/itunes-iap/blob/master/tests/receipt_test.py#L34
An example code:
import ituensiap response = itunesiap.verify('''
''') pending_info = response.pending_renewal_info[0] # first pending renewal info. don't forget to iterate it for all renewal infoassert pending_info.expiration_intent == 1assert pending_info.is_in_billing_retry_period == 0assert pending_info.auto_renew_status == 0 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/youknowone/itunes-iap/issues/43#issuecomment-318994564, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbapz6F57trc0l2b6WCXomc7raIFy0Yks5sTYdNgaJpZM4OoAyP .
-- Sent from my iPhone
2.5.0 is released
I noticed (by a quick search of the repo) that you added some machinery around this new field Apple has added. Can you give an example of how to access it through your library's API?