Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/gateways/gw_classes/google_checkout.php
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Returns XML request, that GoogleCheckout posts to notification / shipping calculation scripts | * Returns XML request, that GoogleCheckout posts to notification / shipping calculation scripts | ||||
* | * | ||||
* @return string | * @return string | ||||
*/ | */ | ||||
function getRequestXML() | function getRequestXML() | ||||
{ | { | ||||
$xml_data = $GLOBALS['HTTP_RAW_POST_DATA']; | $xml_data = file_get_contents('php://input'); | ||||
if ( $this->Application->isDebugMode() ) { | if ( $this->Application->isDebugMode() ) { | ||||
$this->toLog($xml_data, 'xml_request.html'); | $this->toLog($xml_data, 'xml_request.html'); | ||||
} | } | ||||
return $xml_data; | return $xml_data; | ||||
// for debugging | // for debugging | ||||
▲ Show 20 Lines • Show All 744 Lines • ▼ Show 20 Line(s) | |||||
* @param Array $item_data | * @param Array $item_data | ||||
* @param Array $gw_params | * @param Array $gw_params | ||||
* @return bool | * @return bool | ||||
*/ | */ | ||||
function OrderDeclined($item_data, $gw_params) | function OrderDeclined($item_data, $gw_params) | ||||
{ | { | ||||
} | } | ||||
} | } | ||||
No newline at end of file |