6 replies [Last post]
himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Was this information Helpful?

Does anyone know what to include in Card number encryption key filepath which is mentioned at http://www.ubercart.org/docs/user/2731/credit_card_settings#security

mysite
mysite/www <-- Drupal installed here.
mysite/keys

I couldn't understand which path to keep in the keyfile path..... I have created a folder-"uberencrypt" in root with chmod 777. Durpal is installed at /public_html/drupal

himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Re: Paypal Website Payments Pro for India

Is Configuration of "PayPal Website Payments Pro" in "User's Guide"? I didn't found there.

Does WPP works for India. I've an Indian business paypal account and got the API from paypal. Don't know whether WPP will work or not for my country, but giving it a try as I've API.

fourcws's picture
Offline
Cool profile pic award.
Joined: 04/16/2008
Juice: 131
Re: [How to] setup credit card number encryption key filepath?

your file structure may look something like this;
/home/your-user-name/
your website is located at;
/home/your-user-name/public_html/
and in your case you chose to install drupal in a sub folder;
/home/your-user-name/public_html/drupal/

where you want your key is in a folder NOT public accessable. You say you created your keyfolder in root, root means many things. so, lets clarify. this is where your keyfolder should be;
/home/your-user-name/uberencrypt/

Now if that is where you have it then we are in good shape. However, because you have drupal installed in a sub folder you may have to make your entry like this; ../../uberencrypt in order to get it to work.

himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
That worked. Thanks.

That worked. Thanks.

Do I need to change ../../uberencrypt keyfile paht when I shift my drupal folder (public_html/drupal) to root (in public_html)?

After the file gets encrypted, which chmod should I use for the uc_credit.key and its folder?

fourcws's picture
Offline
Cool profile pic award.
Joined: 04/16/2008
Juice: 131
Glad that worked for you. if

Glad that worked for you.

if you move Drupal install files to the www root you will need to remove one set of the ../ because you will be one level closer to your folder. As far as your permissions the keyfile folder should be 744 or 740 and the keyfile itself should have been set 644 by Drupal.

ed523's picture
Offline
Joined: 12/11/2008
Juice: 30
so what if drupal is installed at the root?

putting the folder above the site root gets me "non existent directory" on the cc config page

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: so what if drupal is installed at the root?

Which, if you check Watchdog logs, probably means you also have an open_basedir restriction, which you can only change by editing some configuration files on the server. If you don't have root access you can ask your hosting provider to do it for you.

Read this thread: http://www.ubercart.org/forum/support/6790/encryption_key_file_path_issue

--
Help directly fund development: Donate via PayPal!