(string) ($contact['contact_name'] ?? '')], (string) ($checkout['pi'] ?? '')); $_SESSION['portal_checkout']['pi'] = (string) $pi->id; } catch (Throwable $e) { logApp("Stripe", "error", "Could not set up a card payment for client $session_client_id: " . $e->getMessage()); $error = 'The card form could not be set up just now - nothing has been charged. Try again in a moment'; $selection = null; } } $back = 'unpaid_invoices.php' . ($checkout && !empty($checkout['ids']) ? '?' . http_build_query(['select' => implode(',', array_map('intval', (array) $checkout['ids']))]) : ''); ?> Pay invoices
= $count ?> = $count === 1 ? 'invoice' : 'invoices' ?> ยท paid securely through Stripe