CluPilotCloud/app/Services/Stripe
nexxo 447d6fe0f3 Merge main into the host-takeover branch
One real conflict, in SyncStripeCatalogue::handle(), and both sides were right.

Main's parallel work resolves the adoption singletons and takes "before" counts
so a run can tell created from adopted. The operating-mode work refuses a
catalogue whose stored objects belong to the other mode, and records which mode
the catalogue now belongs to.

Kept both, with the mode guard first. It REFUSES, so it must not run behind
anything that has already built state; the counters only need to be in place
before the create loop, and they still are. Reversing that order would have the
command resolve singletons and take counts on a catalogue it is about to reject.

2017 tests pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 21:21:45 +02:00
..
FakeStripeClient.php Let the catalogue ask Stripe what products it already has 2026-07-30 17:25:38 +02:00
HttpStripeClient.php Merge main into the host-takeover branch 2026-07-30 21:21:45 +02:00
IdempotencyKey.php Put the price recognition back, all 3526 lines of it 2026-07-30 16:35:55 +02:00
StripeCheck.php Put back the docblock space pint took on the way past 2026-07-30 17:31:04 +02:00
StripeClient.php Let the catalogue ask Stripe what products it already has 2026-07-30 17:25:38 +02:00