diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6aa0da8 --- /dev/null +++ b/composer.json @@ -0,0 +1,9 @@ +{ + "name": "quixotix/paypalipn", + "autoload": { + "psr-0": { + "Quixotix\\": "lib/" + } + } +} + diff --git a/lib/Quixotix/Exception.php b/lib/Quixotix/Exception.php new file mode 100644 index 0000000..0382db9 --- /dev/null +++ b/lib/Quixotix/Exception.php @@ -0,0 +1,7 @@ +force_ssl_v3) { + if ($this->force_ssl_v4) { + curl_setopt($ch, CURLOPT_SSLVERSION, 4); + } elseif ($this->force_ssl_v3) { curl_setopt($ch, CURLOPT_SSLVERSION, 3); }