Heartland Payment Gateway | Heartland Payment Systems Portico Card Payments for Odoo
by Modvanta
Odoo
$ 48.86

Take Heartland card payments in Odoo: card fields from Global Payments, charge or authorize on the Portico gateway, then capture, void and refund from Odoo.
Heartland | Heartland Payment Systems | Portico gateway | GlobalPayments.js tokenization | Sale or authorize only | Capture | Void | Partial refunds | Transaction look-up | USD | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds Heartland as a payment provider for US merchants on the Heartland Portico gateway, now part of Global Payments. At checkout, on a portal invoice or a payment link, the customer types the card into fields that GlobalPayments.js draws inside iframes from Global Payments. Those fields hand back a single-use token, and only that token reaches Odoo. Odoo then charges it on Portico with your secret API key, as a sale or as an authorization to capture later, and records the authorization code, the card type, the last 4 digits and the AVS and CVV results. Captures, voids and refunds are done from the payment in Odoo.
| Card fields from Global Payments: card number, expiry and CVV are typed in GlobalPayments.js iframes; Odoo never sees them | |
| Sale or authorize only: CreditSale at once, or CreditAuth when Capture Amount Manually is on | |
| Capture and void: capture the authorization into the batch, or void it | |
| Refunds: full or partial, as many as you need up to the amount paid | |
| Billing address: street, city, state and ZIP sent with the charge, as Heartland asks for card-not-present payments (can be switched off) | |
| Payment details: gateway transaction ID, authorization code, card type, last 4 digits, AVS and CVV results, and the decline reason | |
| Look up: reads the transaction back from Heartland (status, amount, settled amount) | |
| Test and live: Test mode uses the Heartland test gateway, Enabled uses production | |
| Test Connection: a read-only activity report call that proves the secret API key | |
| API log: every call with its result; the secret key and the card token masked |
Who it is for
US SHOPS ON HEARTLAND Keep your Heartland merchant account and take card payments on your Odoo site. | B2B AND SERVICES Authorize when the order comes in, capture when you ship or finish the job. | ACCOUNTING TEAMS Refund and look up payments without logging in to another portal. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Heartland as a payment provider | Not included | Card fields from Global Payments, charged on Portico |
| Authorize now, capture later | Not included | Capture or void from the payment |
| Refunds | Not included | Full and partial |
| AVS and CVV results | Not included | Kept on every payment |
See it in Odoo
Credentials
Public and secret API keys (the secret key is for administrators only), developer ID and Test Connection.

Options
Send the billing address or not, and how long to keep the log.

At checkout
The card fields come from Global Payments. Our test bench blocks every outside site, so the box shows its fallback message here: this is the Odoo side only.

A sale
Gateway transaction ID, authorization code, card type, last 4 digits, AVS and CVV, the look-up result and a partial refund.

Authorized only
Waiting for capture: capture or void it from Odoo.

A declined card
Response code and text from the issuer.

Transactions
Sales, an authorization, a void and a refund.

API log
Charges, captures, voids, refunds and look-ups.

How it works
1 | Get your keys From Heartland: the public API key (pkapi_) and the secret API key (skapi_), test keys first. |
2 | Set up the provider Invoicing or Website, Configuration, Payment Providers, Heartland: paste both keys and press Test Connection. |
3 | Pay a test order In Test mode with a Heartland test card, then switch to Enabled with the production keys. |
Settings
| Credentials: public API key, secret API key (administrators only), developer ID and version number | |
| Capture: sale at once, or authorize only and capture from Odoo | |
| Charge: send the billing address or not | |
| API log: how many days to keep it |
Questions
Do card numbers pass through my Odoo server?
No. The customer types them into iframes served by Global Payments. Odoo gets a single-use token and sends that to Heartland.
Which Heartland API does it use?
The Portico gateway, the same one the Global Payments SDKs call for Heartland merchants, with GlobalPayments.js for the card fields.
Can I save cards for later?
No. Multi-use tokens need extra setup with Heartland, so this module charges single-use tokens only.
Does it support currencies other than USD?
No. Heartland Portico merchants charge in US dollars.
Is there a monthly fee?
No. You pay once; Heartland bills you under your own merchant agreement.
Compatibility
Odoo 19 Community and Enterprise. Needs the Payment and Invoicing apps; works with eCommerce, the customer portal and payment links. Built on the public Heartland card payments guide and the Global Payments SDK sources, tested with recorded answers. The customer's browser must be able to load GlobalPayments.js from js.globalpay.com.
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module