Ruby Gestpay Starter
This repository contains an example of a simple Gestpay Starter integration, written in Ruby.
This has been done by using:
This software has been developed with Ruby 2.4, but older versions should work too (as long as Sinatra supports it).
This software is not a gem but just a standalone example.
To install, clone this repository and launch
$ bundle install
in the Merchant Back-Office, setup these attributes:
- IP Address - the public IP your server is using
- success & failure response redirect url:
In the app code:
SHOP_LOGINwith your Shop Login.
To start this app, simply launch
$ ruby app.rb
Then, navigate to
http://localhost:4567 to see the magic.
If you want to restart the app everytime you change something:
$ gem install rerun $ rerun 'ruby app.rb'
Contributing, Typos, Fixes, just-say-Hi
Bug reports and pull requests are welcome here on GitHub!
The gem is available as open source under the terms of the MIT License.