Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • environc Friend
    #183858

    Hi,

    When employer clicks “Buy Subscription” on employer menu and selects subscription then proceeds to checkout, employer can no longer cancel the checkout process. The Employer menu doesn’t show anything except Payment To Complete Your Register. When you click on this link, you go back to the checkout page. So the employers is basically locked out of the account. How can employers cancel a subscription if the no longer want to continue with it?

    Regards
    .

    HeR0 Friend
    #479795

    Hi Environc,

    Please open file modules/mod_jajobboard_menu/helper.php and find query string

    $query = "SELECT a.id AS transactionid, a.completed, b.id as subscriptionid, b.duration, b.units, a.created_date, a.processed_date, a.user_id
    FROM #__ja_transactions a
    INNER JOIN #__ja_subscriptions b ON a.product_id = b.id
    WHERE a.user_id = ".$user->id."
    AND a.product_type = 'S'
    AND ( ISNULL(a.reason) OR a.reason <> 'Reverse' )
    ORDER BY a.id DESC LIMIT 1";

    replace it to

    $query = "SELECT a.id AS transactionid, a.completed, b.id as subscriptionid, b.duration, b.units, a.created_date, a.processed_date, a.user_id
    FROM #__ja_transactions a
    INNER JOIN #__ja_subscriptions b ON a.product_id = b.id
    WHERE a.user_id = ".$user->id."
    AND a.product_type = 'S'
    AND a.complete = 1
    AND ( ISNULL(a.reason) OR a.reason <> 'Reverse' )
    ORDER BY a.id DESC LIMIT 1";

    Hope this helps.

    Regards

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

This topic contains 2 replies, has 2 voices, and was last updated by  HeR0 11 years, 10 months ago.

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