Jump to content

Momed Jussub

Senior Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Momed Jussub

  • Rank
    Junior Member

Recent Profile Visitors

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

  1. Momed Jussub

    WHMCS Feeds

    How I can create the session on external page? Thanks
  2. Momed Jussub

    WHMCS Feeds

    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
  3. Momed Jussub

    Payment Module

    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
  4. Welcome to WHMCS.Community Momed Jussub! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×

Important Information

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