(int) config('cashier.retain_key'),
]);
if (config('cashier.client_side_token')) {
$seller['token'] = config('cashier.client_side_token');
} elseif (config('cashier.seller_id')) {
$seller['seller'] = (int) config('cashier.seller_id');
}
if (isset($seller['pwAuth']) && Auth::check() && $customer = Auth::user()->customer) {
$seller['pwCustomer'] = ['id' => $customer->paddle_id];
}
$nonce = $nonce ?? '';
?>
@if (config('cashier.sandbox'))
@endif