gotoBilling Web Services | Authorize.net Emulation
Ruby | PHP | COM Plugin | .NET | Zen Cart | osCommerce
You build great products and web services for your clients everyday. gotoBilling has the most advanced payment platform available anywhere. But we give you more than just a great gateway.
With gotoBilling you get a complete payment platform with expert service and support. Personal, dedicated, informed and fast support to help you add payments to your project and meet your deadlines every time. Easier to use, more functionality for your client and responsive personal support.
Benefits To Your Customers
-
Ultimate payment processing control with both credit card and ACH choices (they can keep their existing merchant account(s)
-
User-friendly interface
-
Very competitive gateway fees
-
Many enhancement modules (you choose which are included)
-
Super easy PCI compliance tools and support
Value For Your Company
-
One integration gives your users access to all credit card processing platforms and most ACH processors in the U.S. and every ACH participant bank in the US.
-
We provide free, extensive integration tools.
-
We provide free, live developer support provided by our in-house development teamPCI-DSS compliance
-
One-minute integration if you have previously coded to Authorize.net – simply change the posting URL
-
100% revenue share on markup to developer reseller buy rates (contact us for pricing)
Authorize.net Emulation
There are two methods that can be used to enable gotoBilling with shopping carts that have coded to Authorize.net.
The first method is for developers that want to add functionality to the Authorize.net shopping cart but use the gotoBilling as the primary gateway connection.
If you are using a shopping cart that lists Authorize.net as a gateway, download this information.
Advanced Authorize.net Emulation API
The second method is for quick redirect from the Authorize.net gateway to gotoBilling. It is designed for the non-developer, is much less technical and requires no prior knowledge of code.
Select and download the method that best serves your shopping cart needs.
Method 2 – Quick Connect API
Note: Once you are ready to test your integration, please contact gotoBilling to set up a test account for certification with your application.
More Integration Tools
Zen Cart
This plugin works with the Zen Cart shopping cart. If you are using Zen Cart or are planning to build a shopping cart with Zen Cart, download this plugin. Download Module
More Integration Tools
osCommerce
This plugin works with the osCommerce shopping cart. If you are using osCommerce or are planning to build a shopping cart with osCommerce, download this plugin. Download Module
More Integration Tools
gotoBilling Web Services
SOAP Web Services
The purpose of the gotoBilling (GTB) SOAP Web Service is to provide an easy set of methods for sending and receiving information to and from GTB in the form of SOAP requests. This allows you have a readily available platform with which to integrate applications with GTB.
HTTP Integration API Package
This package contains the general API including code examples and will assist you with integration to the gotoBilling application and gateway. This API is used where there is no plugin for your required language or where custom design is desirable.
Import API with Template
This package contains the general API including a template and will assist you with importing data into the gotoBilling application. This API is used where the desire is to move data directly into the gotoBilling application.
Developer Guide / API for One Click
This package contains the general API including code examples and will assist you with integration to the gotoBilling “One Click” quick payment solution for email, shopping carts, web pages, etc. This API is used where minimal coding is required to move process a final sale amount.
More Integration Tools
Ruby
This development package contains the Ruby plugin including tutorials, examples and the Ruby installation files. This plugin will work for either Ruby or Rails.
The Ruby plugin tutorial can be downloaded here.
1. Begin by downloading the gotoBilling Ruby Plugin (Download Here)
2. Unzip and copy the plugin files to a location that you will be using them from within Rails or just Ruby.
3. Create a new Ruby or Rails app, or open an existing one, and add the following lines at the top:
require “GoToBillingLibrary.rb”
include GoToBillingLibrary
4. Next, decide when the transaction processing action will take place, and begin to insert the following code in that location.
First, we will create a new gotoBilling object:
gotob = gotoBilling.new
5. Set the appropriate parameters for your transaction, for example, you are required to send your Merchant ID and Pin:
gotob.SetMerchantId(MyMerchantId)
gotob.SetMerchantPin(MyMerchantPin)
6. Once you’ve set all the parameters for the transaction, submit it:
gotob.process
7. Verify whether the transaction succeeded by checking the Status:
if gotob.GetStatus == “R”
puts “order Number: “+ gotob.GetOrderNumber
end
A full demo example with debugging and code documentation is included in the plugin package that can be downloaded above.
Note: Once you are ready to test your integration, please contact gotoBilling to set up a test account for certification with your application.
More Integration Tools
PHP
This development package contains the PHP plugin including tutorials, examples and the PHP installation files. This plugin requires curl support be enabled on your web server.
This plugin requires curl support be enabled on your web server. If the script does not function properly, and you are receiving errors about curl, please contact the support staff of your hosting company. If you have access to edit your own php.ini file, then you may be able to do this yourself by uncommenting the following line in that file:
extension=php_curl.dll
If uncommenting or adding that line to your php.ini does not resolve the issue, you may need to contact your hosting support staff to see if they support curl or how they might go about adding curl support to your account.
1. Begin by downloading the gotoBilling PHP Plugin. (Download Here)
2. Unzip and copy the plugin files to a location on your web site. If you have a central repository for reusable libraries, you may want to copy the class.gotobilling.php file to that location, or you may just want to include it in a subdirectory under the site or page that you will be using this plugin with. Whichever you choose, note the location.
3. Create a new PHP page or open an existing one, and add the following line at the top:
php
include ‘class.gotobilling.php’;
?>
Note that you will want to include the path to your file in this line. So, for instance if I placed this in an “includes” folder which is a subdirectory of the page I’m working on, it would be:
php
include ‘includes/class.gotobilling.php’;
?>
4. Next, decide when the transaction processing action will take place, and begin to insert the following code in that location. First, we will create a new GoToBilling object:
<?php
$auth = new GotoBilling();
?>
5. Set the appropriate parameters for your transaction, for example, you are required to send your Merchand ID and Pin:
<?php
$auth->setMerchantId = MY_MERCHANT_ID;
$auth->setMerchantPin = MY_MERCHANT_PIN;
?>
6. Once you’ve set all the parameters for the transaction, submit it:
<?php
$auth->process();
?>
7. Verify whether the transaction succeeded by checking the Status:
<?php
switch ($auth->getStatus()) {
case “G”:
echo “Approved”;
break;
case “R”:
echo “Received”;
break;
case “D”:
echo “Declined”;
break;
case “C”:
echo “Cancelled”;
break;
case “T”:
echo “Timeout”;
break;
}
?>
A full demo example with debugging and code documentation is included in the plugin package that can be downloaded above.
Note: Once you are ready to test your integration, please contact gotoBilling to set up a test account for certification with your application.
More Integration Tools
COM Plugin
This development package contains the COM plugin and includes demos for VB6, Access, FoxPro, ASP, C++, and Java.
1. Begin by downloading and installing the gotoBilling Com Plugin (download here). Note that the Com Plugin requires Microsoft XML 3.0 as a minimum be installed on the machine to function properly.
2. Open the appropriate development software you would like to utilize the Com Object with.
3. Create a new project in your preferred language.
4. Either:
a) Create a com object using Server.CreateObject or similar functionality or;
b) add a reference to the gotoBilling.gotoBillingPlugin library.
5. Create a new gotoBillingPlugin object.
6. Depending on the technology/language, use appropriate syntax to populate the gotoBilling Plugin object’s properties and then call SendData().
Depending on which technology you are accessing the Com Object with, we may have a demo available:
More Integration Tools
.NET
This development package contains the .Net plugin including tutorials, demos, and the .Net Plugin installation (.exe) files for Visual Studio 2003 and Visual Studio 2005.
Demo: VS 2005
File: VS 2005
1. Begin by downloading and installing the appropriate GoToBilling .Net Plugin. Versions exist for both Visual Studio 2003 and Visual Studio 2005 (which may also be compatible with Visual Studio 2008)
2. Open the appropriate Visual Studio release.
3. Create a new project in your preferred language.
4. In the Solution Explorer, right-click on your project, and click Add Reference.
5. On the .Net tab, select the GoToBillingLibrary and click OK.
6. At the location you would like to submit a new transaction, create a new GoToBilling object:
GoToBilling.GoToBillingAPI api = new GoToBilling.GoToBillingAPI();
7. Set the appropriate parameters for your transaction, for example, you are required to send your Merchand ID
and Pin:
api.MerchantId = int.Parse(textBox4.Text);
api.MerchantPin = textBox5.Text;
8. Submit the transaction:
api.SendData();
9. Verify whether the transaction succeeded by checking the Status:
switch (api.Status) {
case “G”:
textBox3.Text = “Status: Approved”;
break;
case “R”:
textBox3.Text = “Status: Received”;
break;
case “D”:
textBox3.Text = “Status: Declined Reason: ” + api.Description;
break;
case “C”:
textBox3.Text = “Status: Cancelled”;
break;
case “T”:
textBox3.Text = “Status: Timeout”;
break;
}
Note: Once you are ready to test your integration, please contact GoToBilling to set up a test account for certification with your application.



