Redirect legacy /q/* URLs to canonical ladl.link addresses.
Deploy Ladill Mini / deploy (push) Successful in 25s
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user