Club membership?

Sep 25, 2009 at 2:46 PM

Does this support a recurring payment for something like a club membership?  Any suggestions on how one might go about this.

Thanks,

Trevor

Coordinator
Sep 25, 2009 at 9:06 PM

Hi Trevor,

 

Unfortunately, LinqCommerce doesn't support this functionality. You need to use PayPal Website Payments Standard:

https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/library_documentation#wps

You basically send a bunch of parameters to a pay pal url, just like I did in ~LinqControls/ControlTemplates/LinqShoppingCart.ascx.cs using PayPal's subscription program. Using IPN, which is how PayPal contacts your site when the order is done, update the user's profile. I'd recommend passing "&Custom=" + Profile.UserName in the url, then using the Profile API to update the user's SubscriptionDate:

<add name="SubscriptionDate" type="System.DateTime"/>

-Joe