View Single Post
Old 10-28-2008, 07:06 PM
  jazzerman's Avatar 
jazzerman jazzerman is offline

Join Date: Aug 2006
Location: Ontario, Canada
Posts: 14

Question Re: Subscription payments based on initial pay date:

I too get the error message;

Warning: Invalid argument supplied for foreach() in /home/paultobey/store/admin/autopay_subscriptions_test.php on line 77

When using the url;<your key here>&charge=1

The mod file is;

76. if($charge){
77. foreach($pending as $p){


When using URL;<your key here>

(without key=<you key here>)


Date: 10.28.2008
Pending Charges...
Last Charge Next Charge Login ProductID Price
10.28.2008 11.28.2008 jazzerman test recurring piano lessons 0.01

So, does that mean the mod worked or not?


Even if the mod is working, how to I modify it to do recurring billing on a weekly basis from initial pay date? Currently it looks like this mod will only work on a monthly basis.

I'm not much of a programmer as you can tell, but any help would be appreciated.

Thanks in advance.
Version x-cart-4[1].10
Reply With Quote