Fix remaining merchant surfaces still using merchant.ladill.com/q URLs.
Deploy Ladill Merchant / deploy (push) Successful in 26s

Storefront QR cards, slug preview, payment callbacks, and document downloads now use LadillLink so displayed and encoded links match ladl.link.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 16:06:32 +00:00
co-authored by Cursor
parent a3029d475d
commit 2991d71ea0
8 changed files with 16 additions and 8 deletions
@@ -10,6 +10,7 @@ use App\Services\Billing\BillingClient;
use App\Services\Billing\PaystackService;
use App\Services\Billing\SmsService;
use App\Services\Pay\PayClient;
use App\Support\LadillLink;
use App\Support\Qr\QrTypeCatalog;
use RuntimeException;
@@ -50,7 +51,7 @@ class MerchantSaleService
$qrCode->loadMissing('user');
$customerEmail = trim((string) ($data['customer_email'] ?? ''));
$callbackUrl = route('qr.public.order.callback', ['shortCode' => $qrCode->short_code]);
$callbackUrl = LadillLink::path($qrCode->short_code, 'order/callback');
$payOrder = $this->pay->createCheckout([
'merchant' => $qrCode->user->public_id,
@@ -122,7 +123,7 @@ class MerchantSaleService
$qrCode->loadMissing('user');
$customerEmail = trim((string) ($data['customer_email'] ?? ''));
$callbackUrl = route('qr.public.booking.callback', ['shortCode' => $qrCode->short_code]);
$callbackUrl = LadillLink::path($qrCode->short_code, 'booking/callback');
$booking = QrBooking::create([
'qr_code_id' => $qrCode->id,