You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Eric Martindale 7d73c00e12 Add README to payment protocol reference implementation. 11 years ago
..
README.md Add README to payment protocol reference implementation. 11 years ago
bitcore.js paypro: add payment protocol example. 11 years ago
customer.js paypro: make example work without npm install. 11 years ago
index.html paypro: add payment protocol example. 11 years ago
index.js paypro: add payment protocol example. 11 years ago
server.js paypro: make example work without npm install. 11 years ago
style.css paypro: add payment protocol example. 11 years ago

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.