Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 8 of 8

Thread: Paypal IPN v2.4 not working when temp folder is 755

  1. #1
    choconick
    Guest


    Default Credit/Debit Card (via PayPal) error when /temp is 755

    hi guys,

    I have an issue here, I have an error when checkout, to paypal page using Credit/Debit Card (via PayPal) module in oscmax 2.0.25.

    Paypal return:
    We were unable to decrypt the certificate id.

    the error occurred when /temp folder permission set to 755
    it was fine when /temp folder permission set to 777

    I read the wiki tutorial that folder should set to 755 to be secured.
    what should I do to fix it.

    Appreciate any help.
    Last edited by choconick; 06-03-2010 at 08:56 AM.

  2. #2
    osCMax Development Team

    Paypal IPN v2.4 not working when temp folder is 755

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Exclamation Re: Credit/Debit Card (via PayPal) error when /temp is 755

    Quote Originally Posted by choconick View Post
    the error occurred when /temp folder permission set to 755
    it was fine when /temp folder permission set to 777

    I read the wiki tutorial that folder should set to 755 to be secured.
    To answer this specific bit:
    If you require ANY folder to be 777, then you are not running a secure PHP server.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  3. #3
    osCMax Developer


    Paypal IPN v2.4 not working when temp folder is 755


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Paypal IPN v2.4 not working when temp folder is 755

    This means you are running modphp instead of php-fastcgi (or cgi) or suphp. The recommended config is suphp for simplicity. If you have root access, you can make the needed ownership changes with mod-php to allow tighter overall permissions, but just know that if you run any directory as world writable (777) it is not a matter of if you get hacked, but a matter of when.

  4. #4
    choconick
    Guest


    Default Re: Paypal IPN v2.4 not working when temp folder is 755

    The webhosting service I'm using is with ISP and was told the server use mod php.
    I saw:
    Module Directory: /usr/local/pem/vhosts/123456/webspace/httpdocs/catalog/includes/modules/payment/

    and I can only access /webspace/httpdocs...
    I guess I do not have root access.

    I refer to wikidoc, suphp permission setting:

    • Files should be CHMOD to a maximum of 600.
    • Both configure files should be a maximum of 400

    is that what I have to do while maintain the security level?
    will it fix my paypal issue ?

  5. #5
    osCMax Development Team

    Paypal IPN v2.4 not working when temp folder is 755

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Post Re: Paypal IPN v2.4 not working when temp folder is 755

    Your best course of action is to get your hosting provider to configure the server for suphp, or move provider. The alternative is to relax your file settings and (as Michael says) wait until your site gets cracked.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  6. #6
    choconick
    Guest


    Default Re: Paypal IPN v2.4 not working when temp folder is 755

    "get your hosting provider to configure the server for suphp"

    what should I tell them specifically?

  7. #7
    choconick
    Guest


    Default Re: Paypal IPN v2.4 not working when temp folder is 755

    I may simply just disable the "Enable Encrypted Web Payments" option.
    what security issue might I face if I have this one off?

  8. #8
    osCMax Developer


    Paypal IPN v2.4 not working when temp folder is 755


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Paypal IPN v2.4 not working when temp folder is 755

    Quote Originally Posted by choconick View Post
    "get your hosting provider to configure the server for suphp"

    what should I tell them specifically?
    Ask nicely! If you are on a shared server, ask if they run any shared servers with suphp. If they do, ask to be moved to one of those servers. If not, you are out of luck regarding file permissions.

    Quote Originally Posted by choconick View Post
    I may simply just disable the "Enable Encrypted Web Payments" option.
    what security issue might I face if I have this one off?
    It is completely un-necessary to enable and you are not exposing the customer data to any risk at all by disabling. The entire transaction is handled via ssl anyway, so it is already encrypted.

Similar Threads

  1. MVS not working with Paypal Standard
    By CircleG in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-24-2009, 07:52 PM
  2. PayPal Encrypted mode not working!
    By robfor in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 05-25-2006, 05:59 AM
  3. Easypopulate temp directory missing
    By laluna in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 04-21-2005, 10:24 PM
  4. "account_history_info.php" does not follow my temp
    By groggory in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-07-2004, 09:18 PM
  5. Almost have OSC working. Paypal is funtional but COD not
    By mikez68 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 02-05-2003, 06:00 PM

Bookmarks

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
  •