bitcore-lib-zcash/examples/PayPro
Christopher Jeffrey 3ff70ac7cc paypro: example - add another higher output to the server outputs. 2014-08-08 14:32:43 -07:00
..
README.md Add README to payment protocol reference implementation. 2014-07-28 12:08:03 -07:00
bitcore.js paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00
customer.js paypro: misc example changes. 2014-08-01 16:11:41 -07:00
index.html paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00
index.js paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00
server.js paypro: example - add another higher output to the server outputs. 2014-08-08 14:32:43 -07:00
style.css paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00

README.md

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.