---
schema_version: "1"
id: 918a276ecfe87626a7bc4bc4ec4390a51c385cd39f599186bce19ba8aeb7f71f
title: Payment Gateway Log Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_payment_gateway_log_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_payment_gateway_log_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 09c41d117b1272ec7e23bb4763b4294d5024281bae128553ae2a6fa43b144d78
description: The Payment Gateway Log object stores information exchanged between the Salesforce payment platform and external payment gateways.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Payment Gateway Log Fields

The Payment Gateway Log object stores information exchanged between the Salesforce payment platform and external payment gateways.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-om_order_management-264-0-0-production-enus/4c4844e3-a194-4a65-95b7-17291a6dbefa/images/icon_note.png)

Note Depending on your page layout and field-level security settings, some fields aren’t visible or editable.

This table lists the fields on the Payment Gateway Log object.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30889e66">Field Label</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30889e69">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayAuthCode</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The authorization approval code from the payment gateway.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayAvsCode</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The code sent by payment gateways that use an address verification system
              (AVS).</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayDate</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The date when the payment gateway communication was initiated.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayMessage</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">Information or error messages sent from the payment gateway. </td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayReferenceNumber</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The transaction ID created by the payment gateway.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayResultCode </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The result code sent by the payment gateway.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">GatewayResultCodeDescription</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The description of the payment gateway result code</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">InteractionType</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">
              <p>Indicates the type of interaction with the payment gateway.</p>
              <p>Possible values are:</p>
              <ul>
                <li>Authorization</li>

                <li>AuthorizationReversal</li>

                <li>Avs</li>

                <li>Capture</li>

                <li>CheckGiftCardBalance</li>

                <li>ReferenceRefund</li>

                <li>Sale</li>

                <li>Tokenize</li>

                <li>Void</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">Order Payment Summary</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The order payment summary associated with the payment.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">PaymentGatewayId</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The Salesforce payment platform payment gateway record used for communication with the
              external payment gateway.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">PaymentGatewayLogNumber </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The auto-generated number assigned to the payment gateway log.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">SalesforceRefereceNumber</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">The IdempotencyKey passed in the API request.</td>

          </tr>
          <tr class="">
            <td data-label="Field Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e66 ">SalesforceResultCode</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30889e69 ">
              <p>The Salesforce result code for the payment transaction. This value can be mapped to
                one or more gateway result codes.</p>
              <p>Possible values are:</p>
              <ul>
                <li>Decline—The gateway call failed, but it may still work if the transaction is attempted
                  again. For example, the customer had insufficient funds or briefly lost their
                  connection.</li>
                <li>Indeterminate—The gateway didn’t respond to the call. This response usually happens
                  when Salesforce times out while waiting for a response from the gateway.</li>
                <li>Permanent Fail: The gateway call failed and won’t work even if tried again. Gateway
                  calls fail permanently for one of two reasons:<ul class="simple">
                    <li>Hard Decline—The customer’s payment account has been closed or terminated.</li>
                    <li>Fraud—The gateway recognized the payment or payment method as known fraud</li>
                  </ul>
                </li>
                <li>Requires Review—The customer’s bank requires more information before completing the
                  payment.</li>
                <li>Success—The gateway call succeeded.</li>
                <li>System Error—Salesforce ended the payment request before receiving a response. For
                  example, Salesforce lost credentials or access to its server. Salesforce ends payment
                  calls if it doesn’t receive a response from the gateway within two minutes.</li>
                <li>Validation Error—Customer payment data was incorrect. For example, the payment was
                  submitted with a misspelling in the credit card address or an incorrect CVV.</li>
              </ul>
            </td>

          </tr>
        </tbody>
      </table>

#### See Also

- [Order Management Objects and Fields](https://help.salesforce.com/s/articleView?id=commerce.om_order_management_objects_and_fields.htm&release=264.0.0&type=5 "Learn about the standard objects and fields available for reporting in Order Management.")