Docs

Log into read the version of docs relevant to your site.

Difference of $0.01 on the payments made towards invoices

Problem Statement

Why is there a small dollar difference (e.g., $0.01) when a payment is made towards an invoice? Why does the invoice stay in payment_due status due to this difference?

Solution

Sometimes Chargebee does not capture the full invoice amount (leaving a few cents) and the payment remains pending. This can block enterprise customers from accessing their products. The issue is often caused by explicit conversion. Chargebee recommends avoiding explicit conversions and using the Estimates API before calling core APIs or Payment Intent APIs so purchase details are evaluated before signup.

Steps to Set It Up (PaymentIntent flow)

  1. Call the Estimate API: Create subscription estimate or Create a subscription for a customer estimate
  2. Pass the returned charge amount to Create a payment intent
  3. Authorize the PaymentIntent
  4. Call Create a subscription or Create subscription for customer with the authorized PaymentIntent ID

The Estimates API returns invoice amounts, next billing date, and unbilled charges to ensure accurate payment collection.

Was this article helpful?