Push paid menu orders to the Ladill POS kitchen
Deploy Ladill Merchant / deploy (push) Successful in 45s

When a menu (food) storefront order is paid, best-effort POST it to the
merchant's Ladill POS kitchen ingest (config/kitchen.php → KITCHEN_API_URL/KEY)
so it lands on their Kitchen Display alongside dine-in tabs. Failures are logged,
never surfaced — order completion is unaffected; POS ignores orders for accounts
that don't run a POS kitchen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
isaacclad
2026-06-24 23:57:30 +00:00
co-authored by Claude Opus 4.8
parent 20ec89f534
commit 2ced61fed0
3 changed files with 70 additions and 0 deletions
@@ -20,6 +20,7 @@ class MerchantSaleService
private PaystackService $paystack,
private BillingClient $billing,
private SmsService $sms,
private KitchenPusher $kitchen,
) {}
/**
@@ -217,6 +218,7 @@ class MerchantSaleService
]);
$this->notifyOrderPlaced($order->fresh(['qrCode', 'merchant']));
$this->kitchen->push($order->fresh(['qrCode', 'merchant']));
return $order;
}
@@ -257,6 +259,7 @@ class MerchantSaleService
);
$this->notifyOrderPlaced($order->fresh(['qrCode', 'merchant']));
$this->kitchen->push($order->fresh(['qrCode', 'merchant']));
return $order;
}