Jump to content

ST4R

Member
  • Posts

    45
  • Joined

  • Last visited

About ST4R

Recent Profile Visitors

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

ST4R's Achievements

Member

Member (2/3)

0

Reputation

  1. I realized that there is a difference between invoices paid with client credits and other payments (payments via payment gateways and manual payments). Both types of invoices have a status of "paid", but if they are automatically paid with client credits, some actions may not occur, such as adding affiliate commissions and recording the invoice payment in the income list...
  2. Hello everyone, I have noticed an issue with the WHMCS system regarding Affiliate referrals. When a user orders a product via an Affiliate link and pays for it using their account credit, the Affiliate's product status becomes active in the Referred Signups section, but the last paid value remains "never". Consequently, no commission is allocated to the Affiliate if the last paid value is "never". Only by selecting the "manual payouts" option, the commission is allocated to the Affiliate, but this method is manual and time-consuming, and it should be automated. How can this issue be resolved?
  3. Hello, I want the emails sent by WHMCS to be discarded and not sent anywhere. I am aware of the "disable global email" feature, but it prevents any emails from being logged, even within the WHMCS internal system. What I specifically want is for emails to be stored in the WHMCS database as usual, but without invoking the mail function in PHP. Thank you.
  4. I meant the second option, I did everything you told but after accepting the order and payin the invoice (and product status is active) in the product details page, the "Termination Date" is empty and no date is set!
  5. No sir you got me wrong. Lets say you are my customer You buy product A from me and the system will make 100 usd invoice as soon as you placed the order. If you pay the created invoice (100 usd) the system will automatically create the product A. the product A lasts just 30 Days! after 30 days it should be terminated automatically by the system.
  6. i cant edit my first message , i resend the edited one : Hello everyone, I've recently encountered an issue. I want to add products to WHMCS so that when a user orders them, an invoice is generated once, and if the invoice is paid, the services are terminated 30 days after. When I go to "Products/Services" and edit a product in the "Pricing" tab, setting the "Payment Type" to "One time" and "Auto Terminate/Fixed Term" to "30 days after provisioning," no termination date is set for the user's product. What could be the issue?
  7. Thank you It did solve my problem. Please consider my other topic :
  8. Hello everyone, I've recently encountered an issue. I want to add products to WHMCS so that when a user orders them, an invoice is generated once, and if the invoice is not paid, the services are terminated 30 days after. When I go to "Products/Services" and edit a product in the "Pricing" tab, setting the "Payment Type" to "One time" and "Auto Terminate/Fixed Term" to "30 days after provisioning," no termination date is set for the user's product. What could be the issue?
  9. hi there I want to get Credit Balance value shown on Client Profile (Admin Area) for an specific user id. I checked the api refrences and I got nothing! Also I tried to get it from database and again I got nothing! Someone please help me how can I get the last Credit Balance value for an user id?
  10. Hello, I need a hook for WHMCS that performs a specific action when an admin changes a user's status to "Closed". This action requires user ID and email information. However, I couldn't find such a feature in the documentation of hooks. After the changes, this log will be recorded (shown in admin area panel): Client Profile Modified - Status: 'Active' to 'Closed' - Client ID: 6 I would appreciate it if you could guide me on this.
  11. Hello friends, I have written a hook for WHMCS that saves each email sent to users as a file. However, this hook is not working, and the $vars array is empty and contains no values. Please guide me. <?php use WHMCS\User\Client; function emailSentHook($vars) { $directory = $_SERVER['DOCUMENT_ROOT'] . '/something/'; $email = $vars['to']; $content = $vars['message']; file_put_contents($email, $content); } add_hook('EmailPreSend', 1, 'emailSentHook');
  12. Hi Guys I tried to get yesterday date by smarty in template whmcs but it didnt work. {$smarty.now|date_format:"%d/%m/%Y"|strtotime:"-1 day"|date_format:"%d/%m/%Y"} can you please help me.
  13. the WHMCS System URL is set with https
  14. " I've updated the whmcs to the latest version. when a user wants to request a password reset, he will get stuck in loop and the following url will gets error 'too many redirects' https://whmcs-url/password/reset/login.php 1. cloudflare is enabled. ssl mode is set to full. 2. the friendly url is enabled in whmcs and the .htaccess file has been updated. 3. using the latest version of whmcs and six template. please 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