I just wanted to say thanks to Andy for this great plug-in. It works very well and is pretty straight forward and simple. I've seen some questions about trial periods and renewals and such, so I thought I'd share what I have done.
First, I create a date called 'Purchase_Date', and put the date the link was purchased in it. Next, I added a renewal link to the modify page so the LinkOwner can buy a renewal whenever they want. If they buy before it expires, we add a free 30 days. The way this is implemented is a bit of a hack, but it works.
When someone goes to renew, we pass the LinkID and return page forms to the secure server as the response page. After a successful transaction, a page is loaded that contains all the hidden links needed to upgrade their link listing. For the Purchase date we use this:
<input type=hidden name="Purchase_Date" value="<%GT::Date::date_add($Purchase_Date,'395')%>">
which automatically adds the 30 days on top of a year's subscription.
Hope that helps,
Bryan
P.S. Andy, is there a log file that I can find that tells me what was emailed out overnight? I know the flags should change, but I was wondering if the mailing generates any records?
First, I create a date called 'Purchase_Date', and put the date the link was purchased in it. Next, I added a renewal link to the modify page so the LinkOwner can buy a renewal whenever they want. If they buy before it expires, we add a free 30 days. The way this is implemented is a bit of a hack, but it works.
When someone goes to renew, we pass the LinkID and return page forms to the secure server as the response page. After a successful transaction, a page is loaded that contains all the hidden links needed to upgrade their link listing. For the Purchase date we use this:
<input type=hidden name="Purchase_Date" value="<%GT::Date::date_add($Purchase_Date,'395')%>">
which automatically adds the 30 days on top of a year's subscription.
Hope that helps,
Bryan
P.S. Andy, is there a log file that I can find that tells me what was emailed out overnight? I know the flags should change, but I was wondering if the mailing generates any records?