Jump to content

Module Help - Payment Gateway - License addon WHMCS Use.


aponte_alex

Recommended Posts

Hello friends, as they are? I hope very well.

I am making a payment gateway module using the module WHMCS licenses to license the use of it, and it works perfect but when I would enter the customer's license at $ configArray = array you can display the status of your license after you save the information.

I made ​​it work using these lines of code:

 

Show license info Array

		"registeredname" => array(
		"FriendlyName" => 
		"License Registered To", 
		"Description" => $results['registeredname']),

   	"email-license" => array(
	    "FriendlyName" => "License Registered Email",
		 "Description" => $results['email']
	),
	"nextduedate" => array("FriendlyName" => "License Due Date", "Description" => $results['nextduedate']),




"statusl" => array("FriendlyName" => "License Status", "Description" => $results['status']),

 

And its works then before this code i entry:

 

$gtwLicense    = "TEST-AS-416f93ee7ba22d222769d014f";
$results = modulename_cl($gtwLicense);

 

I would use the license income in the client:

        "md_license" => array(
           "FriendlyName" => "Licencia",
           "Type" => "text",
           "Size" => "20",
           "Description" => "Licencia otorgada por Aponte Systems"
       ),

 

I think to use this code:

 

    $gtwLicense    = $params['md_license'];
$results = modulename_cl($gtwLicense);

 

but isent works... can you help me??

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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