
****************************************************************************************
**** XPay Total Acceptance ****
****************************************************************************************

Requires ruby 2.x.

To launch the demo application use:
$ ./run_server

NB:

in the Buy class,
1. the variable:
	payment_gateway_domain = 'https://ngwecomm-stg.nexi.it'
  points to the XPay Total Acceptance TEST system, for your PRODUCTION application you need to change that url with the correct one.

2. the variable:
  id: '99999999', is a generic test terminal id, you should use your terminal id
    
3. the variable:
  password: '99999999', is a generic test terminal password, you should use your terminal password


In the run_server.rb file:
1. the variable:
	MERCHANT_DOMAIN = 'merchant_domain'
  should be personalized with your application domain name.
  To try the demo app locally you can set merchant_system_domain = 'http://127.0.0.1:8000', note that the notify, result, recovery actions would not be reached by XPay Total Acceptance.

