Closed (fixed)
Project:
UC NAB Transact
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Dec 2010 at 04:46 UTC
Updated:
6 Jan 2011 at 22:20 UTC
I just thought I'd add another cause of XML parse failure - a missing openssl extension for PHP. I'm going to recompile our sever tonight with openssl, but hopefully this helps someone else who couldn't work out why they couldn't get this module to work.
drupal_http_request() - which this module uses to send a POST to NAB via HTTPS - uses openssl. This can be checked using extension_loaded('openssl') - perhaps it's worth updating this module to check for this extension before performing drupal_http_request...?
Comments
Comment #1
jm.federico commentedHello
Beta 2 has been released with your suggestion implemented. It falls back to CURL if OpenSSL is not installed.
Comment #2
jm.federico commentedComment #3
sydneyshan commentedThanks for the fast response! Well done!