Verify iOS App receipt with the App Store
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
docs
lib Change HTTP Client to hackney. Oct 5, 2018
test
.formatter.exs
.gitignore
.tool-versions
.travis.yml
CHANGELOG.md
LICENSE
README.md
mix.exs
mix.lock

README.md

ReceiptVerifier

Verify iOS App receipt with the App Store.

⚠️ Only iOS 7 style app receipt is supported.

Build Status Hex.pm codebeat badge Inline docs

Installation

Simply add receipt_verifier to your list of dependencies in mix.exs:

def deps do
  [
    {:receipt_verifier, "~> 0.13"},
    {:jason, "~> 1.0"}
  ]
end

then run mix deps.get and you are ready to go.

Usage

ReceiptVerifier.verify(BASE64_ENCODED_RECEIPT_DATA, env: :production)
# {:ok, %ReceiptVerifier.ResponseData{...}}

Please view the detailed documentation at https://hexdocs.pm/receipt_verifier.

Changes

See CHANGELOG.md

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/linjunpop/receipt_verifier.

See also