0

Hi. I building a site that users pay through paypal to insert data and would have to pay every month in order to store and display that data. I don’t want to delete the data if they don’t pay, just prevent it from being displayed on a non-restricted page. Almost like Ebay displays users data for a limited time (say 3 days) but the user can relist the item again for a small fee. I’m really not looking for a detailed answer but anything that can point me in the right direction. Thanks

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by network18
0

Hi. I building a site that users pay through paypal to insert data and would have to pay every month in order to store and display that data. I don’t want to delete the data if they don’t pay, just prevent it from being displayed on a non-restricted page. Almost like Ebay displays users data for a limited time (say 3 days) but the user can relist the item again for a small fee. I’m really not looking for a detailed answer but anything that can point me in the right direction. Thanks

you will need to execute the cron scheduled to execute daily, which will check if there is any data whose creator user has not paid and has been passed three days.
So you will just set the flag or status as "inactive" or "unpublish" against that data.

0

you will need to execute the cron scheduled to execute daily, which will check if there is any data whose creator user has not paid and has been passed three days.
So you will just set the flag or status as "inactive" or "unpublish" against that data.

Thanks.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.