Jump to content


Photo

Recurring Payments


  • Please log in to reply
5 replies to this topic

#1 TJMAudio

TJMAudio
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 08 August 2006 - 10:24 AM

How would I go about accepting a credit card payment for $5.99, and giving someone 1 year's worth of access?  How would I check to verify the year is up when it is?

Thanks :)
:: My Site ::
Feel free to critique...

#2 xyn

xyn
  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

Posted 08 August 2006 - 10:26 AM

Paypal?

#3 TJMAudio

TJMAudio
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 08 August 2006 - 11:02 AM

Paypal?

No.
:: My Site ::
Feel free to critique...

#4 king arthur

king arthur
  • Members
  • PipPipPip
  • Advanced Member
  • 335 posts
  • LocationUK HQ

Posted 08 August 2006 - 11:16 AM

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.
Sir Isaac Newton said "If I have seen farther, it is by standing on the shoulders of giants". But it is not recorded as to whether he said it before or after he was hit on the head by a falling apple.

#5 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 08 August 2006 - 11:28 AM

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...
follow me on twitter @PHPsycho

#6 TJMAudio

TJMAudio
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 08 August 2006 - 06:20 PM

What are the best methods of accepting payment, besides PayPal?
:: My Site ::
Feel free to critique...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users