Redirect legacy /q/* URLs to canonical ladl.link addresses.
Deploy Ladill Mini / deploy (push) Successful in 25s

External /q requests 301/307 to ladl.link; internal X-Ladill-Internal requests still serve content for platform proxying.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 17:19:04 +00:00
co-authored by Cursor
parent a07dd558a3
commit 517d7c52e3
5 changed files with 63 additions and 1 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ use App\Services\Billing\PaystackService;
use App\Services\Billing\SmsService;
use App\Services\Notifications\MiniNotificationService;
use App\Services\Pay\PayClient;
use App\Support\LadillLink;
use Illuminate\Support\Str;
use RuntimeException;
@@ -62,7 +63,7 @@ class MiniPaymentService
'fee_tier' => 'payments',
'source_service' => 'mini',
'source_ref' => (string) $qrCode->id,
'callback_url' => route('qr.public.payment.callback', ['shortCode' => $qrCode->short_code]),
'callback_url' => LadillLink::path($qrCode->short_code, 'pay/callback'),
'line_items' => [
[
'name' => $businessName,