Jump to content

Nanox Devz

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Nanox Devz

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi! How I can check WHMCS Session outsite WHMCS PAGE? I have an simple .php page that are located outside whmcs, the whmcs i have installed on subdomain, so I would like to know how on that .php file I can validate if the user have signed in on whmcs or not THanks
  2. How I can create the session on external page? Thanks
  3. Hi! I'm using the domain pricing table whmcs feeds, all working fine, but i have one question, my website is multi lang, and I want that the feed come with language I have tried whmcs-patch.com/feeds/domainpricing.php?currency=1&language=portuguese-pt and not working Thanks
  4. Hi! Im developing one Payment gateway module, but im facing one issue I cant get the client currency i have the file module.php on modules/gateway/ and on that file i have the Gateway Params and function module ($params) On the function module($params) i have the postfield and $currency params, here the module get the currency well The Postfields send to another page that are located on public_html/ gateway.php The problem that im facing in on that file gateway.php on that fle I have ?php use WHMCS\ClientArea; use WHMCS\Database\Capsule; use WHMCS\ModuleApi\ModuleApiCall as ModuleApiCall; use WHMCS\ModuleApi\GatewayVars as GatewayVars; define('CLIENTAREA', true); $baseDir = realpath(__DIR__); if (file_exists(__DIR__ . '/init.php')) { require_once __DIR__ . '/init.php'; } if (file_exists(__DIR__ . '/includes/gatewayfunctions.php')) { require_once __DIR__ . '/includes/gatewayfunctions.php'; } if (file_exists(__DIR__ . '/includes/invoicefunctions.php')) { require_once __DIR__ . '/includes/invoicefunctions.php'; global $whmcs; global $_LANG; On that file i want get the Client currency it, i have tried, but not sucess, on that file im able to get the $gatewayParams the paratemers fields of the Gateway $currency = $whmcs->get_req_var('currency'); $clientcurrency = $params['clientdetails']['currency']; Thanks
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated