Hi John,
The code work great.
Just one more question. How do I change the "Upgrade date" to the date of pay_date plus the listing plan period. For example:
If I renew the listing plan that has 10 day period on October 1, 2013, then the listing will "active till" October 11, 2013.

I try to change this part:

Code:
Only registered members can view the code.

Code:
Only registered members can view the code.
But for some reasons, the "active till" date didn't show as October 11, 2013, but October 21, 2013, which is exactly double the period of that 10 days listing. I have tried with other plans and various periods, still showing double the listing period.