Jump to content

mli

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by mli

  1. Solved. This is what I learned from this issue and hopefully it can help someone else. When specifying an array in configoptions, the syntax is : array(xxx1 => yyy1, xxx2 => yyy2). xxx is the optionid while yyy is the value. In above line, there are two options. Each option pair is separated by comma. Another important thing is to check your parameters in the API. For example, API AddOrder has a parameter pid. It must use an integer array. If you just pass it with a single value, the order is added, but the configoptions is totally ignored by the API and without generating a warning message. This is one area WHMCS can improve upon. APIs should generate more warning messages. Thanks Mike
  2. Did you get this issue resolved? I'm trying to add an order with configoptions array, but it does not work. The configoptions parameter has very poor documentation. Thanks Mike
×
×
  • 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