laravel-shop/tests/Unit
Fabian @ Blax Software 637ad392ce fix(stripe): take checkout totals (shipping, discount, tax) from the session
Shipping rates, promotion codes and tax chosen on the Stripe Checkout page
only exist on the session. checkout.session.completed now copies
amount_subtotal, total_details.amount_shipping/amount_discount/amount_tax and
amount_total onto the (not yet paid) order before recording the payment, so
the order's totals match what was charged and the order is settled. The
chosen shipping rate id goes to meta.stripe_shipping_rate. The shipping
address is also read from collected_information.shipping_details (Stripe API
2025-03-31+), falling back from shipping_details.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 11:30:55 +02:00
..
Cart feat(cart): WS-first storefront primitives + shared cart/auth controllers 2026-09-17 10:53:28 +02:00
Enums I loanable product type, tiered pricing, lifecycle events, host helpers 2026-05-15 10:27:59 +02:00
Models I loanable product type, tiered pricing, lifecycle events, host helpers 2026-05-15 10:27:59 +02:00
Order fix(orders): dispatch OrderPaid once; honour shop.models.order on webhook + service paths 2026-09-24 08:22:55 +02:00
Product feat(pricing): percentage conditional prices + cheapest-effective resolver + authoring helper 2026-08-26 15:52:24 +02:00
Purchase I loanable product type, tiered pricing, lifecycle events, host helpers 2026-05-15 10:27:59 +02:00
Resources test: pin clock in loan-vocabulary test; docs: bump suite counts to 1400/3755 2026-06-02 09:48:26 +02:00
Stripe fix(stripe): take checkout totals (shipping, discount, tax) from the session 2026-09-24 11:30:55 +02:00
HtmlDateTimeCastTest.php BFI cart single item 2025-12-24 19:40:10 +01:00
ShopServiceTest.php BFI cart / orders 2026-01-05 10:30:21 +01:00
StockManagementTest.php BF edgecases, R structure, A tests 2026-05-18 13:05:38 +02:00
StockTypeSafetyTest.php BF edgecases, R structure, A tests 2026-05-18 13:05:38 +02:00
TaxServiceTest.php feat(tax): configurable TaxService applied across every checkout path 2026-08-21 08:23:56 +02:00