Jump to content

servetas

Member
  • Posts

    39
  • Joined

  • Last visited

  • Days Won

    1

servetas last won the day on January 28 2016

servetas had the most liked content!

About servetas

Recent Profile Visitors

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

servetas's Achievements

Member

Member (2/3)

2

Reputation

  1. So, I have added two extra product config options for a server product that I have. These two options refer to the IPs purchased by the client and the control panel. As you may know, panel and ip providers charge you monthly. This means that at the beginning of the month, I am required to pay WHMCS (for example) without the ability to cancel and get my money back for the rest of the month if I cancel at the middle of that month. The same happens with these product addons. The client is able to update his configurable options and remove his panel or reduct his IPs and get his money back. That's not right of course as any changes should not be refundable. How can we handle that? Is there any hook that I can use to interfer and update the products pricing before the upgrade invoice gets generated?
  2. For the login page, the logo is on your whmcs directory/assets/img/whmcs.png. Regarding the dashboard, which admin dashboard are you using?
  3. So, I come back with the same issue run on 7.4.1. I am using the code below but the paymentbutton of the invoice is not updated: function custom_bank_gateway_text($vars) { global $details; global $_LANG; if ($vars['filename'] == 'viewinvoice' && $vars['status'] == 'Unpaid' && $vars['paymentmethod'] == 'Bank Transfer') { return array("paymentbutton" => "Hello User!"); } } add_hook('ClientAreaPage', 5, 'custom_bank_gateway_text'); The payment button keeps showing the bank details section that has been set on WHMCS admin center.
  4. Hello All, I am trying to following part of code within the viewinvoice page but the paymentbutton is not updated. Is the smarty->assign option still supported? <?php function custom($vars) { global $smarty; if ($vars['filename'] == 'viewinvoice' && $vars['status'] == 'Unpaid') { $smarty->assign('paymentbutton', "BG"); } } add_hook('ClientAreaPage', 1, 'custom'); ?> The hook seems to run but the paymentbutton is not updated. Does anyone have the same issue? How can we update the paymentbutton?
  5. can you do a var_dump of the $parsedLine before sending the email?
  6. Hello, I have created a module which runs something when "InvoiceCreated" hook runs. I have noticed that the hooked function does not run when invoices are getting created by my system's cronjob. The same function runs hooked on the "InvoiceChangeGateway" without issues. Could you please let me know if the InvoiceCreated runs when invoices are getting created automatically from the cronjob? For testing reasons, I have added a "mail()" inside this function to troubleshoot the issue. The email is sent when I change the invoice's payment gateway or when an invoice is getting created during the initial order but it is not sent when invoices are getting created by the cron job. If there anyone else who might has come up with this issue?
  7. Hello, I am having an issue with the domain transfer process. As soon as a client transfers his domain name, the domain name gets renewed while this is not what we want. Could you please let me know what the issue can be? I checked my registrar's module and the "TransferDomain" function has been developed and the only call that is included is a call to their api to "changeregistrar" while RenewDomain function includes a call to their api to "domainupdate".
  8. I am using Licensing addon and I have created a ClientAreaProductDetailsOutput hook. While the returned HTML is working for the rest of the products (hosting accounts etc), the HTML is shown as code in the licensing product. Has anyone have the same problem?
  9. Why did you put | at the beginning of the cron job command? Can you try using this? php -q /home/username/public_html/clients/crons/pipe.php
  10. Make the following changes in the "my.ini/my.cnf": -Look for the following line: sql-mode = "STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" -Change it to: sql-mode="" (Blank) -Restart the MySQL service.
  11. I would suggest your client to get in touch with PayPal customer support or bank directly.
  12. As far as I know, no key is requested for validation by whmcs. WHMCS directly offers a validation url using {$pw_reset_url} .
  13. Hello Dimitra, Do you receive any error when you add the product to your cart? Do you have any problem adding to your cart any other product? Have you enabled any stock limit?
  14. Is there any email redirection between these two emails? Can you see the emails sent to whmcs-support@domain.com on the email's inbox?
×
×
  • 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