=== modified file 'payment/uc_payment/uc_payment.module'
--- payment/uc_payment/uc_payment.module	2008-12-08 17:05:35 +0000
+++ payment/uc_payment/uc_payment.module	2009-03-02 11:24:09 +0000
@@ -345,7 +345,7 @@
   exit();
 }
 
-function uc_payment_get_details($method_id, $view = 'cart', $order = NULL) {
+function uc_payment_get_details($method_id, $view = 'cart', $order = NULL, $return = FALSE) {
   if ($view == 'cart') {
     if (!($order = uc_order_load($_SESSION['cart_order']))) {
       $_SESSION['cart_order'] = NULL;
@@ -362,8 +362,13 @@
     $output = $func($view .'-details', $order);
   }
 
-  print $output;
-  exit();
+  if ($return) {
+    return $output;
+  }
+  else {
+    print $output;
+    exit();
+  }
 }
 
 function _total_sort($a, $b) {

=== modified file 'payment/uc_payment/uc_payment_checkout_pane.inc'
--- payment/uc_payment/uc_payment_checkout_pane.inc	2008-11-05 22:41:07 +0000
+++ payment/uc_payment/uc_payment_checkout_pane.inc	2009-03-02 11:24:27 +0000
@@ -66,7 +66,7 @@
         '#theme' => 'uc_payment_method_select',
       );
       $contents['details'] = array(
-        '#value' => '<div id="payment_details" class="solid-border display-none"></div>',
+        '#value' => '<div id="payment_details" class="solid-border">' . uc_payment_get_details($default, 'cart', NULL, TRUE) . '</div>',
       );
 
       return array('description' => $description, 'contents' => $contents);

