Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About jfreak53

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. So I just upgraded to 7.1.0 and the new version won't let me move widgets around to order them as I please as in older versions. What gives? It's such a simple feature why on earth would WHMCS remove this?
  2. There's only one token in WHMCS, it's "the" token used to authenticate that you actually came from a WHMCS page. - - - Updated - - - It's referred to in templates as '$csrfToken'. But that variable doesn't exist in global nor in $vars. Nor is it stored in the SESSION or COOKIES it seems.
  3. Microtronix is proud to announce the launch of our brand new WHMCS Module Quick Menu! WHMCS is great, but it lacks one single great feature that would make it awesome for everyone. A customize-able menu!! Like it our not most of us have 5 or 10 things we do every day in a certain order in WHMCS, and 90% of the time we go to those same pages over and over throughout the day. Our quick menu solves this problem, instead of wandering through endless menu's and sub-menus, we have added a menu that just appears in any DIV you want!! It works with any template, simply tell it the ID of the DIV you want it to pre-pend itself to and WALLAH! It's there! Quick and dirty it gets the job done and lets us see and get to easily the most used menu items in WHMCS. Have a quick peak here: Simple enough . Configuration is very easy as well, simply tell it the ID of the DIV you wish to pre-pend it to and give it the list of your links and your off! Link adding is a simple syntax: Link Name===linkurl.php?id=myID Simple as that! A new line creates a new link and so on and so forth. You may download here: link It's a quick $3.95 one-time fee and you get the source on top of everything!!!
  4. How exactly do I get the current token? I have tried $_SESSION['tkval'] but this is not the current correct token string value.
  5. Eww, that's an idea, I never thought about that. I've used PHPMailer before, but what is the class in WHMCS that I am using to create a new PHPMailer object?
  6. I'm looking for a way to send an email using the internal email system of WHMCS but to outside email addresses from a module. I have looked at the API calls: Send Email Send Admin Email But those do not allow me to specify to what email address I want to send to. I am not sending to an admin or to a customer. This is a custom internal module for sending support to our DC techs, hence there is no admin user. So I need to specify the to email and preferably the from email.
  7. Is there anyway to disable customers from changing their default gateway?
  8. I too have this problem, it's not Chrome though, it's TinyMCE. WHMCS needs to fix this or go for a more robust editor than TinyMCE. Everyone else uses CKEditor or others. I personally would prefer to be allowed to enable Markdown editing for mass mailing. At any rate, the problem, as I just found, is easily fixable. But still annoying none-the-less. Simple click on the HTML icon, copy your HTML code. Paste it into Notepad (Mousepad on Linux) then copy and paste back into the HTML screen in TinyMCE. Once done click Update. Run a quick preview of the message first, if there are no funny characters then you're good to go. Again, TinyMCE problem not WHMCS but they really need to look at other editors.
  9. Microtronix has a new Admin Module for WHMCS that allows you to lookup BitPay transactions and display the transaction information right inside WHMCS without logging into BitPay. This addon Module also comes with an admin Dashboard widget that will display your recent transactions, recent sweeps AND your current account Balance right within WHMCS! You will need your BitPay API Key for this module to work. The price of this module is only $9.95 one-time fee, and it comes complete with source! Order this module now by following this link. Screenshots:
  10. Figured out how to do this myself using the guide here: http://somephpstuff.****************************************************/2011/11/how-to-access-whmcs-credit-card.html Basically I have to do two things. One, manually save the CC details to the Database myself when I get them back from the processor, making sure to encrypt them using the salt, and AES_ENCRYPT from MySQL. Once that's done, then secondly I have to create a _capture function "AS WELL" as the _link function from before. WHMCS allows both _capture and _link to exist in one Module. Problem is when you activate a payment module WHMCS checks your code to see if you have a _capture or _link command in it, then it sets the DB to either CC or Invoices, Invoices being for third party gateways. The trick was to de-activate my payment module, add the _capture function before the _link function in my code, then re-activate the payment module. (Or just manually change Invoices to CC in the tblpaymentgateways table in the DB) This then set the DB to CC instead of Invoices. The _link function still works alongside the _capture function as long as the _capture function comes before the _link. So in this way when someone goes to the Invoice in the client view it shows them what is under the _link function. But the cron and from the backend view invoice the "Attempt Capture" now works if the CC information is saved. The final code I used to the save the CC information in my callback file was: $hashed = md5($cc_encryption_hash.$cusid); mysql_query("UPDATE tblclients SET cardnum = '', startdate = '', expdate = AES_ENCRYPT('{$response[sAVED_PMT_EXPDATE]}', '$hashed'), issuenumber = '', gatewayid = '{$response[sAVED_PMT_REF]}', cardtype = '".ucfirst(strtolower($response['SAVED_PMT_TYPE']))."', cardlastfour = '{$four}' WHERE id = {$cusid} LIMIT 1"); This correctly encrypts and then saves to the DB the correct CC information for later Capturing. Effectively allowing me to use both _capture and _link in the same payment module. So a third party gateway with CC capture functionality. - - - Updated - - - It would really be nice if WHMCS would tell people in their documentation that they can do this and use both _capture and _link in the same module file. It would of saved me hours of work.
  11. We are making a module for a payment gateway that is a third party gateway, CC information is entered on the gateways site not WHMCS. The gateway however allows us to store CC information in a form of subscription type for future payments. Then returns to us a Token and the last 4 digits of the CC that we must use for future requests. It returns this info to the callback file. According to WHMCS documentation though Token storage only works with Capture/Merchant solutions. http://docs.whmcs.com/Gateway_Module_Developer_Docs#Tokenised_Remote_Storage Is there any way to make token storage work with Third Party gateways that anyone knows of? Short of manually entering the Token into the 'tblclients' table manually, which it seems the information is encrypted. Not sure in what form they encrypt or we could do it manually. But then manually I think we would have the problem of _capture vs. _link which we use now. Any thoughts?
  12. Aha!! Perfect! Thank you very much for that help. I never knew that Widgets had to be selected for Roles to be displayed. Thanks for the help
  • 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