Jump to content

anup

Member
  • Posts

    13
  • Joined

  • Last visited

About anup

anup's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Anyone having issue with Internal API? It stop working after 7.2.2 update. Getting "Call to undefined function localAPI()" My Code: /** * WHMCS Sample Local API Call * * @package WHMCS * @author WHMCS Limited <development@whmcs.com> * @copyright Copyright (c) WHMCS Limited 2005-2016 * @license http://www.whmcs.com/license/ WHMCS Eula * @version $Id$ * @link http://www.whmcs.com/ */ // Define parameters $command = 'AddClient'; $postData = array( 'firstname' => 'John', 'lastname' => 'Doe', 'email' => 'john.doe@example2.com', 'address1' => '123 Main Street', 'city' => 'Anytown', 'state' => 'ST', 'postcode' => '12345', 'country' => 'US', 'phonenumber' => '800-555-1234', 'password2' => 'password', 'cardtype' => 'Visa', 'cardnum' => '4111111111111111', 'expdate' => '0721', 'clientip' => '1.2.3.4', ); $adminUsername = 'admin'; // Yes, the user name exist and assign to API permission.. $results = localAPI($command, $postData, $adminUsername); print_r($results);
  2. The format on the page YYYY-MM-DD HH:mm:ss never work for me. Only HH:mm:ss work. Can anyone confirm if I am wrong? WHMCS Version: 7.1.2 https://developers.whmcs.com/api-reference/addinvoicepayment/
  3. for batter understanding please read Configure security and authentication - google
  4. $openticket["clientid"] = $_POST['clientid']; $openticket["deptid"] = 3; $openticket["subject"] = $_POST['subject']; $openticket["message"] = $_POST['message']; $openticket["priority"] = $_POST['Medium']; $smartyvalues['values']['openticket'] = localAPI("openticket", $openticket, "APIUSERNAME"); every time i run this get this error "Name and email address are required if not a client". i can't understand the error any idea?
  5. I use {$reply.email} to get the email. so if anytime user change his email. profile picture remain same on old tickets.
  6. Just finished this, thought this might be the best place to share it. Demo: - Removed - Key: Use gravator for client profile pic. It is not possible to get admin email so admin profile is static.
  7. i think you remove whmcs css files from header.
  8. you can set it from General Settings >> Other >> Optional Client Profile Fields
  9. you must use <pre> <?php phpinfo(); ?> </pre> if you use <pre><?php phpinfo(); ?></pre> it will automatic convert to <pre><!--?php phpinfo(); ?--></pre>
  10. I submit some personal contact by mistake, now how can i undo this? and import not working
  11. Hello, How to solved the problem? http://d.pr/i/ysaS Everything is ok, just on pdf invoice.
  12. Hello, On 27 I update 5.0 to 5.1 everything work perfect but the database backups not work perfectly. a screenshot after download the backup http://d.pr/i/9Br4
×
×
  • 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