Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
Marie

Expiry Of Subscription

Recommended Posts

If I wanted to automatically send an email to one of my subscribers to let them know that their subscription had expired or was about to expire, would that be part of the IPN code?

Share this post


Link to post
Share on other sites

I don't think so (unless PayPal sends such notices to IPN endpoints; I don't think they do, but I could be wrong). I'd have an automated system (like a cron) check your database on a daily basis and send out emails accordingly.

Share this post


Link to post
Share on other sites

Okay thanks. I don't know what a cron is exactly but my question was answered. In other words I do not set up a script for this within the current structure of the website.

Share this post


Link to post
Share on other sites

Sorry, no, you *would* create a script within the structure of the site that looked for forthcoming expiring subscriptions. You'd then create a cron--a service that does a task on a set schedule--to invoke that script every day. If you're using PayPal, however, you should first see if PayPal doesn't do this automatically for you (I don't think they do, but it's worth checking). 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...