Everything posted by mrdd
When I add a new addon for a clients product the Billing Cycle is not saved. The field is also empty in the database (the other fields are saved properly). The following steps are taken: From the Products/Services tab I click "Add New Addon". Filling all the fields and then click Save. At the product page the pricing shows "€40,00 EUR orderpaymentterm" where orderpaymentterm seems to be a placeholder for the billing cycle. When I edit the addon and save again, the billing cycle is saved. Can somebody try to reproduce this to see if it's a bug or a configuration issue?
I'm adding new clients with the AddClient localAPI command. When I do this the ClientAdd hook runs twice. I'm sure of the fact that I don't call the AddClient twice. This issue is mentioned before in 2017 by another user: https://whmcs.community/topic/270149-hook-execution-repeated-when-is-fired-width-api/ I have a workaround to check if the code in the hook is executed before, but rather would see this issue fixed.
At the WHMCS orderpage it's posible to change the registrar for each domain, before accepting an order. The API reference for AcceptOrder only allows me to give one registrar, sendregistrar, and sendemail string for the entire order. If the order contains multiple domains for different registrars I can't give them a different value. Can anyone tell me if there is a way to accept these kind of orders by the api with different option values for each domain?