This article covers
Why is there a point dollar difference when a payment is made towards an invoice?
The invoice is still in payment_due status due to the difference in the payments?
Summary
Sometimes, Chargebee fails to take the full invoice amount (left a few cents) and keeps the payment pending. Due to this, merchant enterprise customers might face problems accessing their products.
Clarification
This issue occurs due to an explicit conversion. As per the product, we don't need any explicit conversions. So before calling any core APIs or payment intent APIs, it is recommended to use Estimates API. During the process of signing up customers for subscriptions, using the Estimates API will evaluate the details of the purchase before actually signing them up.
The details returned by the API include the invoice amounts, next billing date, and unbilled charges.
For paymentIntent flow, they follow the below Steps:
Call Estimate API (Create subscription estimate or Create a subscription for a customer estimate)
Pass the returned charge amount from the above call to Create a payment intent
Authorize the PaymentIntent
Call Create a subscription or Create subscription for customer by passing the above-authorized paymentIntent ID