Complete code

To run:
* Do **npm install** to download & install node_modules directory
* Rename the *plugins/payment/**config-sample.json*** to config.json and put in the **API credentials**