ptomter Posted March 23, 2021 Share Posted March 23, 2021 We try to get the params ($gatewayParams) for a custom payment gateway but it returns nothing, any ideas what may cause this? Its a clean development whmcs installation. We can print the params for any other module but not this one. Any thoughts / ideas what may be the issue? $gatewayModuleName = 'netpayment'; try{ $gatewayParams = getGatewayVariables($gatewayModuleName); }catch(Exception $e){ echo $e->getMessage(); } echo "<pre>"; print_r($gatewayParams); exit; 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 23, 2021 Share Posted March 23, 2021 Sometimes whmcs will hide PHP errors. Did you include the "includes/registrarfunctions.php" file to get that function and check that the function exists? Does that <pre> output at all? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.