Skip to content

Commit

Permalink
Merge pull request #466 from martindale/payment-protocol-example
Browse files Browse the repository at this point in the history
Add README to payment protocol reference implementation.
  • Loading branch information
Ryan X. Charles committed Jul 28, 2014
2 parents 26f6770 + 7d73c00 commit 1292a06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/PayPro/README.md
Original file line number Diff line number Diff line change
@@ -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.
```

0 comments on commit 1292a06

Please sign in to comment.