I have a database that has billing info (including cc number), the date of the first payment, how much they've paid, a billing amount, a recurring interval (some users are billed every week, some every two weeks, or every 30 days), how many times it needs to be billed, and how many times they've been billed. The script needs to bill at the correct interval in the database for each user.
I need somebody that will build a script that processes the credit card number from the database, and if the cc processes, update the amount of payments, and update how much they've paid in total. If the credit card gives an error, i need it to shoot off a basic email to us using mail(), and put the user's account on hold.
Our version is php 4