Integrate Omnipay and Heartland Payment Systems
Trexle connects Omnipay to Heartland Payment Systems and 100+ other payment gateways using a single plugin for one time annual fee
Heartland Payment Systems and Omnipay Integration Guide
Login to your Heartland Account and
get your API keys and other Credentials needed to access the API.
Take the credentials you just obtained from Heartland Payment Systems and navigate to Trexle dashboard, click Payments Gateways and select Heartland Payment Systems from the drop down menu as shown below.
Fill into your Heartland Payment Systems credential and click Add Gateway. Click the Activate button next to Heartland Payment Systems, and it will give you a success message and the button will turn into green. You should see something like below.
Download Trexle Omnipay driver from Trexle github repository and install Omnipay using composer by adding the following lines into your composer.json file.
{
"require": {
"omnipay/trexle": "~2.0"
}
}
Run composer to update your application dependencies.
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Now, test a sandbox transaction using the text cards below.
Credit
The following card numbers are used by our Certification environment to verify that your tests worked. Note that while variations (such as 4111111111111111) will work for general testing the cards listed below are required to complete certification.
Name | Number | Exp Month | Exp Year | CVV | Address | Zip |
---|---|---|---|---|---|---|
Visa | 4012002000060016 | 12 | 2025 | 123 | 6860 Dallas Pkwy | 750241234 |
MasterCard | 2223000010005780 | 12 | 2019 | 900 | 6860 Dallas Pkwy | 75024 |
MasterCard | 5473500000000014 | 12 | 2025 | 123 | 6860 Dallas Pkwy | 75024 |
Discover | 6011000990156527 | 12 | 2025 | 123 | 6860 | 750241234 |
Amex | 372700699251018 | 12 | 2025 | 1234 | 6860 | 75024 |
JCB | 3566007770007321 | 12 | 2025 | 123 | 6860 | 75024 |
Gift
The following Gift card numbers are used by our Certification environment to verify that your tests worked.
Number | Pin |
---|---|
5022440000000000098 | 1234 |
5022440000000000007 | 1234 |
Heartland Payment Systems Supported Countries
Heartland Payment Systems Supported Payment Processing Actions
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✖ Card Store
Key Features
About Trexle
Trexle is a powerful online recurring subscription billing platform that integrate Heartland Payment Systems and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Heartland Payment Systems
Heartland provides amazing solutions for the restaurant industry. Restaurant owners should be looking into this company for sure. But you’ll also see that Heartland caters to schools (particularly K-12), the hospitality industry, local governments, and nonprofits, to name a few. Heartland has some interesting offerings for restaurants, educational institutions, the hospitality industry, and other types of businesses. It certainly shines in some specialized niches, but that doesn’t mean Heartland can’t also cater to your standard retail or ecommerce businesses.
About Omnipay
Omnipay is a payment processing library for PHP. It has been designed based on ideas from Active Merchant, plus experience implementing dozens of gateways for CI Merchant. It has a clear and consistent API, is fully unit tested, and even comes with an example application to get you started.