Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Mary Ann Wellington Friend
    #182029

    Hi,

    I have a PAID package to browse for resumes. I’m using sandbox Paypal to test payment process. The payment works and I receive the Order confirmation:

    ——
    We will manually credited your order to your account as soon as your payment is marked as completed so that you can then use your available balance to post your job advertisment(s) to …

    ========================
    ORDER DETAILS
    =========================
    Order ID: #192
    Receipt ID: #0W9314891A013712M
    Item Name: Search Resume – One day
    Price: 30
    Status: Completed
    Payment Method: Paypal or Credit Card
    ——

    However, after the payment is confirmed (Completed) and so on, the employer cannot search for resumes. It sould be updated automatically, no? or do I have to manually do something?, where?

    Mary Ann Wellington Friend
    #472204

    I manually edited Search resume dates at the Employer profile through the admin. But I think that it should be automatically updated if the payment is in status Completed.

    coronapro Friend
    #472211

    I had a similar problem with publish resume, which led me to fix the origin of you problem as well, it does require editing php code:

    modifying the php code in /components/com_jajobboard/helper/jafunctions.class.php:

    Change lines 1707-1722 from:

    [PHP]
    if(isset($vars->end_date_search_resume)) {
    if($revert) {
    if(jaCompareDate($vars->end_date_search_resume, $currDate) > 0) {
    $vars->begin_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->begin_date_search_resume . ‘ -‘.$plan_item->value.’ day’));
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->end_date_search_resume . ‘ -‘.$plan_item->value.’ day’));
    }

    } else {
    if(jaCompareDate($vars->end_date_search_resume, $currDate) < 0) {
    $vars->begin_date_search_resume = $currDate;
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($currDate . ‘ +’.$plan_item->value.’ day’));
    } else {
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->end_date_search_resume . ‘ +’.$plan_item->value.’ day’));
    }
    }
    }
    [/PHP]

    to

    [PHP]
    if(isset($vars->end_date_search_resume)) {
    if($revert) {
    if(jaCompareDate($vars->end_date_search_resume, $currDate) > 0) {
    $vars->begin_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->begin_date_search_resume . ‘ -‘.$plan_item->value.’ day’));
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->end_date_search_resume . ‘ -‘.$plan_item->value.’ day’));
    }

    } else {
    if(jaCompareDate($vars->end_date_search_resume, $currDate) < 0) {
    $vars->begin_date_search_resume = $currDate;
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($currDate . ‘ +’.$plan_item->value.’ day’));
    } else {
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($vars->end_date_search_resume . ‘ +’.$plan_item->value.’ day’));
    }
    }
    } else {
    $vars->begin_date_search_resume = $currDate;
    $vars->end_date_search_resume = date(‘Y-m-d H:i:s’, strtotime($currDate . ‘ +’.$plan_item->value.’ day’));
    }

    [/PHP]

    This will add a condition for when end_date_search_resume is not set.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  coronapro 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum