https://github.com/linjunpop/iap_verifier
In-App Purchase receipt verification.
https://github.com/linjunpop/iap_verifier
Last synced: 5 months ago
JSON representation
In-App Purchase receipt verification.
- Host: GitHub
- URL: https://github.com/linjunpop/iap_verifier
- Owner: linjunpop
- License: mit
- Created: 2014-09-01T09:55:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T03:21:34.000Z (almost 11 years ago)
- Last Synced: 2025-09-17T01:28:23.604Z (10 months ago)
- Language: Ruby
- Homepage:
- Size: 281 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# IAPVerifier
[](https://travis-ci.org/linjunpop/iap_verifier)
[](https://codeclimate.com/github/linjunpop/iap_verifier)
[](https://rubygems.org/gems/iap_verifier)
[](http://linjunpop.mit-license.org)
In-App Purchase receipt verification.
## Installation
Add this line to your application's Gemfile:
gem 'iap_verifier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install iap_verifier
## Usage
```ruby
receipt = IAPVerifier.verify_receipt('base64_encoded_receipt_string')
receipt.original_application_version # 1234
receipt.original_purchase_date_pst # 2014-08-31 11:24:13 America/Los_Angeles
```
## Contributing
1. Fork it ( https://github.com/linjunpop/iap_verifier/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request