osCmax v2.5 User Manual
Results 1 to 10 of 10

Check Money Order processing error

This is a discussion on Check Money Order processing error within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I've just tried to use the check/money order processing option and when moving from order_confirmation.php I get the following error: ...

      
  1. #1
    Anonymous
    Guest


    Default Check Money Order processing error

    I've just tried to use the check/money order processing option and when moving from order_confirmation.php I get the following error:

    Code:
    Warning: exec,system,passthru,popen() has been disabled for security reasons in /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php on line 69
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php:69) in /home/domains/wargamestore.com/user/htdocs/includes/functions/general.php on line 29
    I have Paypal IPN and Check money order options selected. I don't think I have made any changes that would affect this (famous last words)

    Can anyone help please?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Looks like a server config issue. Your server has exec,system,passthru,popen() disabled in PHP. I think that is what the problem is.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Anonymous
    Guest


    Default

    I don't understand what you mean. Is this a problem with my ISP? Why is the error found in authorizenet_direct.php when I am not using this payment method? I would have thought checks would be no problem because it doesn't have to invoke any further processing. Any further help with this would be appreciated.

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    90
    Rep Power
    0


    Default

    Couldn't remember my password when I posted this so listed as a visitor.

    The sales I have put through check/money order processing appear to work ok:

    The sale is posted and can be viewed in admin
    The email confirming sale is sent to customer

    I just can't figure out why I am getting this error message or where to look.

  5. #5
    Anonymous
    Guest


    Default

    To get rid of the second error you have, go to includes/modules/authorizenet_direct.php and go to the end of the file, put your cursor next to the last > and hit delete and then save.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    90
    Rep Power
    0


    Default

    Quote Originally Posted by Anonymous
    To get rid of the second error you have, go to includes/modules/authorizenet_direct.php and go to the end of the file, put your cursor next to the last > and hit delete and then save.
    Tried this but still getting the error. I've tried searching for help in the forums but have found nothing. Without a solution to this my site is a non starter. help please?

  7. #7
    Member
    Join Date
    Sep 2003
    Posts
    90
    Rep Power
    0


    Default

    Code:
    Warning: exec,system,passthru,popen() has been disabled for security reasons in /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php on line 69
    refers to the path required for cURL. I searched the forums here and over at oscommerce and as a result checked my server information to see if cURL was installed on my server. I saw the following:

    Code:
    CURL support 	enabled
    CURL Information 	libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6 enabled)
    I tried to find the cURL directory on my server but it could not, so I mailed my host to check. This is the reply I got:
    We don’t currently provide the service or functionality for 'curl' that you have
    contacted us regarding. We will consider your request in our future plans
    however this will not be available in the very near future.
    I am currently planning to use Paypal and check money/order processing so could I get by for now without changing provider?
    If so how would I get rid of this error? Remove everything related to authoriizenet?

    Have my provider answered my query correctly? If so why does my server info tell me that cURL is installed?
    Given a very rudimentary understanding of what cURL does I am amazed that my web host doesn't provide it. They are a major UK provider with full page ads in all the computer comics.

    Help please

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Yes, you will need to disable the call to Authorizenet in your checkout page, as that requires cURL compiled into PHP. There is actually a thread on this, as it seems there is a small bug in the Anet code. Here is the thread, you can try his solution:

    http://oscdox.com/index.php?name=PNp...horize+net+bug
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    90
    Rep Power
    0


    Default

    Thanks very much for that it completely solved the problem.
    I also mailed my provider again and their first response was garbage. cURL is installed in /usr/bin/curl so I wonder why it wasn't working properly? One to solve on another day I reckon, when I get round to installing protx maybe.

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    The reason it is not working, most likely is because even though curl is installed on your server, it is not compiled into PHP. The authorize net module requires curl support compiled into php. That is why it was not working.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. check/money order payment mod error!
    By xzyyy in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 10-17-2006, 07:02 PM
  2. Getting Curl error even when I proces check/moneyorder order
    By Redeye_Joe in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 05-23-2006, 12:09 AM
  3. Order Processing
    By everfaithful in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 10-18-2005, 02:50 AM
  4. Money Order display modification? Please HELP!
    By bbeban in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-18-2003, 01:12 PM
  5. Help with text in Check/Money Order [URGENT!]
    By Sejo in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 09-24-2003, 01:17 PM

Bookmarks

Posting Permissions

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