? allow-define-currency-code-per-order.patch
Index: payment/uc_paypal/uc_paypal.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/payment/uc_paypal/uc_paypal.module,v
retrieving revision 1.5.2.17
diff -u -p -r1.5.2.17 uc_paypal.module
--- payment/uc_paypal/uc_paypal.module	21 Sep 2009 14:34:47 -0000	1.5.2.17
+++ payment/uc_paypal/uc_paypal.module	18 Oct 2009 11:02:54 -0000
@@ -912,7 +912,7 @@ function uc_paypal_wps_form($form_state,
     'rm' => 2,
 
     // Transaction information
-    'currency_code' => variable_get('uc_paypal_wps_currency', 'USD'),
+    'currency_code' => !empty($order->currency_code) ? $order->currency_code : variable_get('uc_paypal_wps_currency', 'USD'),
     'handling_cart' => uc_price($shipping, $context, $options),
     'invoice' => $order->order_id .'-'. time(),
     'tax_cart' => uc_price($tax, $context, $options),
