We had an issue with the SSL Version curl was using in the uc_payflowpro module.

in _uc_payflowpro_submit_xml we had to add the following line:
curl_setopt($ch, CURLOPT_SSLVERSION, 3);

Prior to adding this in the source code, payments would not go through, and we were receiving the following error:
TLS packet with unexpected length was received Pay Flow Pro

At first, I assumed this was a GNUTLS dependency error, so recompiled CURL (we're on Gentoo) to use openssl.

The client was still unable to communicate with the payflow pro server until I added the aforementioned line to the source.

This should probably be a configuration option for the user or site administrator.

Comments

kwinters’s picture

Thanks for the report. I'll need to look into this some more and see if it's a change on PayPal's end or just something specific to your configuration.