hai all, i am working on a project, my project have 3(bronze, silver, gold) types of payments, payments are done through the paypal the expiry date is one month. if user reach the expirydate we must send email to him, after expirydate is passed his payment type change to bronze(it is free, no price to register), is it possible? if anybody having idea. please guide me.
raju_boini525 0 Junior Poster in Training
Recommended Answers
Jump to PostRun a cron job every day/night. Check if the date saved in the table has passed expiry date.
If yes,
send mail,
update the table with relevant changes.
If no,
do nothing.
Jump to PostSorry, I don't have any example/material to explain. Please ask your system admin or do a search in google. That will probably show you the right direction.
Jump to Postyou forget about the automatic things.
YOu simply write script to check records where current date is greater than expiry date in user table.
then for those records send mail to user and update their status from gold to bronze.AFter you complete this script tell your administrator or …
All 11 Replies
finito 46 Nearly a Posting Virtuoso
nav33n 472 Purple hazed! Team Colleague Featured Poster
raju_boini525 0 Junior Poster in Training
nav33n 472 Purple hazed! Team Colleague Featured Poster
almostbob 866 Retired: passive income ROCKS
raju_boini525 0 Junior Poster in Training
finito 46 Nearly a Posting Virtuoso
SKANK!!!!! 5 Posting Pro in Training
raju_boini525 0 Junior Poster in Training
urtrivedi 276 Nearly a Posting Virtuoso
SKANK!!!!! 5 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.