@extends('installation.installation') @section('content') @php function generateRandomCode() { $characters = '0123456789abcdefghijklmnopqrstuvwxyz'; $code = ''; for ($i = 0; $i < 36; $i++) { if (in_array($i, [8, 13, 18, 23])) { $code .= '-'; } else { $code .= $characters[rand(0, strlen($characters) - 1)]; } } return $code; } $randomCode = generateRandomCode(); @endphp

Verify purchase

Fill this form with valid purchase code and author username

@if(session()->has('error'))
{{session()->get('error')}}
@endif

@csrf

@endsection