Results 1 to 2 of 2
  1. #1

    Multiple decimal places for prices in WHMCS? BitPay/Bitcoin related

    Hi there guys and gals,

    I'm having quite an issue charging clients using Bitcoin after the recent spike in value.

    The problem is WHMCS does not allow, at least not to my knowledge to charge less that 0.01 on anything given that it was made only with fiat currencies in mind.

    Since the Bitcoin rise, I've had to resort to limiting Bitcoin payments to annual payments only, since charging monthly would cost less than 0.01.

    Is there any way around this? This questions is directed towards the Bitcoin users out there of course.

    How can I continue to charge Bitcoin for monthly payments through WHMCS and still charge the correct price? Is there any way whatsoever to allow for more decimal places in the price?

    By the way, I am using BitPay for the Bitcoin payment gateway.

    Hopefully some other Bitcoin users out there have an answer for this.


  2. #2
    Join Date
    May 2013
    I believe that you'd have to modify how the database is storing the values.

    Try going to all the applicable tables, and changing the price columns from DECIMAL(10,2) to DECIMAL(10,8). However beware that it'll also make your fiat prices look wonky. (haven't tried this yet, but it should work)

Similar Threads

  1. Replies: 1
    Last Post: 06-24-2013, 05:44 PM
  2. how do I show a number up to 2 decimal places?
    By tttt in forum Programming Discussion
    Replies: 8
    Last Post: 05-16-2008, 09:06 AM
  3. JESUS Save US.... Format number to X decimal places...
    By duckxtales in forum Programming Discussion
    Replies: 2
    Last Post: 06-27-2006, 03:54 PM
  4. displaying decimal places using bash scripting
    By BMurtagh in forum Programming Discussion
    Replies: 2
    Last Post: 04-24-2003, 10:37 AM
  5. force to use 2 decimal places only (javascript)
    By blasto333 in forum Programming Discussion
    Replies: 6
    Last Post: 02-22-2003, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts