Jump to content

weba

Member
  • Content Count

    49
  • Joined

  • Last visited

Community Reputation

0 Neutral

About weba

  • Rank
    Level 2 Member
  1. Hi, Feels like something basic but cant find the answer. In a provision module I added a custom button with a hook action to the adminarea. The action does things and has some results I want to show after in a modal window on top of the admin area. How do I transfer the data from the action to the AdminAreaHeaderOutput hook ? I hope the explanation makes sense 😉 Michel
  2. Hi, I created a provision module and added in the corresponding product some custom fields for both admin and client and also only for the client. When te client orders the product only the custom fields for the client are created. I have to manually save the product in the admin area and only then the admin fields are created. Is there a way to create the admin fields (with empty values) as soon as the client fields are created too ? Of course I can program that but it feels like a bug 😉 Thx Michel
  3. Hi, We are busy making our whmcs development version ready for production and convert our old system to whmcs then. Within 2 months. We created some custom stuff ourself and also let some adjustment built by others. What we need is someone who can give advice, do some small programming now and in the future and can help if we have problems with whmcs. So this is a long term relationship. We will pay you the agreed hourly rate, just keep track of the hours spent. Please send a pm if you are interested. Best regards, Michel
  4. Hey Brian! Thx for the thinking but that did not solve it. Its not that I need todo something in the .tpl is it ?
  5. Hi, Adding a custom page is not that hard. I have this now the file testing.php in de main WHMCS directory and the testing.tpl file in the templatedirectory and it works. Except for the menu. Thats not visible, however no errors 😉 How can I get my (or a) menu visible on the custom page ? Am I forgetting something ? thx Michel <?php use WHMCS\ClientArea; use WHMCS\Database\Capsule; define('CLIENTAREA', true); require __DIR__ . '/init.php'; $ca = new ClientArea(); $ca->setPageTitle('testing'); $ca->addToBreadCrumb('index.php', Lang::trans('globalsystemname')); $ca->addToBreadCrumb('test.php', 'testing'); $ca->initPage(); Menu::addContext(); Menu::primarySidebar('supportKnowledgeBase'); $ca->setTemplate('testing'); $ca->output();
  6. Hi! Did you find any answers on this issue ?
  7. Invoices changing after being paid is not done that I agree. But I tested a lot of things now but haven't seen this myself but I do not use/test recurring paypal. It sounds like a bug of the paypal recurring module, not functionality. If no open invoices then add it to credits that would seem to be the right way.
  8. In the Netherlands adding funds is the same as selling a gift card. You do not add tax, you add tax the moment the funds or giftcards are used. I believe we are quite "civilized" 😉
  9. FYI; we are busy with implementing whmcs and plan to go live in 6 to 8 weeks. AddInvoicePayment does the trick (the difference is not well documented). New invoices automatic are paid with the credits but existing invoices not but thats another issue. In my country its no problem to use the overpayment as credits. Also the customer can use old invoice numbers to make payment through the bank to add to his credit for future invoices. We do not pay tax for the prepaid. balance but we do mention it in accounting.
  10. When I do the module create command in php I get a result back with a lot of data. I am not an experienced programmer, I know how to adjust things not much more 😉 How do I get to this field: 'name' => 'Basic Linux Hosting', The first ones I know; $vars['accountid'] But then with the model, table I am a bit lost. Who can point me in the right direction. array ( 'params' => array ( 'accountid' => 199889, 'serviceid' => 199889, 'addonId' => 0, 'userid' => '89300', 'domain' => 'test5.ddd.nl', 'username' => 'dddd', 'password' => '', 'packageid' => '23', 'pid' => '23', 'serverid' => 2211, 'status' => 'Active', 'qty' => '1', 'type' => 'hostingaccount', 'producttype' => 'hostingaccount', 'moduletype' => 'directadminExtended', 'configoption1' => '', 'configoption2' => '', 'configoption3' => '', 'configoption4' => '', 'configoption5' => '', 'configoption6' => '', 'configoption7' => '', 'configoption8' => '', 'configoption9' => '', 'configoption10' => '', 'configoption11' => '', 'configoption12' => '', 'configoption13' => '', 'configoption14' => '', 'configoption15' => '', 'configoption16' => '', 'configoption17' => '', 'configoption18' => '', 'configoption19' => '', 'configoption20' => '', 'configoption21' => '', 'configoption22' => '', 'configoption23' => '', 'configoption24' => '', 'customfields' => array ( ), 'configoptions' => array ( 'CGI Access' => '0', 'Addon Domains' => '1', ), 'model' => WHMCS\Service\Service::__set_state(array( 'table' => 'tblhosting', 'columnMap' => array ( 'clientId' => 'userid', 'productId' => 'packageid', 'serverId' => 'server', 'registrationDate' => 'regdate', 'paymentGateway' => 'paymentmethod', 'status' => 'domainstatus', 'promotionId' => 'promoid', 'promotionCount' => 'promocount', 'overrideAutoSuspend' => 'overideautosuspend', 'overrideSuspendUntilDate' => 'overidesuspenduntil', 'bandwidthUsage' => 'bwusage', 'bandwidthLimit' => 'bwlimit', 'lastUpdateDate' => 'lastupdate', 'firstPaymentAmount' => 'firstpaymentamount', 'recurringAmount' => 'amount', 'recurringFee' => 'amount', ), 'dates' => array ( 0 => 'registrationDate', 1 => 'overrideSuspendUntilDate', 2 => 'lastUpdateDate', ), 'booleans' => array ( 0 => 'overideautosuspend', ), 'appends' => array ( 0 => 'domainPunycode', 1 => 'serviceProperties', ), 'hidden' => array ( 0 => 'password', ), 'unique' => array ( ), 'guardedForUpdate' => array ( ), 'strings' => array ( ), 'ints' => array ( ), 'semanticVersions' => array ( ), 'commaSeparated' => array ( ), 'characterSeparated' => array ( ), 'rules' => array ( ), 'errors' => NULL, 'customValidationMessages' => array ( ), 'connection' => 'default', 'primaryKey' => 'id', 'keyType' => 'int', 'incrementing' => true, 'with' => array ( ), 'withCount' => array ( ), 'perPage' => 15, 'exists' => true, 'wasRecentlyCreated' => false, 'attributes' => array ( 'id' => '199889', 'userid' => '89300', 'orderid' => '283501', 'packageid' => '23', 'server' => '2211', 'regdate' => '2020-10-04', 'domain' => 'test5.dddd.nl', 'paymentmethod' => 'mollieideal_devapp', 'qty' => '1', 'firstpaymentamount' => '6.50', 'amount' => '6.50', 'billingcycle' => 'Quarterly', 'nextduedate' => '2021-01-04', 'nextinvoicedate' => '2021-01-04', 'termination_date' => '0000-00-00', 'completed_date' => '0000-00-00', 'domainstatus' => 'Active', 'username' => 'ddd', 'password' => 'DIaFAxiXRil7IIguHplREbbweZpMElrPZ09BHyXtKAb5eA==', 'notes' => '', 'subscriptionid' => '', 'promoid' => '0', 'promocount' => '0', 'suspendreason' => '', 'overideautosuspend' => '0', 'overidesuspenduntil' => '0000-00-00', 'dedicatedip' => '', 'assignedips' => '', 'ns1' => '', 'ns2' => '', 'diskusage' => '0', 'disklimit' => '0', 'bwusage' => '0', 'bwlimit' => '0', 'lastupdate' => '0000-00-00 00:00:00', 'created_at' => '0000-00-00 00:00:00', 'updated_at' => '2020-10-04 19:22:26', ), 'original' => array ( 'id' => '199889', 'userid' => '89300', 'orderid' => '283501', 'packageid' => '23', 'server' => '2211', 'regdate' => '2020-10-04', 'domain' => 'test5.ddddd.nl', 'paymentmethod' => 'mollieideal_devapp', 'qty' => '1', 'firstpaymentamount' => '6.50', 'amount' => '6.50', 'billingcycle' => 'Quarterly', 'nextduedate' => '2021-01-04', 'nextinvoicedate' => '2021-01-04', 'termination_date' => '0000-00-00', 'completed_date' => '0000-00-00', 'domainstatus' => 'Active', 'username' => 'vmddddixqxhc', 'password' => '', 'notes' => '', 'subscriptionid' => '', 'promoid' => '0', 'promocount' => '0', 'suspendreason' => '', 'overideautosuspend' => '0', 'overidesuspenduntil' => '0000-00-00', 'dedicatedip' => '', 'assignedips' => '', 'ns1' => '', 'ns2' => '', 'diskusage' => '0', 'disklimit' => '0', 'bwusage' => '0', 'bwlimit' => '0', 'lastupdate' => '0000-00-00 00:00:00', 'created_at' => '0000-00-00 00:00:00', 'updated_at' => '2020-10-04 19:22:26', ), 'changes' => array ( ), 'casts' => array ( ), 'classCastCache' => array ( ), 'dateFormat' => NULL, 'dispatchesEvents' => array ( ), 'observables' => array ( ), 'relations' => array ( 'product' => WHMCS\Product\Product::__set_state(array( 'table' => 'tblproducts', 'moduleField' => 'servertype', 'columnMap' => array ( 'productGroupId' => 'gid', 'isHidden' => 'hidden', 'welcomeEmailTemplateId' => 'welcomeemail', 'stockControlEnabled' => 'stockcontrol', 'quantityInStock' => 'qty', 'proRataChargeDayOfCurrentMonth' => 'proratadate', 'proRataChargeNextMonthAfterDay' => 'proratachargenextmonth', 'paymentType' => 'paytype', 'allowMultipleQuantities' => 'allowqty', 'freeSubDomains' => 'subdomain', 'module' => 'servertype', 'serverGroupId' => 'servergroup', 'moduleConfigOption1' => 'configoption1', 'moduleConfigOption2' => 'configoption2', 'moduleConfigOption3' => 'configoption3', 'moduleConfigOption4' => 'configoption4', 'moduleConfigOption5' => 'configoption5', 'moduleConfigOption6' => 'configoption6', 'moduleConfigOption7' => 'configoption7', 'moduleConfigOption8' => 'configoption8', 'moduleConfigOption9' => 'configoption9', 'moduleConfigOption10' => 'configoption10', 'moduleConfigOption11' => 'configoption11', 'moduleConfigOption12' => 'configoption12', 'moduleConfigOption13' => 'configoption13', 'moduleConfigOption14' => 'configoption14', 'moduleConfigOption15' => 'configoption15', 'moduleConfigOption16' => 'configoption16', 'moduleConfigOption17' => 'configoption17', 'moduleConfigOption18' => 'configoption18', 'moduleConfigOption19' => 'configoption19', 'moduleConfigOption20' => 'configoption20', 'moduleConfigOption21' => 'configoption21', 'moduleConfigOption22' => 'configoption22', 'moduleConfigOption23' => 'configoption23', 'moduleConfigOption24' => 'configoption24', 'recurringCycleLimit' => 'recurringcycles', 'daysAfterSignUpUntilAutoTermination' => 'autoterminatedays', 'autoTerminationEmailTemplateId' => 'autoterminateemail', 'allowConfigOptionUpgradeDowngrade' => 'configoptionsupgrade', 'upgradeEmailTemplateId' => 'upgradeemail', 'enableOverageBillingAndUnits' => 'overagesenabled', 'overageDiskLimit' => 'overagesdisklimit', 'overageBandwidthLimit' => 'overagesbwlimit', 'overageDiskPrice' => 'overagesdiskprice', 'overageBandwidthPrice' => 'overagesbwprice', 'applyTax' => 'tax', 'affiliatePayoutOnceOnly' => 'affiliateonetime', 'affiliatePaymentType' => 'affiliatepaytype', 'affiliatePaymentAmount' => 'affiliatepayamount', 'isRetired' => 'retired', 'displayOrder' => 'order', ), 'booleans' => array ( 0 => 'isHidden', 1 => 'showDomainOptions', 2 => 'stockControlEnabled', 3 => 'proRataBilling', 4 => 'allowConfigOptionUpgradeDowngrade', 5 => 'applyTax', 6 => 'affiliatePayoutOnceOnly', 7 => 'isRetired', 8 => 'isFeatured', ), 'strings' => array ( 0 => 'description', 1 => 'autoSetup', 2 => 'module', 3 => 'moduleConfigOption1', 4 => 'moduleConfigOption2', 5 => 'moduleConfigOption3', 6 => 'moduleConfigOption4', 7 => 'moduleConfigOption5', 8 => 'moduleConfigOption6', 9 => 'moduleConfigOption7', 10 => 'moduleConfigOption8', 11 => 'moduleConfigOption9', 12 => 'moduleConfigOption10', 13 => 'moduleConfigOption11', 14 => 'moduleConfigOption12', 15 => 'moduleConfigOption13', 16 => 'moduleConfigOption14', 17 => 'moduleConfigOption15', 18 => 'moduleConfigOption16', 19 => 'moduleConfigOption17', 20 => 'moduleConfigOption18', 21 => 'moduleConfigOption19', 22 => 'moduleConfigOption20', 23 => 'moduleConfigOption21', 24 => 'moduleConfigOption22', 25 => 'moduleConfigOption23', 26 => 'moduleConfigOption24', ), 'ints' => array ( 0 => 'welcomeEmailTemplateId', 1 => 'quantityInStock', 2 => 'proRataChargeDayOfCurrentMonth', 3 => 'proRataChargeNextMonthAfterDay', 4 => 'serverGroupId', 5 => 'displayOrder', ), 'commaSeparated' => array ( 0 => 'freeSubDomains', 1 => 'freeDomainPaymentTerms', 2 => 'freeDomainTlds', 3 => 'enableOverageBillingAndUnits', ), 'appends' => array ( 0 => 'formattedProductFeatures', ), 'pricingCache' => NULL, 'unique' => array ( ), 'guardedForUpdate' => array ( ), 'semanticVersions' => array ( ), 'characterSeparated' => array ( ), 'rules' => array ( ), 'errors' => NULL, 'customValidationMessages' => array ( ), 'connection' => 'default', 'primaryKey' => 'id', 'keyType' => 'int', 'incrementing' => true, 'with' => array ( ), 'withCount' => array ( ), 'perPage' => 15, 'exists' => true, 'wasRecentlyCreated' => false, 'attributes' => array ( 'id' => '23', 'type' => 'hostingaccount', 'gid' => '1', 'name' => 'Basic Linux Hosting', 'slug' => '', 'description' => '', 'hidden' => '0', 'showdomainoptions' => '1', 'welcomeemail' => '1', 'stockcontrol' => '0', 'qty' => '0', 'proratabilling' => '0', 'proratadate' => '0', 'proratachargenextmonth' => '0', 'paytype' => 'recurring', 'allowqty' => '0', 'subdomain' => '', 'autosetup' => 'payment', 'servertype' => 'directadminExtended', 'servergroup' => '1', 'configoption1' => '', 'configoption2' => '', 'configoption3' => '', 'configoption4' => '', 'configoption5' => '', 'configoption6' => '', 'configoption7' => '', 'configoption8' => '', 'configoption9' => '', 'configoption10' => '', 'configoption11' => '', 'configoption12' => '', 'configoption13' => '', 'configoption14' => '', 'configoption15' => '', 'configoption16' => '', 'configoption17' => '', 'configoption18' => '', 'configoption19' => '', 'configoption20' => '', 'configoption21' => '', 'configoption22' => '', 'configoption23' => '', 'configoption24' => '', 'freedomain' => '', 'freedomainpaymentterms' => 'onetime', 'freedomaintlds' => '.nl', 'recurringcycles' => '0', 'autoterminatedays' => '0', 'autoterminateemail' => '0', 'configoptionsupgrade' => '1', 'billingcycleupgrade' => '', 'upgradeemail' => '0', 'overagesenabled' => '', 'overagesdisklimit' => '0', 'overagesbwlimit' => '0', 'overagesdiskprice' => '0.0000', 'overagesbwprice' => '0.0000', 'tax' => '1', 'affiliateonetime' => '0', 'affiliatepaytype' => '', 'affiliatepayamount' => '0.00', 'order' => '0', 'retired' => '0', 'is_featured' => '1', 'created_at' => '2020-09-07 18:30:33', 'updated_at' => '2020-09-10 18:42:13', ), 'original' => array ( 'id' => '23', 'type' => 'hostingaccount', 'gid' => '1', 'name' => 'Basic Linux Hosting', 'slug' => '', 'description' => '', 'hidden' => '0', 'showdomainoptions' => '1', 'welcomeemail' => '1', 'stockcontrol' => '0', 'qty' => '0', 'proratabilling' => '0', 'proratadate' => '0', 'proratachargenextmonth' => '0', 'paytype' => 'recurring', 'allowqty' => '0', 'subdomain' => '', 'autosetup' => 'payment', 'servertype' => 'directadminExtended', 'servergroup' => '1', 'configoption1' => '', 'configoption2' => '', 'configoption3' => '', 'configoption4' => '', 'configoption5' => '', 'configoption6' => '', 'configoption7' => '', 'configoption8' => '', 'configoption9' => '', 'configoption10' => '', 'configoption11' => '', 'configoption12' => '', 'configoption13' => '', 'configoption14' => '', 'configoption15' => '', 'configoption16' => '', 'configoption17' => '', 'configoption18' => '', 'configoption19' => '', 'configoption20' => '', 'configoption21' => '', 'configoption22' => '', 'configoption23' => '', 'configoption24' => '', 'freedomain' => '', 'freedomainpaymentterms' => 'onetime', 'freedomaintlds' => '.nl', 'recurringcycles' => '0', 'autoterminatedays' => '0', 'autoterminateemail' => '0', 'configoptionsupgrade' => '1', 'billingcycleupgrade' => '', 'upgradeemail' => '0', 'overagesenabled' => '', 'overagesdisklimit' => '0', 'overagesbwlimit' => '0', 'overagesdiskprice' => '0.0000', 'overagesbwprice' => '0.0000', 'tax' => '1', 'affiliateonetime' => '0', 'affiliatepaytype' => '', 'affiliatepayamount' => '0.00', 'order' => '0', 'retired' => '0', 'is_featured' => '1', 'created_at' => '2020-09-07 18:30:33', 'updated_at' => '2020-09-10 18:42:13', ), 'changes' => array ( ), 'casts' => array ( ), 'classCastCache' => array ( ), 'dates' => array ( ), 'dateFormat' => NULL, 'dispatchesEvents' => array ( ), 'observables' => array ( ), 'relations' => array ( ), 'touches' => array ( ), 'timestamps' => true, 'hidden' => array ( ), 'visible' => array ( ), 'fillable' => array ( ), 'guarded' => array ( 0 => '*', ), 'field' => 'configoption1', )), 'client' => WHMCS\User\Client::__set_state(array( 'table' => 'tblclients', 'columnMap' => array ( 'passwordHash' => 'password', 'twoFactorAuthModule' => 'authmodule', 'twoFactorAuthData' => 'authdata', 'currencyId' => 'currency', 'defaultPaymentGateway' => 'defaultgateway', 'overrideLateFee' => 'latefeeoveride', 'overrideOverdueNotices' => 'overideduenotices', 'disableAutomaticCreditCardProcessing' => 'disableautocc', 'billingContactId' => 'billingcid', 'creditCardType' => 'cardtype', 'creditCardLastFourDigits' => 'cardlastfour', 'creditCardExpiryDate' => 'expdate', 'storedBankNameCrypt' => 'bankname', 'storedBankTypeCrypt' => 'banktype', 'storedBankCodeCrypt' => 'bankcode', 'storedBankAccountCrypt' => 'bankacct', 'paymentGatewayToken' => 'gatewayid', 'lastLoginDate' => 'lastlogin', 'lastLoginIp' => 'ip', 'lastLoginHostname' => 'host', 'passwordResetKey' => 'pwresetkey', 'passwordResetKeyRequestDate' => 'pwresetexpiry', 'passwordResetKeyExpiryDate' => 'pwresetexpiry', ), 'timestamps' => true, 'dates' => array ( 0 => 'lastLoginDate', 1 => 'passwordResetKeyRequestDate', 2 => 'passwordResetKeyExpiryDate', ), 'booleans' => array ( 0 => 'taxExempt', 1 => 'overrideLateFee', 2 => 'overrideOverdueNotices', 3 => 'separateInvoices', 4 => 'disableAutomaticCreditCardProcessing', 5 => 'emailOptOut', 6 => 'marketingEmailsOptIn', 7 => 'overrideAutoClose', 8 => 'emailVerified', ), 'casts' => array ( 'email_preferences' => 'array', ), 'unique' => array ( 0 => 'email', ), 'appends' => array ( 0 => 'fullName', 1 => 'displayName', 2 => 'countryName', 3 => 'groupName', 4 => 'currencyCode', ), 'fillable' => array ( 0 => 'lastlogin', 1 => 'ip', 2 => 'host', 3 => 'pwresetkey', 4 => 'pwresetexpiry', ), 'hidden' => array ( 0 => 'password', 1 => 'authdata', 2 => 'securityqans', 3 => 'cardnum', 4 => 'startdate', 5 => 'expdate', 6 => 'issuenumber', 7 => 'bankname', 8 => 'banktype', 9 => 'bankcode', 10 => 'bankacct', 11 => 'pwresetkey', 12 => 'pwresetexpiry', ), 'guardedForUpdate' => array ( ), 'strings' => array ( ), 'ints' => array ( ), 'semanticVersions' => array ( ), 'commaSeparated' => array ( ), 'characterSeparated' => array ( ), 'rules' => array ( ), 'errors' => NULL, 'customValidationMessages' => array ( ), 'connection' => 'default', 'primaryKey' => 'id', 'keyType' => 'int', 'incrementing' => true, 'with' => array ( ), 'withCount' => array ( ), 'perPage' => 15, 'exists' => true, 'wasRecentlyCreated' => false, 'attributes' => array ( 'id' => '89300', 'uuid' => 'cfc62709-5350-4388-b709-411dcf6d6c1d', 'firstname' => 'aa', 'lastname' => 'ddd', 'companyname' => '', 'email' => 'm@ddddddd.nu', 'address1' => 'ddd 1', 'address2' => '', 'city' => 'Kingtown', 'state' => 'dddd', 'postcode' => '1111aa', 'country' => 'NL', 'phonenumber' => '+31.6 1111', 'tax_id' => '', 'password' => '', 'authmodule' => '', 'authdata' => '', 'currency' => '1', 'defaultgateway' => '', 'credit' => '0.00', 'taxexempt' => '0', 'latefeeoveride' => '0', 'overideduenotices' => '0', 'separateinvoices' => '0', 'disableautocc' => '0', 'datecreated' => '2020-10-04', 'notes' => '', 'billingcid' => '0', 'securityqid' => '0', 'securityqans' => '', 'groupid' => '0', 'cardtype' => '', 'cardlastfour' => '', 'cardnum' => '', 'startdate' => '', 'expdate' => '', 'issuenumber' => '', 'bankname' => '', 'banktype' => '', 'bankcode' => '', 'bankacct' => '', 'gatewayid' => '', 'lastlogin' => '2020-10-07 11:22:11', 'ip' => '', 'host' => '165.red-88-26-195.staticip.rima-tde.net', 'status' => 'Active', 'language' => '', 'pwresetkey' => '', 'emailoptout' => '1', 'marketing_emails_opt_in' => '0', 'overrideautoclose' => '0', 'allow_sso' => '1', 'email_verified' => '0', 'email_preferences' => '{"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}', 'created_at' => '2020-10-04 18:40:41', 'updated_at' => '2020-10-07 11:22:11', 'pwresetexpiry' => '0000-00-00 00:00:00', 'mollieid' => 'cst_zvRr7e2f5m', ), 'original' => array ( 'id' => '89300', 'uuid' => 'cfc62709-5350-4388-b709-411dcf6d6c1d', 'firstname' => 'aaa', 'lastname' => 'ddd', 'companyname' => '', 'email' => 'm@a.nu', 'address1' => 'dsss 1', 'address2' => '', 'city' => 'ddd', 'state' => 'dddd', 'postcode' => '1111aa', 'country' => 'NL', 'phonenumber' => '', 'tax_id' => '', 'password' => '', 'authmodule' => '', 'authdata' => '', 'currency' => '1', 'defaultgateway' => '', 'credit' => '0.00', 'taxexempt' => '0', 'latefeeoveride' => '0', 'overideduenotices' => '0', 'separateinvoices' => '0', 'disableautocc' => '0', 'datecreated' => '2020-10-04', 'notes' => '', 'billingcid' => '0', 'securityqid' => '0', 'securityqans' => '', 'groupid' => '0', 'cardtype' => '', 'cardlastfour' => '', 'cardnum' => '', 'startdate' => '', 'expdate' => '', 'issuenumber' => '', 'bankname' => '', 'banktype' => '', 'bankcode' => '', 'bankacct' => '', 'gatewayid' => '', 'lastlogin' => '2020-10-07 11:22:11', 'ip' => '', 'status' => 'Active', 'language' => '', 'pwresetkey' => '', 'emailoptout' => '1', 'marketing_emails_opt_in' => '0', 'overrideautoclose' => '0', 'allow_sso' => '1', 'email_verified' => '0', 'email_preferences' => '{"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}', 'created_at' => '2020-10-04 18:40:41', 'updated_at' => '2020-10-07 11:22:11', 'pwresetexpiry' => '0000-00-00 00:00:00', ), 'changes' => array ( ), 'classCastCache' => array ( ), 'dateFormat' => NULL, 'dispatchesEvents' => array ( ), 'observables' => array ( ), 'relations' => array ( ), 'touches' => array ( ), 'visible' => array ( ), 'guarded' => array ( 0 => '*', ), )), ), 'touches' => array ( ), 'timestamps' => true, 'visible' => array ( ), 'fillable' => array ( ), 'guarded' => array ( 0 => '*', ), 'moduleInterface' => NULL, )), 'server' => true, 'serverip' => '', 'serverhostname' => 'aaa.nl', 'serverusername' => 'aaa', 'serverpassword' => 'ddddd', 'serveraccesshash' => '', 'serversecure' => true, 'serverhttpprefix' => 'https', 'serverport' => '2222', 'clientsdetails' => array ( 'userid' => '89300', 'client_id' => '89300', 'id' => '89300', 'owner_user_id' => '83500', 'uuid' => 'cfc62709-5350-4388-b709-411dcf6d6c1d', 'firstname' => 'ddd', 'lastname' => 'ddd', 'fullname' => 'ddddd', 'companyname' => '', 'email' => 'm@d.nu', 'address1' => 'dd 1', 'address2' => '', 'city' => 'ddd', 'fullstate' => 'ddd', 'state' => 'ddd', 'postcode' => '1111aa', 'countrycode' => 'NL', 'country' => 'NL', 'phonenumber' => '123455', 'tax_id' => '', 'email_preferences' => array ( 'general' => '1', 'invoice' => '1', 'support' => '1', 'product' => '1', 'domain' => '1', 'affiliate' => '1', ), 'statecode' => 'ddd', 'countryname' => 'Netherlands', 'phonecc' => '31', 'phonenumberformatted' => '', 'telephoneNumber' => '', 'billingcid' => '0', 'notes' => '', 'currency' => '1', 'defaultgateway' => '', 'cctype' => NULL, 'cclastfour' => NULL, 'gatewayid' => NULL, 'groupid' => '0', 'status' => 'Active', 'credit' => '0.00', 'taxexempt' => false, 'latefeeoveride' => false, 'overideduenotices' => false, 'separateinvoices' => false, 'disableautocc' => false, 'emailoptout' => true, 'marketing_emails_opt_in' => false, 'overrideautoclose' => false, 'allowSingleSignOn' => '1', 'email_verified' => false, 'language' => '', 'isOptedInToMarketingEmails' => false, ), 'suspendreason' => 'test', ),
  11. Thx for your reply! Not when you use the API function AddTransaction, but it does work when you use the API function AddInvoicePayment. Thats is the answer the supportdesk gave me.
  12. Hi, I have a custom module to read bank statements and with the function addtransaction payments are added to the invoice. Sometimes the customer pays more then the invoice amount and this results in a credit balance on that invoice. But this is only on that invoice, its not added to the client balance and not used for other invoices. I would suspect that the amount that is paid too much was added to his credit and used for (existing) other invoices. I looked around but I cannot find documentation about this or how this should work. Anyone experience on this ? thx Michel
  13. Very old but someone found an answer on this ?
  14. Thx for your reply. Perhaps I misunderstand WHMCS. Is it common in WHMCS that a client if he wants to add one extra domain to his current hosting package that he adds the domain manually in the hosting package and not through WHMCS ? Right now I am used to see wich domains are in each hosting package.
×
×
  • 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