laravel-shop/tests/Feature/Ledger
Fabian @ Blax Software 193d0615e6 fix(ledger): refund rows take the buyer of their charge
The importer expands only the refund, which names no customer, so refunds
were stored without customer_id/email and never netted against the buyer in
customerLedgerTotals / ledgerAmountByCustomer. The row builder now copies the
buyer from the ledger's charge row of the same payment (payment intent or
charge id). Fills nulls only; a later import heals existing rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:17:15 +01:00
..
LedgerMetricsTest.php fix(ledger): refund rows take the buyer of their charge 2026-11-14 11:17:15 +01:00
LedgerTaxTest.php feat(ledger): VAT per ledger row from Stripe's own data 2026-11-02 12:10:11 +01:00
PaypalLedgerTest.php feat(ledger): shop.paypal.required makes a missing or failing PayPal import throw 2026-10-07 12:48:05 +02:00