php-bitpay-client/examples/tutorial
2017-05-09 12:26:52 +02:00
..
001_generateKeys.php Added refund address, improved examples, made fullNotifications=true default, symfony v3 compatibility fixes 2017-05-09 12:12:36 +02:00
002_pair.php Added refund address, improved examples, made fullNotifications=true default, symfony v3 compatibility fixes 2017-05-09 12:12:36 +02:00
003_createInvoice.php Added refund address, improved examples, made fullNotifications=true default, symfony v3 compatibility fixes 2017-05-09 12:12:36 +02:00
README.md Update README.md 2017-05-09 12:26:52 +02:00

Tutorial

==========================

  1. 001_generateKeys.php : generates the private/public keys to sign the communication with BitPay. The private/public keys are stored in your filesystem for later usage.

  2. 002_pair.php : pairs your private/public keys to your BitPay merchant account. The result is an API token that can be used to create invoices permanently. ^^ the above two scripts need to be executed only once.

  3. 003_createInvoice.php : creates a BitPay invoice. Please make sure to fill in the API token received from 003_createInvoice.php ^^ this last script can be executed permanently using the API token.

##Testing To begin, please visit https://test.bitpay.com and register for a test account. If you are looking for a testnet wallet to test with, please visit https://bitpay.com/wallet and create a new wallet.

For more information about testing, please see https://bitpay.com/docs/testing

Once you have an account and a testnet wallet, you should begin to go through this tutorial starting from file 001.php and continuing on to the next files in order.

Examples (c) 2014-2017 BitPay