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;
www.yourdomain.com/xcart/admin/autopay_subscriptions.php?key=<your key here>&charge=1
The mod file is;
76. if($charge){
77. foreach($pending as $p){
BUT;
When using URL;
www.yourdomain.com/xcart/admin/autopay_subscriptions.php?key=<your key here>
(without key=<you key here>)
I GET THIS;
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?
QUESTION
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.
|