function _processSubscriptionCancel($ip, $request) { $this->gc_status = 'cancelled'; $this->_logSuccess('Subscription cancelled (' . $request['reason'] . ')'); web_invoice_mark_as_cancelled($this->invoice->id); header('HTTP/1.0 200 OK'); header('Content-type: text/plain; charset=UTF-8'); print 'Thank you very much for letting us know. REF: Cancelled subscription'; exit(0); }
function _processCancellation($ip, $request) { $this->_logSuccess('Subscription cancelled (' . $this->respmsg . ')'); web_invoice_mark_as_cancelled($this->invoice->id); header('HTTP/1.0 200 OK'); header('Content-type: text/plain; charset=UTF-8'); print 'Thank you very much for letting us know. REF: Cancelled subscription'; }