Docs

Needs Attention Transactions 

This document focuses on the identification and management of Needs Attention transactions within Chargebee. These transactions occur when there is a discrepancy between the status recorded in Chargebee and that reported by the payment gateway. Though uncommon, such inconsistencies can arise due to temporary connection issues, processing errors, or other system glitches. In this document, we will explore the causes of these discrepancies and provide detailed steps for resolving and reconciling Needs Attention transactions to ensure the accuracy and integrity of your payment records.

Handling Needs Attention Transactions in Chargebee 

In Chargebee, transactions labelled with the Needs Attention status indicate a discrepancy between Chargebee's records and the payment gateway's records for that transaction. Chargebee will attempt to automatically reconcile these discrepancies to maintain accurate and consistent transaction records.

Automatic Reconciliation in Chargebee 

Chargebee can automatically reconcile transactions marked as Needs Attention if either the Gateway Transaction ID  (id_at_gateway) or Gateway Transaction Reference is available. It does this by retrieving the transaction details directly from the payment gateway. This process depends on the gateway's ability to provide transaction information based on these identifiers. The complete reconciliation workflow is outlined below:

Reconciliation Workflow 

Chargebee tries to automatically reconcile the Needs Attention transactions using a daily reconciler process. Let us understand the workflows behind the automated reconciliation process for these transactions:

  1. Identify and Retrieve Needs Attention Transactions:
    • Whenever a Needs Attention transaction is created in Chargebee, it is added to a queue for reconciliation.
    • Every 12 hours, the process retrieves these transactions and prepares them for processing.
  2. Fetch Gateway Transaction Response:
    • For each transaction, attempt to fetch the transaction response from the payment gateway using the following parameters:
      • Gateway Transaction ID (idAtGateway): A unique identifier for the transaction in the gateway.
      • Gateway Transaction Reference (orderId): An alternative identifier specific to the transaction request.
      • Date: The date of the transaction, used for time-based queries.
  3. If Gateway Transaction is Retrieved: Examine the transaction status at the payment gateway and settle the corresponding Chargebee transaction.
  4. If Gateway Transaction is Not Retrieved:
    • Send an email to Chargebee's Support team, who forward the request to you (the merchant) for intervention to settle the transaction. Chargebee cannot take further action.
    • The email includes the following transaction details to help you locate the transaction in the gateway dashboard: Transaction External ID, Amount, Currency, Date, Order ID, Customer Handle, Subscription Handle, and Gateway Transaction ID (id_at_gateway).

When Automatic reconciliation is not working 

In certain instances, Chargebee may lack the Gateway Transaction ID (id_at_gateway) needed to retrieve and reconcile transaction details from the payment gateway. Without this identifier, automatic reconciliation cannot proceed, making manual intervention necessary to ensure Chargebee's records are aligned with those of the gateway.

When the Needs Attention reconciler process generates an email with a list of transactions requiring attention, we will need your assistance to manually reconcile those transactions as detailed in the following section.

You can reconcile the Needs Attention transactions manually using either of the following methods:

Reconciling Transactions via API 

You can use the Reconcile transaction API  to update the id_at_gateway (Gateway Transaction ID) and Status for a Needs Attention transaction to be reconciled on par with the gateway.

Reconciling Transactions via the Chargebee App 

This section involves two sets of steps:

  • Locating Needs Attention Transactions
  • Reconciling Transaction

Locating Needs Attention Transactions

  1. Using the NeedsAttentionDangling filter. Simply, go to the Transactions  page and select the NeedsAttentionDangling filters from the All Transactions drop-down menu on top.

  2. From the banner on top of the Transactions  page. Follow the steps below:
    a. Login to the Chargebee app  and go to Logs > Transactions .
    b. When any Needs Attention transactions are created in the Last 30 days, a banner appears, indicating that your attention is required.
    c. Click See Transaction to view the list of all Needs Attention transactions.

Reconciling a Needs Attention Transaction

Follow the steps mentioned below:

  1. On the Transactions  page, click on the relevant transaction to open the details page.

  2. In the right pane, click Update Status.

  3. On clicking Update Status, the Update Transaction Status popup appears.
    4.Enter the Gateway Transaction ID (auto-populated if available) and select the relevant Transaction Status after checking the same in their gateway dashboard.

  4. Click Update. The Needs Attention transaction is reconciled now.

Was this article helpful?
Loading…