uPaid = true; $sPaymentRequest->InsertIntoDatabase(); $sLogEntry = new LogEntry(0); $sLogEntry->uType = LogEntry::DONATION_SKIPPED; $sLogEntry->uIp = $_SERVER['REMOTE_ADDR']; $sLogEntry->uData = json_encode(array("payment_request" => $sPaymentRequest->sId)); $sLogEntry->uCampaignId = $sPaymentRequest->sCampaign->sId; $sLogEntry->uDate = time(); $sLogEntry->uSessionId = session_id(); $sLogEntry->InsertIntoDatabase(); $sPageTitle = "Thanks for letting us know."; $sPageContents = NewTemplater::Render("payment/skipped", $locale->strings, array());