Jump to content

jfreak53

Level 2 Member
  • Content count

    48
  • Joined

  • Last visited

Everything posted by jfreak53

  1. jfreak53

    Moving widgets on 7.1.0

    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. jfreak53

    Send Emails from Modules

    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.
  3. The link doesn't work, I get a 404 error on it every time.
  4. Does your module support Coinbase' subscription feature?
  5. jfreak53

    Token Locating

    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.
  6. jfreak53

    Token Locating

    How exactly do I get the current token? I have tried $_SESSION['tkval'] but this is not the current correct token string value.
  7. jfreak53

    Token Locating

    Addon module.
  8. 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!!!
  9. jfreak53

    Send Emails from Modules

    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?
  10. jfreak53

    Disable gateway change

    Is there anyway to disable customers from changing their default gateway?
  11. jfreak53

    Send Message Error - 5.3.10

    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.
  12. 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:
  13. 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.
  14. 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?
  15. I've enabled API and the PayPal Transaction Lookup Addon. I know the API commands are working as I can go to the Addon page and lookup any transaction and it brings up the info, so the API must work. But when I go to the home page of my super admin I don't see the PayPal balance there anywhere. I have it configured for my user fine it seems: http://i.imgur.com/OY3URp2.png So why doesn't it show my PP balance on the Admin Home Page for my user?
  16. jfreak53

    PayPal Transaction Lookup Problem

    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
  17. jfreak53

    PayPal Transaction Lookup Problem

    I'm using the one that comes with WHMCS, but it looks to me to be the same as the SS you just sent:
  18. Microtronix has released a new module that allows you to disabled fraud checking on certain payment methods. This allows you, for instance, to not check for fraud for new orders that are bank depositing or paying using bitcoins. Once installed you select the payment method to disable fraud check on, it's as simple as that. Once selected and the module is turned on all future orders placed that choose that payment method will NOT run through the fraud checking system. This module works with all fraud systems WHMCS supports. Price: $9.95 one-time Order by following the link here: Order Now
  19. jfreak53

    Module and Hook - get module config

    Nevermind, found it in another module with hooks. Gotta grab it manually from DB using something like: $q = @mysql_query("SELECT * FROM tbladdonmodules WHERE module = 'moduleName'"); while ($arr = mysql_fetch_array($q)) { $settings[$arr['setting']] = html_entity_decode($arr['value']); } I also noticed I posted this in the wrong place, an admin can move please. Maybe this can serve someone else in the future to grab module settings for hooks. Thanks.
  20. How do I grab the module config from inside it's hook? I was looking through the documentation and couldn't find it anywhere. Basically I have a module with basic config options; option1, option2, option3 Then inside the hooks.php file I want to grab these config options. But I'm not finding this in the documentation anywhere.
  21. No where in the documentation does it say whether this hook TicketAdminReply returns anything: http://docs.whmcs.com/Hooks:Support_Tickets I'm trying to have a way for this hook to change the admin user replying to a ticket. But I can't see if this or another hook returns anything changeable.
  22. jfreak53

    TicketAdminReply hook, does it return anything

    Not working either, unfortunately that runs on the templates for emails and not on the ticket text sent. So it won't grab the variables in the ticket text during reply. I tried this and it won't replace it before sending the email:
  23. jfreak53

    TicketAdminReply hook, does it return anything

    Aha! Let me give it a try then.
  24. jfreak53

    TicketAdminReply hook, does it return anything

    Thanks, that works but the problem I'm having now is that the email is sent before the hook is activated, so my DB changes don't take affect but on the site. Back to the drawing board then thanks. - - - Updated - - - It also seems that it keeps updating the 'admin' column after my hook runs as no matter what I place there in that column it still keeps the posting user. - - - Updated - - - Scratch the second, I found the problem with the second not updating. But it's still sending email before the hook.
  25. Microtronix Disable Ordering - WHMCS Addon Module Microtronix Disable Ordering will keep any new orders from coming through from the client side. This is very helpful if you desire to disable new orders during maintenance, or your entire sales staff is having a day long conference and you do not want new orders processed during that time. Very simple module to use, simply go into the backend admin to the Addon Modules config screen, click configure next to our module then check the disable orders checkbox and save. Simple, new orders from current and new clients are disabled until unchecked! A simple message to clients is displayed upon final checkout letting them know new orders are disabled for the time being. NOTE: This will not prevent users from paying due invoices, only new orders will not be processed. Price: $3.35 ONE TIME FEE!! - Purchase Now No monthly or annual fees with this module, one time single fee and it's yours!
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines