--- /sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module	Tue Jan 10 16:20:08 2012
+++ /sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module.updated	Fri Jan  6 12:40:27 2012
@@ -24,7 +24,7 @@
     $items['uc_recurring_hosted/paypal/ipn'] = array(
       'title' => 'PayPal IPN',
       'page callback' => 'uc_recurring_hosted_paypal_ipn',
-      'access callback' => 'uc_paypal_ipn_access',
+      'access callback' => TRUE, //'uc_paypal_ipn_access',
       'type' => MENU_CALLBACK,
       'file' => 'uc_recurring_hosted.paypal_ipn.inc',
     );
@@ -32,7 +32,7 @@
       'title' => 'PayPal IPN',
       'page callback' => 'uc_recurring_hosted_paypal_ipn',
       'page arguments' => array(3),
-      'access callback' => 'uc_paypal_ipn_access',
+      'access callback' => TRUE, //'uc_paypal_ipn_access',
       'type' => MENU_CALLBACK,
       'file' => 'uc_recurring_hosted.paypal_ipn.inc',
     );
@@ -575,8 +575,10 @@
  * same trick to alter the paypal form, its a messy hack but works for now.
  */
 function uc_recurring_hosted_form_uc_paypal_wps_form_alter(&$form, $form_state) {
-  $order = $form['#parameters'][2];
-
+//  $order = $form['#parameters'][2];
+//  fix from: http://drupal.org/node/1380694
+  $order = $form_state['build_info']['args'][0];
+  
   $recurring_fees = array();
   // if recurring fees exist in the order
   if (module_exists('uc_recurring_product')) {
