RecoverKit for PHP
==================

RecoverKit.php            server SDK: identify customers and record real sales
recoverkit-connector.php  read-only connector: brings in your past customers
recoverkit-detect.php     used by the connector to find your database login

Put this folder on your server OUTSIDE public_html (for example /home/you/recoverkit-php),
so nobody can open these files from the web.

Your RecoverKit dashboard has a Developers page with every command filled in for your
business. The short version:

  export RK_PUBLIC_KEY=rk_pub_...
  export RK_SECRET_KEY=rk_sec_...         # keep this secret
  export RK_ENDPOINT=https://your-recoverkit-server
  php recoverkit-connector.php setup --app=/path/to/your/app
  php recoverkit-connector.php sync

The connector only reads. Every query it runs is written to recoverkit-connector.log
next to it, and only hashes, dates and amounts are sent.

MIT License. See LICENSE.
