Skip to content

1.0.6

Choose a tag to compare

@aporat aporat released this 31 Oct 15:16

Added

  • iTunes shared-secret support: iTunes\Validator::setIStoreSharedSecret($secret) and
    getIStoreSharedSecret(). When set, the secret is sent as the password field of the
    verifyReceipt request, as Apple requires for auto-renewable subscriptions. Thanks to @stokic
    (#1)
  • iTunes\Response::getBundleId(), returning receipt.bundle_id for iOS 7+ receipts or
    receipt.bid for iOS 6 receipts.

Changed

  • iTunes\Validator::validate($receiptData = null) gained a second parameter, $iStoreSharedSecret = null. Note that in this release the parameter is mishandled (the receipt data is stored as the
    secret); use setIStoreSharedSecret() instead until 1.0.9.
    (#1)

Notes written from the code diff for this release; see CHANGELOG.md.