We have written a small PHP Hook for our billing system that opens a new support ticket with us when an order is placed. It works except that for the "Open Ticket" API function, it takes a string for the message, but we cannot figure out how to put carriage returns in it.
I have tried
<p>, <br>, n, rn, etc.
As it appears to just be completely plain text though, all of these are just being read verbatim rather than made into carriage returns.
Does anyone have any thoughts on how this could be done? http://docs.whmcs.com/API:Open_Ticket
Carriage return is
"r". Mind the double quotes!
I think you want
"rn"btw to put a line break in your text so it will be rendered correctly in different operating systems.