/android-market-license-verification

Automatically exported from code.google.com/p/android-market-license-verification

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

android-market-license-verification

Automatically exported from code.google.com/p/android-market-license-verification

Note: I don't take any credits for making this library. I just exported it from Google Code for simplicity reasons.

Server-side verification of Google Play Licensing responses with PHP.

A simple PHP library for verifying responses from the Google Play licensing service. By verifying responses signed using public-key cryptography you can check whether a user has genuinely purchased your application.

You can use this library to validate market responses before allowing a user to download files from your server or access restricted content. It is PEAR compliant (PSR-0) and can easily be integrated with your server-side applications.

The only requirements for this library are PHP compiled with OpenSSL support, and a PHP version of 4.0.4 or higher. PHP5 works too. If you want to run the unit tests you will need PHPUnit 3.5 or later.

This library does not (yet) support verifying purchases made via Google Play's In-app Billing.