trypost/app/Http/Controllers
Paulo Castellano f223cf14ce Fire checkout.completed reliably for trial-with-card checkouts
A trial-with-card subscription is already subscribed() (status trialing)
by the time the webhook lands, so /billing/processing usually mounts
already-active and the false->true poll transition the event depended on
never happened — only 3 of 66 real subscriptions emitted checkout.completed.

Complete the purchase from whichever path runs first (onMounted when already
active, or the poll transition), de-duplicated per checkout session via a
one-time Cache::add gate on session_id so back-button/refresh can't re-fire.
2026-06-14 16:12:49 -03:00
..
Api Make AspectRatio the single source for crop math; fill test gaps 2026-06-10 15:52:41 -03:00
App Fire checkout.completed reliably for trial-with-card checkouts 2026-06-14 16:12:49 -03:00
Auth Group Telegram service classes under Services/Social/Telegram 2026-06-14 13:32:03 -03:00
Webhooks Group Telegram service classes under Services/Social/Telegram 2026-06-14 13:32:03 -03:00
Controller.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00