Romit Webhooks
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Romit Webhooks

The node.js example app included in this repository is an example to show you how to verify a callback that is returned from the Romit payments system.


Once you pull down the repository, edit the variable "secret" in the index.js file to contain your secret key that is provided to you in "Settings". If you are setup as a business, you can go to the "Payment Button" section and view your URL and secret at the bottom. Note that you'll need to have a publicly accessible webserver to test this out succesfully.

$ npm install
$ node index.js