Rex

Set up Heartland payments

Heartland is one of the payment processors Rex can take card payments through. You set it per venue on the venue's Payment card, using the API credentials from your Heartland merchant account. Guests then pay by card at checkout and are charged straight away.

ℹ️Note

Each venue uses one payment processor at a time. Switching a venue to Heartland replaces the processor it used before.

Connect Heartland to a venue

1

Navigate to the venue

Open the venue and stay on the General tab. The Payment card is on the right.

Manage›Venues›Your Venue›General
The Payment card on the venue's General tab (1) with its Test Mode badge and the Settings button (2)
The Payment card is on the right of the venue's General tab.
2

Click Settings on the Payment card

The Payment Settings window opens.

The Payment Settings window (2) open on a venue, showing Sandbox mode and the Payments dropdown
Clicking Settings on the Payment card opens the Payment Settings window.
3

Toggle Sandbox mode to OFF

Sandbox mode uses Rex's testing credentials and charges no real money. While it's on, the processor fields are hidden.

The top of the Payment Settings window with the Sandbox mode switch (3) and the Payments dropdown
Turn Sandbox mode off to see the processor fields.
4

Select Heartland in Payments

Four credential fields and the Collect full billing address switch appear.

Payment Settings window with Sandbox mode off, Heartland selected in Payments (4), and the Payment key, Payment secret, Payment URL and Payment MID fields (5) above Collect full billing address
Select Heartland, then fill in all four credential fields from your Heartland account.
5

Enter your Heartland credentials

Fill in all four fields from your Heartland merchant account (see the table below), then click Save changes. Rex won't save until all four are filled in.

The Payment Settings window with Heartland selected and the Payment key (5), Payment secret, Payment URL and Payment MID fields filled in with placeholder values
Fill in all four credential fields, then click Save changes.
FieldDescription
Payment keyYour Heartland public API key. It starts with pkapi_.
Payment secretYour Heartland secret API key. It starts with skapi_.
Payment URLThe Heartland gateway address for your account.
Payment MIDYour Heartland merchant ID.
Collect full billing addressAsks guests for street, city and state instead of just the billing ZIP code. Turn it on if your Heartland account checks the street address.

Test before going live

Turn Sandbox mode on to run test bookings without charging real cards. While it's on, the venue's Payment card shows a Test Mode badge. Turn it off and enter your live credentials before you send guests to the booking page.

Refunds

Refund a Heartland booking from Rex the same way as any other reservation, in full or in part. Rex sends the refund to Heartland for you.

Troubleshooting

Guests see "Your billing address did not match your card. Please check the ZIP code and street address on your card statement and try again."

Possible causes

  • •Your Heartland account checks the street address, but Rex only collects the ZIP code
  • •The guest typed an address that doesn't match their card

Fix

Manage›Venues›Your Venue›General

Turn on Collect full billing address in the venue's Payment Settings so guests enter their street, city and state.

Payment Settings window with Heartland selected and the Collect full billing address switch highlighted; credential fields blurred

Guests see "Your card was declined. Please try a different card or contact your bank."

Possible causes

  • •The card issuer declined the payment

Fix

Ask the guest to use another card or call their bank. Nothing needs changing in Rex.

Guests see "This card is expired. Please try another card."

Possible causes

  • •The card has expired

Fix

Ask the guest to use another card.

The Payment card shows Test Mode

Possible causes

  • •Sandbox mode is on, so no real payments are taken

Fix

Manage›Venues›Your Venue›General

Open the Payment card's Settings, turn Sandbox mode off, select Heartland and enter your live credentials.

Payment Settings window with Heartland selected and the Sandbox mode switch highlighted; credential fields blurred

Updated Oct 8, 2026

Was this helpful?