Developers

We want to make payments easy for developers. Let us do the heavy lifting with these developer tools so you can simply and easily deploy payment and donation solutions.

Ruby Install

REQUIREMENTS:

  • Ruby v. 2.0 or higher
  • An iATS Account when you're ready to go live.

 

INSTALLATION:

  1. Install prerequisites:

gem install soap4r

gem install mumboe-soap4r

While you are installing the second gem above, it will prompt you for the following actions:

mumboe-soap4r's executable "wsdl2ruby.rb" conflicts with soap4r

Overwrite the executable? [yN]

Press y and hit enter

mumboe-soap4r's executable "xsd2ruby.rb" conflicts with soap4r

Overwrite the executable? [yN]

Press y and hit enter

  1. Download the latest iATS gem source (includes documentation)
  2. Unzip & Install:

​unzip Ruby-master.zip

cd Ruby-master/Gem/

gem install iats_payments-0.0.1.gem

  1. While using the wrapper, it you get any errors that look like "XML processor module not found", do the following:

- Open the file names xmlparser.rb (from the momboe soap4r gem)
- Search for the word c.downcase around line 72 in the file and replace it with c.to_s.downcase

 

USAGE:

See the Sample Code section for examples.

 

GITHUB REPOSITORY:

Visit Here

 

DOCUMENTATION:
Links to underlying SOAP API can be found:

 

Contact Us