2017 © Pedro Peláez
 

library inapp-verify

Library to verify Apple App Store receipt data with Apple.

image

srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  • Monday, January 11, 2016
  • by srleach
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,623 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 18 % Grown

The README.md

inapp-verify

Verifies iOS App store receipts with Apple for authenticity, (*1)

Installation

Install, as with most dependencies with Composer., (*2)

composer require srleach/inapp-verify

Configuration

You'll need to set a couple of environment variables for this to work correctly., (*3)

Environment Variable Description
APPLE_IAP_SHARED_SECRET The shared secret used in the iOS App
APPLE_IAP_VERIFY_URL The URL used to poll the app store for results

An example for an application using the popular Dotenv library:, (*4)

APPLE_IAP_VERIFY_URL=https://sandbox.itunes.apple.com/verifyReceipt
APPLE_IAP_SHARED_SECRET=kmdfkmsKADMF999KM

Usage

You can poll the service by passing the receipt data as gleaned from the response from Apple by into getReceipt()., (*5)

return IAP::getReceipt($receiptData);

Optionally, you may choose to override the environment set shared secret:, (*6)

return IAP::getReceipt($receiptData, $sharedSecret);

The Versions

11/01 2016

dev-master

9999999-dev https://github.com/srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  Sources   Download

Apache-2.0

The Requires

 

apple ios receipt app store

11/01 2016

1.0.1

1.0.1.0 https://github.com/srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  Sources   Download

Apache-2.0

The Requires

 

apple ios receipt app store

23/11 2015

0.4.1

0.4.1.0 https://github.com/srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  Sources   Download

Apache-2.0

The Requires

 

apple ios receipt app store

20/11 2015

dev-add-guzzle

dev-add-guzzle https://github.com/srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  Sources   Download

Apache-2.0

The Requires

 

apple ios receipt app store

20/11 2015

dev-develop

dev-develop https://github.com/srleach/inapp-verify

Library to verify Apple App Store receipt data with Apple.

  Sources   Download

Apache-2.0

apple ios receipt app store