Partial WooCommerce refunds: payment, stock and invoice
Refund part of a Comgate payment and check line items, stock and invoicing. Distinguish a gateway refund from a manual refund record.
A partial refund involves three separate records: returned money, stock and the related billing document. A successful update in one does not establish the others. Agree the scope of the refund before making changes to the order.
This guide covers technical processing with MakeMeHappy Comgate 0.5.0. It does not determine a customer's entitlement or the accounting procedure for a particular business.
Gateway refund versus manual record
WooCommerce distinguishes a refund through a supported gateway from a manual refund record. A manual record does not send money. Simply changing the order to Refunded or Cancelled does not return funds either. Refunding only part of the amount normally leaves the order outside the fully refunded status. WooCommerce refund documentation
If you have already returned the money in the gateway portal, do not submit the same gateway refund again from WooCommerce. Reconcile the records with the actual transaction.
Example: one unit from a multi-unit line
Suppose an order contains two units of product A at €18 each after discount, product B at €30 and shipping at €4. The total is €70. If the agreed refund is one unit of A for €18, the remaining value after that refund is €52.
This is a calculation example only. Whether shipping or another amount must also be returned depends on the reason and scope of the refund. Use the original order's values, discounts and taxes rather than today's catalogue price. Compare the line breakdown with the final amount submitted to the gateway.
What to check with Comgate
Match the order to its paid transaction and inspect previous refunds. Version 0.5.0 checks payment status and the remaining amount. It supports partial and full refunds from the order screen; this is not automatic acceptance of every customer request.
After submitting, inspect the result, order note and portal record. Confirmation that Comgate accepted a refund is not a promise that the customer's account has already been credited. Communicate the state you can actually verify.
If the plugin reports an uncertain earlier refund attempt, do not bypass the safeguard by deleting metadata. Check the portal and resolve the outcome with support first. Blindly retrying can complicate reconciliation. The Comgate guide covers gateway configuration and operation.
Stock should reflect the goods actually returned
Review quantities and the restocking choice. Check the physical situation before confirming: a saleable item, a damaged item and a goodwill payment without a returned product are different cases. Adding one unit to stock merely because you returned some money may be incorrect.
For variable products, check the exact variation. Recording the right amount will not fix a wrong colour or size assignment. Inspect stock history and current availability afterwards.
Billing documents and customer emails
A payment refund does not establish that the billing service created the required corrective document. With a Faktury-online or Fakturyweb connector, separately verify the supported workflow, amounts and reference to the original document. A PDF already attached to an email will not be rewritten in the customer's inbox.
Before live use, walk through your own test order: partial amount, variation, restocking and customer message. Use the gateway's supported test mode and inspect the portal too. Do not experiment on a real payment merely to check the interface.