Skip to main content
When you collect payments through Upflow, Upflow exports them to Chargebee. This page explains what happens in Chargebee when one of those payments is later refunded, or fails after it was exported.

Refunds

When you refund an Upflow payment, Upflow exports the refund to Chargebee. How the refund appears depends on whether the original payment was applied to invoices. Each refund carries the comment Upflow refund: <Stripe ID>, so you can match it with the refund in your Upflow payment account.

Refund of a payment not applied to an invoice

When the original payment isn’t applied to any invoice, Upflow records the refund directly against the payment in Chargebee.

Refund of a payment applied to one invoice

When the original payment is applied to a single invoice, Upflow leaves the payment applied to the invoice and:
  1. Creates a refundable credit note in Chargebee that references the invoice. The credit note amount equals the refunded amount.
  2. Records the refund against that credit note.
This works the same whether the payment fully or partially paid the invoice.

Refund of a payment applied to several invoices

When the original payment covers several invoices, Upflow creates a single standalone credit note in Chargebee. The credit note contains the line items of every refunded invoice, and Upflow records one refund against it.
Standalone credit notes must be enabled on your Chargebee site. If they aren’t, the refund export fails with a write-back error in Upflow. Contact Chargebee support to enable standalone credit notes, then retry the export.
While the refund is being exported, the credit note in Upflow temporarily shows the reference number of the original invoice. It’s replaced with the Chargebee credit note number once the export completes.

Late payment failures

Some payment methods, such as ACH and SEPA Direct Debit, are asynchronous. Upflow considers the payment successful and exports it to Chargebee right away, but the bank can still reject it a few days later. When a payment fails after it was exported, Upflow deletes the payment in Chargebee. The invoices it was applied to go back to their previous outstanding amount, so your Chargebee balances match Upflow.
This differs from NetSuite, where Upflow keeps the payment and creates an offsetting refund. See NetSuite - Payment late failure.