AuthorizeNet/accept-sample-app

Uncaught Error: Class 'SimpleXMLElement' not found in accept-sample-app/getToken.php:24

collinanderson opened this issue · 7 comments

Is there a required library that I need to install or something?

What version of PHP are you using?

7.0 (Ubuntu 16.04)

You may need to install simplexml on ubuntu http://stackoverflow.com/questions/35593521/php-7-simplexml

Yeah, I eventually figured out I need to sudo apt install php-xml, but you might want to document that somewhere.

That is totally true. I was struggling for hours because of this. You can make our life easier by putting a warning or someting in the documentation, please. Thank you.

Issue has been documented in the README.md with a suggested fix. Based on that, I'll be closing this issue for now.

i am already having the php-xml
still getting the error