Introducing the Chargebee CLI

How to manually link the refund/dispute from Stripe Webhooks to Chargebee invoices?

Problem Statement

You want to know how to manually link the refund/dispute from Stripe webhooks to Chargebee invoices.

Solution

Scope

Is there an identification/id to map the disputes to invoices?

How to identify the invoice related to the refund?

Chargebacks are directly handled by the payment gateway that you use (e.g., Stripe), and as a merchant, you would directly receive a notification from the gateway regarding these.

If you have received webhooks from Stripe for refund transactions, then search for "balance_transaction": "txn_xxxxxxxxxxxxxx"

This is the transaction id present in Chargebee.

Go to the Chargebee site, then open Logs > Transactions, and search for the specific transaction ID.

Open the transaction and click Invoice #. It will open the respective invoice. Follow the steps to issue a refund for this specific invoice.