Jump to content

PixelPaul

Members
  • Content count

    33
  • Joined

  • Last visited

Community Reputation

10 Good

About PixelPaul

  • Rank
    Member

Recent Profile Visitors

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

  1. is anyone finding the acceptQuote API function does not working when providing the correct arguments? All other functions work fine for us, but this one. ArgumentCountError: Too few arguments to function convertQuotetoInvoice(), 1 passed in /whmcs/includes/api/acceptquote.php on line 0 and exactly 7 expected in /whmcs/includes/quotefunctions.php:0
  2. PixelPaul

    API Boolean values

    exactly: it's okay in PHP. But any other environment makes it very limiting, such as interacting with the API from nodejs/browser/javascript.
  3. PixelPaul

    API Boolean values

    yes, the internal API is fine. but the external API is not. i can not send form values such as... entry1=true&entry2=false&entry3=false it needs to be: entry1=1&entry2=0&entry3=0 well the true actually works because 1 and "true' both = truth. but 'false' also = truth. So this tells me they are doing a if value == 1 which is bad programming. it should be if value === boolean truth / false
  4. PixelPaul

    API Boolean values

    Why does the API only accept 0 or 1 values for Booleans? It is VERY limiting and anoying. It should also accept 'true' or 'false' as values.
  5. PixelPaul

    register custom hooks

    yes i could write my own, but it would be best to use one already in place in the core software if available.
  6. PixelPaul

    register custom hooks

    is it possible to register/create a custom hook within my module for WHMCS. Not use one of the WHMCS hooks. So people could assign functions to the hook to manipulate some data and return it back to my module after it executes the hook? such as ... <?php add_hook('mymodule_myhook', 1, function($vars) { // Perform hook code here... });
  7. PixelPaul

    Recalculate All Prices for your Customers

    can someone supply me the module? i really need it but can't seem to get it. thanks.
  8. i have an app outside of WHMCS on the same domain that can check username and password via the WHMCS API. I am just wanting to know what do i need to set in the cookies so if they every did visit the WHMCS pages it would recognise the user is logged in.
  9. Hi All, I am seeing this very very often now from clients, when they have a saved CC with strip and they try to use it they get the error message "could not find payment information" See attached. Does anyone have any ideas how i could fix this? I checked their accounts and the saved CC details are there.
  10. PixelPaul

    change product/service to One Time via database

    i have done a database data comparison of before and after i change the billing cycle via WHMCS backend and there is no other columns or tables that get changed ( excluding the logs ) so this make no sense to me how the invoice can still get created.
  11. PixelPaul

    change product/service to One Time via database

    no it doesn't, and i am doing it via a module i am creating.
  12. hello all, Does anyone know of all the columns that need to be change to update a product/service to be "One Time" and to no longer create invoices? but via the database. I have tried the table tblhosting and changing the columns as such: billingcycle = One Time nextduedate = 0000-00-00 nextinvoicedate 0000-00-00 but even with those updated to the above values, when the automated tasks cron runs, it will generate a new invoice for that service. And it even generated an invoice for services that would of been due for renewal in 3 years. So the invoices are created early now.
  13. so i have a client who pays via paypal echeque. The first time it tries it, it sets up the echeque, the next day it attempts the charge the customer again. and it seems to work. but then 3 days later the echeque clears and so i end up with duel payments. is this normal? shouldnt it see that a echeque is pending and not attempt to capture a payment the next time my crons run?
  14. PixelPaul

    set country when linking to WHMCS

    Does anyone know how i can set the customer default country selection when linking to WHMCS. Mostly when adding an item to the cart? I can set the currency and language, but i need the country so the correct tax is applied. Otherwise they see the wrong amount until they select their country and refresh the cart total. And i already know what country the user will be so i want to set it as default.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated