I am using Authorize.net in my application(its in OSCOMMERCE) , When the user making payment its returning empty response. I debugged and find that it returning this error:
Protocol https not supported or disabled in libcurl
I am sending a prober url starts with https there is no space in that https://secure.authorize.net/gateway/transact.dll
My application in shared hosting server. My doubt is this is server side problem or Programming problem ?
Create a script called info.php and in it put
<?php phpinfo(); ?>. Save it somewhere on your site so you can access it from a browser.
Find the curl section and check what Protocols are supported. If
httpsis not listed, then cURL was not built with SSL support and you cannot use https.
You can also look in the very first section for
Registered PHP Streamsand see if
httpsis listed. If so, then you can fallback to use PHP's socket functions or functions such as
fopenwith a context.
Since you mention you are on a shared host, request that your host recompile PHP so that both PHP and curl are built with OpenSSL support so you can use encryption, otherwise you will need to find another solution.