Redirects and Callbacks
Receipt Page Settings, Relay Response, and Silent Post
🧾 Receipt Page Settings
Once a payment is completed, you need to return the customer to your website. E-xact offers several return methods configurable in the Receipt Page Settings tab of your dashboard.
Payload DifferencesDepending on the return method you select below, the data payload sent back to your server will change. Some methods return our "Full" payload (Authorize.net + E-xact fields), while others return a "Short" payload (Authorize.net fields only).
Please review our Response Codes & Approvals guide to ensure you are listening for the correct approval variables based on your chosen method.
User-Initiated Navigation (Requires a customer click)
These methods add a link or button to the standard transaction receipt that is displayed to the customer. Actions are triggered only if the customer clicks the link or button.
LINK: Displays a basic HTML link back to your site. No transaction data is sent.GET: Displays a "Return to Merchant" button. Clicks send transaction results via URL query parameters. (Returns the Short Payload: Auth.net fields only)POST: Displays a button. Clicks send transaction results via hidden HTTP POST data. (Returns the Short Payload: Auth.net fields only)
Automatic Navigation (No click required)
These methods do not display the standard transaction receipt to the customer. Instead, the customer's browser automatically submits an HTTP form to the configured Receipt Link. It is up to the merchant's server hosting the Receipt Link website to generate and display the transaction receipt to the customer.
AUTO-GET: Sends the transaction results as HTTP GET parameters. Instantly redirects the user via URL query parameters. (Returns the Short Payload: Auth.net fields only)AUTO-POST: Sends the transaction results as HTTP POST parameters. Instantly redirects the user via an HTTP POST. (Returns the Full Payload: Auth.net + E-xact proprietary fields)
🔄 Relay Response vs. Silent Post
Both Relay Response and Silent Post are real-time, server-to-server HTTP POST callbacks used to notify your application when a transaction completes (allowing you to update databases, adjust inventory, and clear shopping carts). However, they serve different purposes in your checkout flow.
Redundancy Best PracticeCertain combinations of receipt page settings increase the reliability and redundancy of transaction data transmission. Merchants can combine a browser-to-server redirect (
AUTO-POSTorAUTO-GET) with a server-to-server connection (Silent Post) so that order fulfillment does not rely solely on a customer's browser completing a redirect.
Security & Data Privacy
- Signature Verification: Always validate incoming callbacks to ensure they originated from E-xact. The gateway sends an
x_MD5_Hashin the payload—reconstruct this hash on your server using your Response Key / Transaction Key to verify authenticity before fulfilling orders.- PCI Scope: No sensitive cardholder data (such as full PAN or CVV) is transmitted to your server in either payload.
1. Relay Response (Custom Receipt Rendering)
Relay Response is a synchronous HTTP request ↔ response exchange where your server sends the final HTML receipt page displayed to the customer.
How It Works
- Transaction completes: E-xact temporarily pauses the customer's browser.
- Gateway POSTs to your server: E-xact sends a background
HTTP POSTcontaining the transaction result fields to your designated Relay Response URL. - Your server processes & replies: Your application records the transaction and replies with HTML content (e.g., a custom-branded receipt page or a client-side redirect script).
- Customer sees your receipt: E-xact relays your HTML response directly to the customer's browser for final display.
Configuration & Request Parameters
To trigger Relay Response, include the following parameters in your payment request:
| Parameter | Value | Required | Description / Rules |
|---|---|---|---|
x_relay_response | TRUE | Yes | Case-sensitive. Must be uppercase TRUE to trigger Relay Response. |
x_relay_url | https://... | Optional | The destination URL where Exact posts the transaction result. Must match/validate against the URL configured in your Relay Response Settings (Payment Pages menu). If omitted, the default URL saved in the Payment Pages configuration is used. |
Behavioural Rules & Timeouts
- 25-Second Timeout Fallback: Exact waits up to 25 seconds for your server to return HTML. If your server fails to respond within 25 seconds (or returns an error), E-xact falls back to displaying the standard hosted transaction receipt to the customer.
- Declined Transactions: Relay Response normally triggers only on approved transactions. However, if a customer fails payment three (3) consecutive times, E-xact will send a
"Transaction Declined"HTTP POSTto your Relay Response URL so you can display a custom failure page.
2. Silent Post (Background Database Sync)
Silent Post is strictly an asynchronous, background web-hook used for system-to-system syncing. It does not interrupt or control the customer's browser flow.
How It Works
- Transaction completes: Exact finalizes the authorization/sale.
- Gateway POSTs to your server: Exact sends a background
HTTP POSTto your Silent Post URL containing the full transaction payload (standard Authorize.Net fields + Exact proprietary fields). - Response is ignored: Exact ignores any HTML body returned by your server and immediately directs the customer's browser according to your standard Receipt Page Settings.
Configuration
- Enable Silent Post by entering your endpoint URL in the Silent Post URL field under the Receipt Page tab in your Payment Pages configuration.
Requirements & Troubleshooting
- Must Return
HTTP 200 OK: Your endpoint must acknowledge receipt with anHTTP 200status code. Any other status code is treated as a delivery failure. - No HTTP Redirects (
301/302): Because this is a server-to-server request and not a user browser session, ensure your endpoint does not return redirect headers or status codes. - Race Conditions / Ordering: If you enable both Silent Post and Relay Response (or browser
AUTO-POST), there is no guarantee of arrival order. Your backend must handle idempotency and not assume Silent Post will always arrive before Relay Response (or vice versa).
Quick Comparison: Which Should I Use?
| Feature | Silent Post | Relay Response |
|---|---|---|
| Primary Purpose | Background database/order syncing | Rendering a custom HTML receipt page |
| Payload Returned | Full Payload (Auth.net + E-xact fields) | Standard Transaction Result Fields |
| Server Response Expected | HTTP 200 status only (body ignored) | Valid HTML document (within 25 seconds) |
| Triggers on Declines? | Yes (posts transaction outcome) | Only after 3 failed attempts |
| Setup Location | Payment Pages Admin (Receipt Page tab) | Payment request (x_relay_response=TRUE) + Relay Response URL |
- Use Silent Post if you want a clean, reliable web-hook to update your database/ERP in the background while letting E-xact handle the customer's receipt page and redirect flow.
- Use Relay Response only if your application must dynamically generate and render the final HTML receipt directly inside the hosted checkout response.
Updated 11 days ago
