Jump to content

Recurring Payments


TJMAudio

Recommended Posts

Work out what the date will be one year from now (or one year from the time they sign up). Store that in the database. Then every time they log in, check to see if today's date is greater than the time you stored in the database. If it is, their subscription has run out.
Link to comment
Share on other sites

I would simply record the date they subscribed and set up a cron job to run once a day that would:

a, if the current day is one week away from expiry of subscription, notify the user by email that they will be biled in 7 days time if they don't unsubscribe.
b, if they have not unsubscribed and the subscription date is a year passed then bill them once more.

Beauty of this is u set it up and never have to bother again until something crashes...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.