Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 500: internal error with Authorize.net final checkout

    The authorize.net AIM module shouldn't have any connection with nor be impacted by any mod_rewrite settings.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Mar 2007
    Location
    Cambridge, MA
    Posts
    59
    Plugin Contributions
    0

    Default Re: 500: internal error with Authorize.net final checkout

    This is getting seriously frustrating...

    Still nothing being written to the cache folder (which is at the root of the zen cart install and chmod 777..) There's an .htaccess file in there and an index.php file as well. Should there be?

    Still getting the 500 internal server error.....

    Quote Originally Posted by DrByte View Post
    I meant the 'cache' folder at the root of your zen cart install ... perhaps "public_html/cache" for you ?
    In order to write the logs, the folder needs to be read-write .. ie: chmod 777

  3. #13
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 500: internal error with Authorize.net final checkout

    You can test CURL on your server using the following script

    Please unzip this curltest.zip file , and upload the curltest.php file to your server ... into the public_html folder.

    Then point your browser to www.your_domain.com/curltest.php

    If uploading the unzipped file to your server and running it via your browser doesn't bring back a Success message, then CURL support is not operating properly.

    By default it tests non-SSL mode. To test in SSL mode, add ?ssl=1 to the URL when running it via your browser.

    You can test connection to various services by adding various parameters:
    ?linkpoint=1
    ?authnet=1
    ?paypal=1



    If you can share your URL on the forum, we may be able to help diagnose the limitations further.


    NOTE: In v1.3.9, you'll find a newer version of this file in your /extras/ folder as /extras/curltester.php
    You DO NOT need to download THIS one if you've got that one in your 1.3.9 site already.
    Attached Files Attached Files
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #14
    Join Date
    Mar 2007
    Location
    Cambridge, MA
    Posts
    59
    Plugin Contributions
    0

    Default Re: 500: internal error with Authorize.net final checkout

    ** url removed ***

  5. #15
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 500: internal error with Authorize.net final checkout

    Okay, the problem is using CURL to talk to SSL URLs, ie: https:// addresses, which authorize.net requires.

    It seems your host doesn't support SSL with their CURL setup ... it gives the 500 INTERNAL SERVER ERROR when testing SSL destinations.

    You'll need to talk to your host about that.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Mar 2007
    Location
    Cambridge, MA
    Posts
    59
    Plugin Contributions
    0

    Default Re: 500: internal error with Authorize.net final checkout

    The host is claiming that cURL w/SSL support is already enabled and compiled. What are you seeing in those test results that I can report to them to demonstrate it is not working correctly?

    Thanks!

  7. #17
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 500: internal error with Authorize.net final checkout

    If you run it regularly, without parameters, you get good results.

    If you run it pointing to an SSL address, you get the 500 INTERNAL SERVER ERROR:
    <snip>
    same if you point it to the authnet server:
    <snip>

    But if you do the same from the Zen Cart server, where CURL is configured to use SSL when requested, it works fine.
    <snip>
    (ie: in this case it gives an HTTP Response 200 ("ok"), and provides the feedback from auth-net that the test parameters didn't include a username/password (which is of course intentional since all we're testing is communications, not authentication).
    Last edited by DrByte; 2 Aug 2007 at 07:01 AM. Reason: removed links
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Mar 2007
    Location
    Cambridge, MA
    Posts
    59
    Plugin Contributions
    0

    Default Re: 500: internal error with Authorize.net final checkout

    Ok - it appears the problem is 'php suexec' which is running on the server. If they recompile php on the server without suexec the curl test works fine, but everything else seems to break (including WordPress, and other php heavy apps)

    Can the payment module be adjusted to work php suexec?

  9. #19
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 500: internal error with Authorize.net final checkout

    I don't see why suexec would have any influence on CURL making an external SSL call.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #20
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: 500: internal error with Authorize.net final checkout

    We use phpsuexec on several servers and cURL works just fine,

    make sure that when they recompile php using phpsuexec that they include cURL in the compile
    Zen cart PCI compliant Hosting

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v150 HTTP 500 internal server error during checkout
    By valvoj in forum General Questions
    Replies: 1
    Last Post: 1 Nov 2012, 03:56 PM
  2. 500 internal server error at checkout success
    By indigobnb in forum General Questions
    Replies: 0
    Last Post: 10 Sep 2010, 05:04 PM
  3. 500 Internal Server Error On Checkout
    By David Canham in forum General Questions
    Replies: 3
    Last Post: 8 Feb 2010, 09:09 PM
  4. Internal Server Error 500 at credit card checkout
    By Rotkale in forum General Questions
    Replies: 2
    Last Post: 31 Dec 2006, 04:19 AM
  5. Internal Server Error 500 at Checkout Confirmation
    By qhome in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 2 Nov 2006, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg