Jump to content

Popeye3165

Members
  • Content count

    9
  • Joined

  • Last visited

  1. Popeye3165

    Error: 10 after AIM install?

    I just installed AIM update and I'm getting an error code Error: 10 The credit card number entered is invalid. Please check the number for mistyped numbers and try again. Any ideas? Thanks
  2. Popeye3165

    cURL set up question

    Hello, I'm trying to set up my authorize.net payment mod and I'm getting an error message while processing the test cards. I have godaddy as my hosting and I'm on a Linux server. I have confirmed that the cURL is compiled. They are telling me that I need to install the following script to get the cURL to work correctly: Using CURL to Connect Using HTTPS Below is a PHP script that uses CURL to connect securely to a remote system (http://www.authorize.net), obtain data from that system and then creates a Web page based on that data. Note: On our shared hosting, any CURL applications that make secure HTTP connections (HTTPS over port 443) need to pass through a proxy server. The address for this proxy server is proxy.shr.secureserver.net and connections must specify the use of port 3128. The code below already includes this information. <? $URL="https://www.authorize.net"; if (isset($_GET["site"])) { $URL = $_GET["site"]; } $ch = curl_init(); echo "URL = $URL <br>n"; curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128"); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt ($ch, CURLOPT_URL, $URL); curl_setopt ($ch, CURLOPT_TIMEOUT, 120); $result = curl_exec ($ch); echo "<hr><br>n"; echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br><br>'; echo "<hr><br>n"; curl_close ($ch); print "result - $result"; echo "<hr><br>n"; ?> Is this correct and if so, what file/s does this script need to be added too? Thanks in advance!
×