--- commerce_paypal.module	2011-11-11 12:17:51.000000000 +0100
+++ commerce_paypal.module.new	2011-11-21 12:53:29.000000000 +0100
@@ -361,7 +361,9 @@
  *   amex, discover, echeck, paypal
  */
 function commerce_paypal_icons() {
-  $icons = array();
+    global $base_url;
+    
+    $icons = array();
 
   $payment_methods = array(
     'visa' => t('Visa'),
@@ -373,7 +375,7 @@
   );
 
   foreach ($payment_methods as $name => $title) {
-    $path = url(drupal_get_path('module', 'commerce_paypal') . '/images/' . $name . '.gif', array('absolute' => TRUE));
+    $path = $base_url . '/' . drupal_get_path('module', 'commerce_paypal') . '/images/' . $name . '.gif';
     $icons[$name] = '<img src="' . $path . '" alt="' . $title . '" title="' . $title . '" class="commerce-paypal-icon" />';
   }
 
