--- original/ec_recurring.module	2007-08-01 02:55:34.000000000 -0500
+++ new/ec_recurring.module	2008-05-22 21:34:29.000000000 -0500
@@ -2115,7 +2115,7 @@ function ec_recurring_token_values($type
     
     $values['recurring-expiry-date']    = format_date($entry['start_time'], 'medium', '', $timezone);
     $values['recurring-time-to-expire'] = format_interval($entry['start_time'] - time());
-    $values['recurring-renewal-url'] = url("store/renew/{$product->nid}/{$txn->txnid}/{$txn->token}", NULL, NULL, TRUE);
+    $values['recurring-renewal-url']    = url("store/renew/{$entry['nid']}/{$txn->txnid}/{$txn->token}", NULL, NULL, TRUE);
   }
   
   return $values;
