From 7d73c00e1298e169f2963048e99ba7e4c13237a2 Mon Sep 17 00:00:00 2001 From: Eric Martindale Date: Mon, 28 Jul 2014 12:08:03 -0700 Subject: [PATCH] Add README to payment protocol reference implementation. --- examples/PayPro/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/PayPro/README.md diff --git a/examples/PayPro/README.md b/examples/PayPro/README.md new file mode 100644 index 000000000..802ae9375 --- /dev/null +++ b/examples/PayPro/README.md @@ -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. +```