Page 1 of 3 123 LastLast
Results 1 to 10 of 28

installing GPG contrib

This is a discussion on installing GPG contrib within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, I am trying to install the GPG contrib to encryt credit card numbers for offline processing. OK so I ...

      
  1. #1
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default installing GPG contrib

    Hello,
    I am trying to install the GPG contrib to encryt credit card numbers for offline processing.
    OK so I have generated the keys using CPanel and editied the ccgpg.php file to point to the public key and the temp directory I made (with write permissions).

    But my question is, where do I put the ccgpg.php files so it is recognised by oscommerce? In the main directory or in the payment modules directory? I have tried both to no avail. What module to I "turn on" in the admin section to enable GPG?

    The instructions that come with the contrib are a little vague.
    Thanks in advance.
    Kerry

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Which One?
    GPG Credit Card Encryption
    http://www.oscommerce.com/community/contributions,611

    GPG Credit Card Encryption 0.94 english
    http://www.oscommerce.com/community/contributions,894

    Secure Credit Card - GPG
    http://www.oscommerce.com/community/contributions,2013
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default

    Hi,
    I am trying to install GPG Credit Card Encryption at
    http://www.oscommerce.com/community/contributions,611
    Cheers,
    Kerry

  4. #4
    osCMax Developer

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


    Default

    ccgpg.php goes in /catalog/includes/modules/payment dir.

    You should then also REMOVE the default credit card module from that dir (cc.php) to avoid confusion. Then from the admin, enable Credit Card. It will be the GPG module...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  5. #5
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default

    Thanks for your help. I got the module enabled but now I have a different problem. I get all the way through the checkout process until the last step (confirm order). When confirm order is clicked I get a "page cannot be found" error. The URL is https://gravitycomputers.com.au/stor...ut_process.php (and yes, the file exists on the server). It puts a file in the temp directory with the order number and unencrypted credit card number, but that's as far as it goes. There are no error messages. Does anyone have any ideas about what could be going on?

    Also, I notice in the contrib zip file, the file modules.php. Am I supposed to put this somewhere on the server?

    Thanks for all your help!!

  6. #6
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default

    As far as I can tell (with my very limited scripting knowledge) is that it is having problems with the line
    system("export HOME=".$gpghome.";".$gpgpath." --verbose --verbose -r '".$gpgrecipient."' --encrypt -a -z 0 ".$plainTxt." ");

    It does get to the stage of writing the card number and order number to a file, but does not get past the above command and does not delete the temp files either! (which are in the lines below the command) Does anyone have any ideas? thanks in advance! Kerry

  7. #7
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Did you set the following?:

    $gpghome="/home/useraccount"; //where is your pubring? That dir has to have write access.
    $gpgpath="/usr/bin/gpg"; //where is the executable
    $gpgrecipient="blib@useraccount.com"; //the key used for encryption


    to somthing vaild for your server?

    See the included file GPG_Cpanel_setup.txt for more information....
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  8. #8
    osCMax Developer

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


    Default

    Also, check your error logs. It should tell you where the script is bombing out if there is a php or permissions problem...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default

    Thanks for your time..

    the $plainTxt variable I have set as "/home/gravity/public_html/store/temp/" same with the $crypted variable. I know these are valid because the script is, in fact, writing a file to the temp directory.
    $gpghome I have set to "/home/gravity" I wasn't sure whether to put it as /home/gravity/.gnupg, but I have tried both to no avail.

    The $gpgpath="/usr/bin/gpg";
    and the $gpgrecipient="Kerry de Vent (Gravity Computers) <sales@gravitycomputers.com.au>"

    So I don't see any problems with these variables. The error logs are not showing anything so I am tearing my hair out trying to find the cause of this... I have set the permissions of the .gnupg directory and all the files in it to 777 temporarily (when it is working I will tighten the permissions), also the temp directory is set to 777. Are there any other permissions that need to be set to read/write access? Thanks.

  10. #10
    osCMax Developer

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


    Default

    Most likely this is a completely separate issue. Check your configure.php and tweak the paths. If you are using shared ssl, that is most likely the cause. Try adding the full url to your shared ssl directory, and make sure your cookie paths and all other dir paths match...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

Page 1 of 3 123 LastLast

Similar Threads

  1. Linkpoint - Which contrib to use? Please help!
    By giyer in forum osCommerce 2.2 Modification Help
    Replies: 13
    Last Post: 02-13-2006, 09:14 AM
  2. Anyone he;p with errors installing the gift voucher contrib?
    By obscure in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-12-2004, 07:56 AM
  3. help with pwa contrib
    By dmiles in forum osCmax v1.7 Discussion
    Replies: 8
    Last Post: 05-15-2004, 03:50 PM
  4. Ask A Qusetion Contrib??
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 04-11-2004, 09:41 PM
  5. What to add Contrib for contact us page
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 04-08-2004, 02:31 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
  •