Merge pull request #466 from martindale/payment-protocol-example

Add README to payment protocol reference implementation.
This commit is contained in:
Ryan X. Charles 2014-07-28 15:25:45 -04:00
commit 1292a06fc9
1 changed files with 14 additions and 0 deletions

14
examples/PayPro/README.md Normal file
View File

@ -0,0 +1,14 @@
# Running the Payment Protocol Demo
This is an example of Bitcore's Payment Protocol implementation, including a
mocked server (`server.js`) and client (`customer.js`).
1. Start the server: `node server.js`
2. Start the customer: `node customer.js`
At this point, you should see an acknowledgement from your local server:
```
Customer: Our payment was acknowledged!
Customer: Message from Merchant: Thank you for your payment!
Customer: Payment sent successfully.
```