I am trying to implement Authorize.net payment. I was given a script that sends an XML file through CURL. I was getting an error that the namespace is not absolute when creating the doc. I found that I could fix the error by adding HTTP:// to the namespace. However, when I receive the XML doc back it has the namespace without the HTTP:// and so I get an error. I find that most answers to the XML namespace are just a warning, but in Laravel, it is a 500 error. The error is caught at the simplexml_load_string method.
What are the details of the error thrown by Laravel in the 500? Can you share the full XML that you're sending? If the above is all you're sending you'll need to close the tag:
<createTransactionRequest />
<!-- or -->
<createTransactionRequest></createTransactionRequest>