@php $c = $qrCode->content(); $title = $c['book_title'] ?? 'Book'; $author = $c['author'] ?? ''; $desc = $c['description'] ?? ''; $price = number_format((float) ($c['price_ghs'] ?? 0), 2); $fileType = strtoupper($c['file_type'] ?? 'PDF'); $hasCover = !empty($c['cover_path']); $orderUrl = $qrCode->publicPath('book/order'); $csrfToken = csrf_token(); @endphp
by {{ $author }}
@endifby {{ $author }}
@endifby {{ $author }}
@endif{{ $desc }}
@endif {{-- Price --}}Pay once. Download instantly.
{{-- Buy button --}}{{ $title }}
{{ $title }}
{{ $fileType }}{{ $author ? ' · by ' . $author : '' }}
GHS
{{ $price }}
Your details
Secured by Paystack. Powered by Ladill Pay