PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 11-26-04, 09:02 AM   #1
artfarm
Registered
 
Join Date: Oct 2004
Location: France
Posts: 5
Reputation: 5
Paypal Set up for oscommerce help please

Have spent the last few day trying to set paypal up on oscommerce and have followed everything I can find butcan't seem to get it going. Any help would be great. Do not seem to knowhow to change payment module to include paypal.
artfarm is offline  
Old 11-26-04, 09:12 AM   #2
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
go to the payments modual and install + paypal. Then you will need to enter your paypal account email.
Jade Dragon is offline  
Old 11-26-04, 09:29 AM   #3
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
No, don't do that. (Sorry, Jade.) The built-in PayPal module is insecure - customers can change the amount sent to PayPal. Instead, go here and install the PayPal IPN contribution. This uses a secure and protected interface that guarantees the correct payment has been made.
__________________
Steve
stevel is offline  
Old 11-26-04, 09:39 AM   #4
artfarm
Registered
 
Join Date: Oct 2004
Location: France
Posts: 5
Reputation: 5
On my site http://theartfarm.info/catalog/checkout_payment.php payment does not show paypal. What is best step. I have installed as link above says. Including paypa.inc.php
artfarm is offline  
Old 11-26-04, 09:56 AM   #5
artfarm
Registered
 
Join Date: Oct 2004
Location: France
Posts: 5
Reputation: 5
How do I add paypal as payment method. I have canceled cc and cod but paypal says true but does not show up.
artfarm is offline  
Old 11-26-04, 12:31 PM   #6
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
You have to enable the payment module in osCommerce admin panel.
__________________
Steve
stevel is offline  
Old 11-26-04, 03:31 PM   #7
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
Question

I just installed PayPal_Shopping_Cart_IPN 2.9 and I dont know if it is this or what but when I am doing a test order... I log in then choose a product to add to cart I then hit checkout... which is suppose to take me to checkout_shipping.php but instead it takes me to login again... Is this something to do with PayPal_Shopping_Cart_IPN 2.9 or is it something to do with sessions... I am clueless... I have been searchin http://forums.oscommerce.com/index.php for 3 hours now... Please any help is appreciated.. Also if you need to see some files just let me know! Thanks!
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 11-26-04, 04:06 PM   #8
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
I think that it is doing this because it will not keep me logged in.... just a fyi... thanks again for the help!
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 11-26-04, 08:24 PM   #9
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
You have probably set up your catalog/includes/configure.php incorrectly. Please post the first 20 lines of that file and we'll try to help. Do not include the section at the end with your database name and password.
__________________
Steve
stevel is offline  
Old 11-27-04, 08:18 AM   #10
artfarm
Registered
 
Join Date: Oct 2004
Location: France
Posts: 5
Reputation: 5
Still help needed for the install of paypal. I have not touched the configure.php or placed my paypal ID. Can't even find where these go. Also when logged in and place item in cart no paypal option or any as I messed with cc and cod.php. Am using dreamweaver to change code but really do not know what I am doing. Any help to get paypal working much needed.
artfarm is offline  
Old 11-27-04, 09:41 AM   #11
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
I have not used the PayPal contribution (my store doesn't take PayPal), but in general, after you have installed a payment module, you have to log in to your osCommerce admin panel, the modules section, and enable the new module. Here is where you set your PayPal ID and other details and also establish the order of payment options to be displayed.
__________________
Steve
stevel is offline  
Old 11-27-04, 10:58 AM   #12
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
configure.php

includes/configure.php

PHP Code:
<?php
/*
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  
define('HTTP_SERVER''http://advancedmicrostore.com'); // eg, http://localhost - should not be empty for productive servers
  
define('HTTPS_SERVER''https://advancedmicro.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
  
define('ENABLE_SSL'true); // secure webserver for checkout procedure?
  
define('HTTP_COOKIE_DOMAIN''advancedmicrostore.com');
  
define('HTTPS_COOKIE_DOMAIN''advancedmicrostore.com');
  
define('HTTP_COOKIE_PATH''/store/catalog/');
  
define('HTTPS_COOKIE_PATH''/store/catalog/');
  
define('DIR_WS_HTTP_CATALOG''/store/catalog/');
  
define('DIR_WS_HTTPS_CATALOG''/store/catalog/');
  
define('DIR_WS_IMAGES''images/');
  
define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
  
define('DIR_WS_INCLUDES''includes/');
  
define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
  
define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
  
define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
  
define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
  
define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');

  
define('DIR_WS_DOWNLOAD_PUBLIC''pub/');
  
define('DIR_FS_CATALOG''/www/me/d/advancedmicrostore.com/htdocs/store/catalog/');
  
define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
  
define('DIR_FS_DOWNLOAD_PUBLIC'DIR_FS_CATALOG 'pub/');

// define our database connection
  
define('DB_SERVER''******'); // eg, localhost - should not be empty for productive servers
  
define('DB_SERVER_USERNAME''******');
  
define('DB_SERVER_PASSWORD''*****');
  
define('DB_DATABASE''*******');
  
define('USE_PCONNECT''false'); // use persistent connections?
  
define('STORE_SESSIONS''mysql'); // leave empty '' for default handler or set to 'mysql'
?>



admin/includes/cofigure.php

PHP Code:
<?php
/*
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  
define('HTTP_SERVER''http://advancedmicrostore.com'); // eg, http://localhost - should not be empty for productive servers
  
define('HTTP_CATALOG_SERVER''http://advancedmicrostore.com');
  
define('HTTPS_CATALOG_SERVER''https://advancedmicro.secure.powweb.com');
  
define('ENABLE_SSL_CATALOG''true'); // secure webserver for catalog module
  
define('DIR_FS_DOCUMENT_ROOT''/www/a/d/advancedmicrostore.com/htdocs/store/catalog/'); // where the pages are located on the server
  
define('DIR_WS_ADMIN''/store/catalog/admin/'); // absolute path required
  
define('DIR_FS_ADMIN''/www/a/d/advancedmicrostore.com/htdocs/store/catalog/admin/'); // absolute pate required
  
define('DIR_WS_CATALOG''/store/catalog/'); // absolute path required
  
define('DIR_FS_CATALOG''/www/me/d/advancedmicrostore.com/htdocs/store/catalog/'); // absolute path required
  
define('DIR_WS_IMAGES''images/');
  
define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
  
define('DIR_WS_CATALOG_IMAGES'DIR_WS_CATALOG 'images/');
  
define('DIR_WS_INCLUDES''includes/');
  
define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
  
define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
  
define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
  
define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
  
define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
  
define('DIR_WS_CATALOG_LANGUAGES'DIR_WS_CATALOG 'includes/languages/');
  
define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
  
define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
  
define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
  
define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/');

// define our database connection
  
define('DB_SERVER''******'); // eg, localhost - should not be empty for productive servers
  
define('DB_SERVER_USERNAME''*******');
  
define('DB_SERVER_PASSWORD''*****');
  
define('DB_DATABASE''*******');
  
define('USE_PCONNECT''false'); // use persisstent connections?
  
define('STORE_SESSIONS''mysql'); // leave empty '' for default handler or set to 'mysql'
?>
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 11-27-04, 12:44 PM   #13
artfarm
Registered
 
Join Date: Oct 2004
Location: France
Posts: 5
Reputation: 5
to log in to your osCommerce admin panel,

Where is the oscommerce admin panel. I guess I have a few things missing. I have no clue. I have looked at all the files from the server. Where should the oscommerce admin be. Where is the payments module and where do I start. I guess I should take up fishing or something. Guess the time difference does not help. things.
artfarm is offline  
Old 11-27-04, 09:54 PM   #14
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
Hello artfarm... I think that you should read this before you ask any other questions http://www.oscommerce.info This will answer a lot of your questions and also... http://forums.oscommerce.com You access the admin panel by going to http://www.yoursite.com/yourstoredirectory/admin but dont forget to secure this area of your site from unwanted visitors - "hackers" you will need to reference to...http://forum.powweb.com/showthread.php?t=21696 this will explain this process... also your payment modules are located inside your admin panel... under the modules link then payment modules....

I hope this helps you!!
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 11-28-04, 09:34 AM   #15
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
This is wrong:
PHP Code:
define('HTTPS_COOKIE_DOMAIN''advancedmicrostore.com'); 
It should read:
PHP Code:
define('HTTPS_COOKIE_DOMAIN''advancedmicro.secure.powweb.com'); 
__________________
Steve
stevel is offline  
Old 11-29-04, 10:38 AM   #16
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
Yep! Thats all it was... oops... Thanks for all your help!
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 11-29-04, 11:08 AM   #17
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
Question

One more quick question and I am sure it deals with the same thing.... the cookies... but now when I am logged in on my https part of the site I can see my categories but when I am on the http part of my site the box is there but nothing shows!!!
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:01 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.