Jump to content

Nelson Neoh

Member
  • Content Count

    21
  • Joined

  • Last visited

Everything posted by Nelson Neoh

  1. OK. Finally found a related discussion here: look like I shall pass on this to get other more important thing done... (well... MJ's "They Don't Care About Us" pops into my mind... 😩)
  2. I am working on a registrar module, and wondering how to make the Country field in Domain Contact Information (clientarea.php?action=domaincontacts&domainid=55) to show as a dropdown, rather than a text box. Any clue to share? I know if wish to show the correct phone country code, must declare object Phone Country Code. Wondering what should be the proper object to pass to achieve above mention. TQ. Regards, Nelson
  3. Have got the answer from WHMCS Support. The fields should be returned in Registrar Module, registrar_GetContactDetails.
  4. Actually this is what confused me: If the index should start with 0, and the value equal to "year", where to define the price?
  5. What it told in the developer page, is just says the setYears is an array. Maybe you can provide some details on how the setYears array should form? Tried a lot of way to get this work, but yet failed. Thanks in advanced.
  6. Hi there. I noticed there are sometimes we need to put some additional information in the Contact Information form (/clientarea.php?action=domaincontacts&domainid=123), to fulfill certain TLDs Registry requirements, especially on ccTLDs. For example: Company Registration number and etc. There is always a quick fix to hardcode in the template but for sure it is not the appropriate way to do so. Any advice I can inject those required custom fields based on selected TLDs, when client accessing respective domain contact? Thanks in advanced. Regards, Nelson
  7. Tried to test out the code, and found the sample given is truly sucks... Here's the snap of code I try, and it is now successfully import with multi years price, in year multiplier basis on subscription price assigned. $item = (new ImportItem) ->setExtension($extension['tld']) ->setYears(array(1,2,3,4,5,6,7,8,9,10)) ->setMinYears((int)$extension['minPeriod']) ->setMaxYears((int)$extension['maxPeriod']) ->setYearsStep(1) ->setRegisterPrice($extension['registrationPrice']) ->setRenewPrice($extension['renewalPrice']) ->setTransferPrice($extension['transferPrice']) ->setRedemptionFeePrice($extension['redemptionFee']) ->setCurrency(strval($extension['currencyCode']));
  8. Well, I might be a bit late, but just wish to contribute. For anybody has interest, can give a try on WebNIC. The whois protection is free and good customer support.
  9. Hi Guys, While coding the registrar module, TLD & Pricing Sync function, the setYears method confused me. Can anybody show me any reference on how the array structure should be arranged? Recently I tried to pass the array as follow to setYears. Array ( [1] => 7.5 [2] => 15 [3] => 22.5 ) It ended up show in the import screen as 7.5 years as follow screen captured, with no years pricing tap also. Tried with the setMinYears(1) and setMaxYears(10), but no use, the imported TLD is only configured 1st year price tier. TQ. Best Regards, Nelson
  10. Wow! Thanks @brian! for the detail response. It is always be good to have you here! --------- Btw, I am still wondering, what will happens if Admin cliecked on this option? Really didn't notice what will be made by the registrar module. I am guessing the option will only provide a option which required registrar module to handle the contact details as per choosen by the admin... And as always, the poor WHMCS documentation never mention about this at all... sigh.
  11. In registrar module, how could I get to know if the admin had configured to unticked "Use Clients Details", which layed under "General Settings" --> "Domains"? Can't find any clue under domain params. Wonder I can only check the config through Carbon?
  12. Thanks on the suggestion, will try this out. @steven99 Do you have sample code to share the proper way to include these functional pages? I used to get error and not very familiar on the WHMCS global variables when includes a php page. Thanks you all in advanced.
  13. Hi all, I wish to perform some registrar API activities in the registrar hooks, but as the hook's vars or params didn't provide credential details, I tried to get direct from DB Capsule and unfortunately noticed the data stored in encrypted format... Any suggestions to over come this? TQ. Best Regards, Nelson
  14. Push up the topic as it had been sinked due to very long approval process...
  15. Hi all. Had been diving in this community for almost 1 year. Just posted a few questions in the community, but yet to have moderator approval... for days... Anyway, I guess maybe I have not yet intro myself and causing this? lol --- Well, am administrating a registrar module and develop/maintain a few addons modules. Now having hard to migrate all of them into WHMCS v8. 😉
  16. Well... had posted a topic and awaiting the moderator to approve. Already over 4 days, but yet to pass... Any hints or tips I can get ride on this?
  17. Hi all. Recently I have a custom addon module which placing order through localAPI, but it seems this limits my client to purchase 1 item at a time, which brings not so good UX. I wish to get some input, what's the proper way to change the order placing through my custom addon module, direct to normal shopping cart. Thank you all in advance. Best Regards, Nelson Neoh
  18. Hi. I have developed an Addon Module (says addOnModule), which requires some custom entry of details (says Domain Name, and/or hosting ID) while placing order. On Paid, it will then have to write some additional details on a custom table (says tbl_customModule), aim for further management activities. The module will carries all product under Other (myProductType). The module works fine on Customer Panel, but facing issue when Add New Order in Admin Panel. Hopefully I am able to get some hints/advice from kind people here. Q. When admin performed Add New Order in Admin Panel -> Orders -> Add New Order, it can't read my module, but defaulting Product Type as hosting service, although the product name is listed under products options. I can't find a correct way to overcome this issue. How can I correct this issue? Here's the desired workflow of the Addon Module: 1. When myProduct picked, it should capture the product type as myProductType. 2. The custom fields then populate under the product details section (refer to attached sample). 3. After filled up the form and submit order, it will trigger my module to save required info into tbl_customModule. At last, thank you for any input. Best Regards, Nelson Neoh
  19. I have run through this issue. While perform bulk Order Accept, it will says Function Not Supported, but I have totally blind on what's the function being called is not supported? Any suggestion how to get a brighter clue on this error?
  20. Here's my problem: I have no issue when registering domain name one at a time. But when trying to process domain registration in bulk, it always passed the first one and failing the remaining. I have to resubmit the form until all the domain names in the list had been proceed. The error returns as follow: Order Accept Encountered Problems Registrar Function Not Supported. I am trying hard to find the clause but have no luck to get any hints. Thus I am thinking are there any way to print which function is recently calling which causing the fail? TQ. Best Regards, Nelson Neoh
×
×
  • 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