}
/**
- * Constructor
+ * Constructor.
*
* @param string $mode
* The mode of operation: live or test.
}
else {
/* Since trxn_id hasn't got any use here,
- * lets make use of it by passing the eventID/membershipTypeID to next level.
- * And change trxn_id to google-order-number before finishing db update */
+ * lets make use of it by passing the eventID/membershipTypeID to next level.
+ * And change trxn_id to google-order-number before finishing db update */
if (!empty($ids['event'])) {
$contribution->trxn_id = $ids['event'] . CRM_Core_DAO::VALUE_SEPARATOR . $ids['participant'];
/**
* This method is handles the response that will be invoked (from extern/googleNotify) every time
* a notification or request is sent by the Google Server.
+ *
+ * @param string $xml_response
*/
public static function main($xml_response) {
require_once 'Google/library/googleresponse.php';
}
return $vars;
}
+
}