uc_google_checkout_notify_update
Drupal 7 uc_google_checkout_notify_update($form, &$form_state)
Submit callback. Sends order update notifcations through Google Checkout.
1 string reference to 'uc_google_checkout_notify_update'
File
- sites/
all/ modules/ ubercart/ payment/ uc_google_checkout/ uc_google_checkout.module, line 1218 - Use Google Checkout to collect payment and process orders.
Code
function uc_google_checkout_notify_update($form, &$form_state) {
$order = uc_order_load($form_state['values']['order_id']);
if ($order !== FALSE && isset($order->google_order_number) && isset($form_state['values']['order_comment']) && drupal_strlen($form_state['values']['order_comment'])) {
$request = uc_google_checkout_buyer_message_request($form_state['values']['order_id'], $form_state['values']['order_comment']);
$response = uc_google_checkout_send_request('request', $request);
}
}

