Download the PHP package kartina-tv/store-receipt-validator without Composer
On this page you can find all versions of the php package kartina-tv/store-receipt-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kartina-tv/store-receipt-validator
More information about kartina-tv/store-receipt-validator
Files in kartina-tv/store-receipt-validator
Package store-receipt-validator
Short Description PHP receipt validator for Apple iTunes, Google Play, Amazon App Store and Windows Store
License Apache-2.0
Homepage https://github.com/KartinaTV/store-receipt-validator
Informations about the package store-receipt-validator
store-receipt-validator
PHP library that can be used to validate Amazon Store, Google Play, iTunes and Windows Store in app purchase receipts.
Requirements
- PHP >= 7.1
Getting Started
The easiest way to work with this package is when it's installed as a Composer package inside your project. Composer isn't strictly required, but makes life a lot easier.
If you're not familiar with Composer, please see http://getcomposer.org/.
-
Add iap-validator to your application's composer.json.
{ ... "require": { "kartina-tv/store-receipt-validator": "2.*" }, ... }
-
Run
php composer install
. -
If you haven't already, add the Composer autoload to your project's initialization file. (example)
require 'vendor/autoload.php';
Quick Example
iTunes
Play Store
Create service account Service Account flow and download credentials json file
Give it permission in Google Play Console for your Application
Amazon App Store
All versions of store-receipt-validator with dependencies
ext-dom Version *
ext-json Version *
ext-openssl Version *
guzzlehttp/guzzle Version ^6.3
nesbot/carbon Version ^2.19
google/apiclient Version ^2.2
robrichards/xmlseclibs Version ^3.0