diff --git a/modules/uc_recurring_hosted/uc_recurring_hosted.module b/modules/uc_recurring_hosted/uc_recurring_hosted.module
index 15ce768..2f4b906 100644
--- a/modules/uc_recurring_hosted/uc_recurring_hosted.module
+++ b/modules/uc_recurring_hosted/uc_recurring_hosted.module
@@ -583,8 +583,9 @@ function uc_recurring_hosted_form_uc_paypal_wps_form_alter(&$form, $form_state)
     // uc_recurring_products support
     $recurring_fees = uc_recurring_product_get_recurring_products_in_order($order);
   }
-
   if (count($recurring_fees) > 0) {
+	//uc_recurring_fee
+	
     // TODO: what do we do if someone tries to order more then one subscription??
     // we will just process the first for now
     $recurring_fee = $recurring_fees[0];
@@ -623,6 +624,38 @@ function uc_recurring_hosted_form_uc_paypal_wps_form_alter(&$form, $form_state)
         );
       }
     }
+  }else if(isset($order->data) && $order->data['recurring_option']!=0){
+	//uc_recurring_order
+	
+	// IPN control notify URL
+    $data['notify_url'] = url('uc_recurring_hosted/paypal/ipn/' . $order->order_id, array('absolute' => TRUE));
+
+    $data['cmd'] = '_xclick-subscriptions';
+    $data['item_name'] = t('Order @order_id at !store', array('@order_id' => $order->order_id, '!store' => variable_get('uc_store_name', url('<front>', array('absolute' => TRUE)))));
+	
+    // first payment
+    list($p, $t) = explode(' ', $order->data['recurring_option']);
+    $data['a1'] = sprintf("%0.2f", $order->order_total);
+    $data['p1'] = $p;
+    $data['t1'] = strtoupper($t[0]);
+
+    // recurring payments same as inital order
+    $data['a3'] =  $data['a1'];
+	$data['p3'] =  $data['p1'];
+    $data['t3'] =  $data['t1'];
+
+    $data['src'] = 1;
+    $data['sra'] = 1; // reattempt failed payments
+  }
+  if(isset($data)){
+	foreach ($data as $name => $value) {
+	  if (!empty($value)) {
+		$form[$name] = array(
+		  '#type' => 'hidden',
+		  '#value' => $value,
+		);
+	  }
+	}
   }
 }
 
