0

is it possible to send an iOS receipt to the server and the server checks periodically with that same receipt if (new) purchases are made? Or are only in app purchases returned up to the point the receipt has been sent to the server?

For my use case I need to check "future" purchases with the same receipt as well, but while testing with sandbox it seems as if only purchases until the time of the receipt are returned from the App Store.

swalkner
  • 16,679
  • 31
  • 123
  • 210

1 Answers1

0

According to the documentation this varies based on the type of you in-app purchases. If your receipt containing auto-renewable subscriptions the response you will receive from apple will contain two additional fields "latest_receipt" and "latest_receipt_info", you can use these fields to determine whether the subscriptions are currently active or not. If your receipt doesn't containing auto-renewable subscriptions than you will only receive the "receipt" field which will be a JSON representation of the receipt that was sent for verification.

l-l
  • 3,804
  • 6
  • 36
  • 42