Index: uc_google_checkout.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/ubercart/payment/uc_google_checkout/uc_google_checkout.module,v
retrieving revision 1.1.2.15
diff -u -r1.1.2.15 uc_google_checkout.module
--- uc_google_checkout.module	21 Sep 2009 14:34:48 -0000	1.1.2.15
+++ uc_google_checkout.module	7 Apr 2010 17:51:57 -0000
@@ -695,7 +695,7 @@
 
 function uc_google_checkout_new_order($new_order) {
   $order_id = $new_order->{'shopping-cart'}->{'merchant-private-data'}->{'order-id'};
-  $cart_id = $new_order->{'shopping-cart'}->{'merchant-private-data'}->{'cart-id'};
+  $cart_id = (string)$new_order->{'shopping-cart'}->{'merchant-private-data'}->{'cart-id'};
 
   $order = uc_order_load($order_id);
   if ($order) {
@@ -938,13 +938,14 @@
 function uc_google_checkout_charge_order($charge) {
   $order_id = uc_google_checkout_get_order($charge->{'google-order-number'});
   if ($order_id) {
-    uc_payment_enter($order_id, 'google_checkout', $charge->{'latest-charge-amount'}, 0,
+    $amount = (string)$charge->{'latest-charge-amount'};
+    uc_payment_enter($order_id, 'google_checkout', $amount, 0,
                      '', t('Payment received by Google Checkout'));
     $context = array(
       'revision' => 'formatted-original',
       'type' => 'amount',
     );
-    uc_order_comment_save($order_id, 0, t('Payment of %amount received by Google Checkout.', array('%amount' => uc_price($charge->{'latest-charge-amount'}, $context))), 'admin', 'chargeable');
+    uc_order_comment_save($order_id, 0, t('Payment of %amount received by Google Checkout.', array('%amount' => uc_price($amount, $context))), 'admin', 'chargeable');
     uc_google_checkout_notification_acknowledgement($charge['serial-number']);
   }
   else {

