Add initial Stripe Payment integration for invoices

This commit is contained in:
Marcus Hill
2023-02-07 18:05:52 +00:00
parent c3829c06af
commit f1180aa9fe
240 changed files with 448 additions and 23089 deletions

View File

@@ -532,7 +532,8 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
catch(Exception $e) {
// If we couldn't send the message return the error, so we can log it
return "Message not sent. Mailer Error: {$mail->ErrorInfo}";
error_log("ITFlow - Failed to send email: " . $mail->ErrorInfo);
return substr("Mailer Error: $mail->ErrorInfo",0,150)."...";
}
}