Jump to content

aliman

Newbie
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About aliman

  • Rank
    Junior Member
  1. no there is a third option.. develop it by my self with the help of the community. thanks BRIAN
  2. I'm very thankfull CHRIS, i have searched but i can't find, can you please advise me or suggest a module to handle this problem. Best regards
  3. Hello, we are managing shared, vps and dedicated service through our WHMCS, how can we specify a custom termination date for each service. in the default Automation Settings we have set Termination Days to 60 days, ideal for shared hosting, but for dedicated we need to specify only 5 days and for VPS 10 dayes. how can we do it ? Best regards
  4. Retirive order amount in complete page

    thank you Brian, unfortunately, as i forward directly to the payment gateway, I discovered that my complete order page is only the content of forwardpage.tpl so i can't use any hook !! any suggestion please ?
  5. Retirive order amount in complete page

    correct code is <?php add_hook('ShoppingCartCheckoutCompletePage', 1, function($vars) { /** * Redirect all orders to a different page after the order complete page is loaded. */ $amount = Capsule::table('tblinvoices')->select('total')->where('id', '=', $invoiceid)->get(); return $amount; });
  6. Retirive order amount in complete page

    thank you Brian, i have already used {debug} to get page variable, the popup shows that i can't get order amount, so i have tried to use ShoppingCartCheckoutCompletePage action hook as you said using this code in my hook: <?php add_hook('ShoppingCartCheckoutCompletePage', 1, function($vars) { /** * Redirect all orders to a different page after the order complete page is loaded. */ $amount = Capsule::table('tblinvoices')->select('name', 'email')->where('id', '=', $invoiceid)->get(); return $amount; }); but i get empty value.
  7. Retirive order amount in complete page

    any one can help !!!!!
  8. Hello, we are using whmcs V7 with SIX template, we are trying to retrieve the variable order amount (total) and show it on the complete order page, unfortunately we only can get invoiceid variable, can you please help me regards
  9. Hello aliman welcome & thank you for joining WHMCS.Community!  Please take a few minutes to review our 

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines