View Full Version : Paypal Set up for oscommerce help please
artfarm
11-26-04, 09:02 AM
:confused: :confused: :confused: 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.
Jade Dragon
11-26-04, 09:12 AM
go to the payments modual and install + paypal. Then you will need to enter your paypal account email.
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 (http://www.oscommerce.com/community/contributions,1753) and install the PayPal IPN contribution. This uses a secure and protected interface that guarantees the correct payment has been made.
artfarm
11-26-04, 09:39 AM
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 :confused:
artfarm
11-26-04, 09:56 AM
How do I add paypal as payment method. I have canceled cc and cod but paypal says true but does not show up.
You have to enable the payment module in osCommerce admin panel.
ToI2n_knIgHt
11-26-04, 03:31 PM
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!
ToI2n_knIgHt
11-26-04, 04:06 PM
I think that it is doing this because it will not keep me logged in.... just a fyi... thanks again for the help!
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.
artfarm
11-27-04, 08:18 AM
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.
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.
ToI2n_knIgHt
11-27-04, 10:58 AM
includes/configure.php
<?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
/*
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'
?>
artfarm
11-27-04, 12:44 PM
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. :confused: :confused: :confused: Guess the time difference does not help. things.
ToI2n_knIgHt
11-27-04, 09:54 PM
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!! :cool:
This is wrong:
define('HTTPS_COOKIE_DOMAIN', 'advancedmicrostore.com');
It should read:
define('HTTPS_COOKIE_DOMAIN', 'advancedmicro.secure.powweb.com');
ToI2n_knIgHt
11-29-04, 10:38 AM
Yep! Thats all it was... oops... :rolleyes: Thanks for all your help! :cool:
ToI2n_knIgHt
11-29-04, 11:08 AM
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!!! :confused:
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.