Only in simple_paypal: README.txt
diff -urp simple_paypal/simple_paypal.info simple_paypal6/simple_paypal.info
--- simple_paypal/simple_paypal.info	2008-07-21 05:10:04.000000000 -0700
+++ simple_paypal6/simple_paypal.info	2008-07-08 15:26:50.000000000 -0700
@@ -1,8 +1,4 @@
 name = Simple Paypal framework
 description = "Simple Paypal framework, for use by other modules."
-
-; Information added by drupal.org packaging script on 2008-07-21
-version = "5.x-1.x-dev"
-project = "simple_paypal"
-datestamp = "1216642204"
-
+core = 6.x
+version = "6.x-1.x-dev"
diff -urp simple_paypal/simple_paypal.module simple_paypal6/simple_paypal.module
--- simple_paypal/simple_paypal.module	2008-07-20 17:40:45.000000000 -0700
+++ simple_paypal6/simple_paypal.module	2008-07-26 02:50:54.000000000 -0700
@@ -1,35 +1,46 @@
 <?php
+// $Id$
+
+/**
+ * @file
+ * Simple Paypal framework. Used by fee and donation modules.
+ */
 
 define('SIMPLE_PAYPAL_URL_LIVE', 0);
 define('SIMPLE_PAYPAL_URL_TEST', 1);
 
 define('SIMPLE_PAYPAL_URL',      'simple_paypal_url');
+define('SIMPLE_PAYPAL_DEFAULT_CURRENCY', 'simple_paypal_default_currency');
 
 function simple_paypal_get_urls() {
   return array(
     SIMPLE_PAYPAL_URL_LIVE => 'https://www.paypal.com/cgi-bin/webscr',
-    SIMPLE_PAYPAL_URL_TEST => 'https://www.sandbox.paypal.com/cgi-bin/webscr',
+    SIMPLE_PAYPAL_URL_TEST => 'https://www.eliteweaver.co.uk/cgi-bin/webscr',
   );
 }
 
-function simple_paypal_menu($may_cache) {
+/**
+ * Implementation of hook_menu().
+ */
+function simple_paypal_menu() {
   $items = array();
 
-  if ($may_cache) {
-    $items[] = array(
-      'path' => 'admin/settings/paypal',
-      'title' => t('Paypal'),
-      'callback' => 'drupal_get_form',
-      'callback arguments' => array('simple_paypal_settings'),
-      'description' => t('Administer Paypal'),
-      'access' => user_access('administer site configuration'),
+    $items['admin/settings/paypal'] = array(
+      'title' => 'Paypal',
+      'page callback' => 'drupal_get_form',
+      'page arguments' => array('simple_paypal_admin'),
+      'description' => 'Administer Paypal',
+      'access arguments' => array('access administration pages'),
+      'type' => MENU_NORMAL_ITEM,
     );
-  }
 
   return $items;
 }
 
-function simple_paypal_settings() {
+/**
+ * Implementation of hook_admin().
+ */
+function simple_paypal_admin() {
   $form[SIMPLE_PAYPAL_URL] = array(
     '#type'           => 'select',
     '#title'          => t('Payment URL for Paypal'),
@@ -37,6 +48,12 @@ function simple_paypal_settings() {
     '#options'        => simple_paypal_get_urls(),
     '#description' => t('Select whether you want to use a live URL, or a test one.'),
   );
+  $form[SIMPLE_PAYPAL_DEFAULT_CURRENCY] = array(
+      '#type'          => 'select',
+      '#title'         => t('Default Currency'),
+      '#default_value' => variable_get(SIMPLE_PAYPAL_DEFAULT_CURRENCY, 'USD'),
+      '#options'       => simple_paypal_get_currencies(),
+      );
   return system_settings_form($form);
 }
 
@@ -46,17 +63,36 @@ function simple_paypal_get_url() {
 }
 
 function simple_paypal_get_currencies() {
-  return array(
-    'EUR' => t('Euro'),
-    'USD' => t('US Dollar')
-  );
+  if (variable_get(SIMPLE_PAYPAL_DEFAULT_CURRENCY, 'USD') == 'EUR') {
+    return array(
+      'EUR' => t('Euro'),
+      'GBP' => t('British Pound'),
+      'USD' => t('US Dollar')
+    );
+  }
+  else if (variable_get(SIMPLE_PAYPAL_DEFAULT_CURRENCY, 'USD') == 'GBP') {
+    return array(
+      'GBP' => t('British Pound'),
+      'EUR' => t('Euro'),
+      'USD' => t('US Dollar')
+    );
+  }
+  else {
+    return array(
+      'USD' => t('US Dollar'),
+      'EUR' => t('Euro'),
+      'GBP' => t('British Pound'),
+    );
+  }
 }
 
 function simple_paypal_format_amount($amount, $currency) {
   $amount = number_format($amount, 2);
-  switch($currency) {
+  switch ($currency) {
     case 'EUR':
       return "€ $amount";
+    case 'GBP':
+      return "£ $amount";
     case 'USD':
       return "$ $amount";
     default:
@@ -67,8 +103,8 @@ function simple_paypal_format_amount($am
 function simple_paypal_ipn_verify($vars = array()) {
   // If we are in test mode, log the variables.
   if (SIMPLE_PAYPAL_URL_TEST == variable_get(SIMPLE_PAYPAL_URL, SIMPLE_PAYPAL_URL_TEST)) {
-    watchdog('debug', t('Post variables from Paypal IPN <pre>@vars</pre>', array(
-      '@vars' => print_r($vars, TRUE))));
+    watchdog('simple_paypal', 'Post variables from Paypal IPN <pre>@vars</pre>', array(
+      '@vars' => print_r($vars, TRUE)), WATCHDOG_DEBUG);
   }
 
   $url = simple_paypal_get_url();
@@ -94,18 +130,18 @@ function simple_paypal_ipn_verify($vars 
     }
   }
   else {
-    watchdog('paypal', t('Call to curl_exec() failed. url=@url vars=@vars', array(
+    watchdog('simple_paypal', 'Call to curl_exec() failed. url=@url vars=@vars', array(
       '@vars' => print_r($vars, TRUE),
       '@url'  => $url,
-      )));
+      ), WATCHDOG_ERROR);
     return FALSE;
   }
 }
 
 function simple_paypal_post($data = array()) {
   $post = '';
-  foreach($data as $key => $value) {
-    $post .= $key . '=' . urlencode($value) . '&';
+  foreach ($data as $key => $value) {
+    $post .= $key. '='. urlencode($value). '&';
   }
   $post .= 'cmd=_notify-validate';
 
