Fix remaining merchant surfaces still using merchant.ladill.com/q URLs.
Deploy Ladill Merchant / deploy (push) Successful in 26s
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user