newdles Posted June 22, 2004 Posted June 22, 2004 I'm trying to setup osCommerce so that when someone purchases an item, it automatically forwards me an email saying someone has purchased a product. Hopefully that email will also give me their full contact information and such. Is this enabled by default or is this an addon?
241 Posted June 22, 2004 Posted June 22, 2004 in admin under configuration my store fill in the section send extra order emails to this bit here Store Name osCommerce Store Owner Harald Ponce de Leon E-Mail Address root@localhost E-Mail From osCommerce <root@localhost> Country United States Zone Florida Expected Sort Order desc Expected Sort Field date_expected Switch To Default Language Currency false Send Extra Order Emails To Use Search-Engine Safe URLs (still in development) false Display Cart After Adding Product true Allow Guest To Tell A Friend false Default Search Operator and No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
newdles Posted June 22, 2004 Author Posted June 22, 2004 Also, I'm having a problem checking out. When I go to checkout after being signed in, it automatically asks me to login again. I login again and click checkout once more and it does the same thing. The cart contents stay stationary though but I just can't checkout. Anyone have any idea what could be causing this?
241 Posted June 22, 2004 Posted June 22, 2004 do you have SSL enabled what are your cookie settings what paths do you have for cookies in the configure.php what do you have entered for the cookie domain in the configure.php No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
newdles Posted June 22, 2004 Author Posted June 22, 2004 in admin under configuration my store fill in the section send extra order emails to this bit here Store Name osCommerce? Store Owner Harald Ponce de Leon? E-Mail Address root@localhost? E-Mail From osCommerce <root@localhost>? Country United States? Zone Florida? Expected Sort Order desc? Expected Sort Field date_expected? Switch To Default Language Currency false? Send Extra Order Emails To? ? Use Search-Engine Safe URLs (still in development) false? Display Cart After Adding Product true? Allow Guest To Tell A Friend false? Default Search Operator and Thanks Steve. That information is already set. Apparently noone has made a full checkout yet though. My client (I customized the oscommerce cart for him) says that he hasn't made a full checkout successfully nor have I even when I tried. I'm thinking it's some form of cookie error or something being that I'm using a shared certificate on my server and I have it set to use cookies instead of the database I think. Can't remember what I set it too right offhand.
newdles Posted June 22, 2004 Author Posted June 22, 2004 I'm looking at the HTTPS_COOKIE_DOMAIN and thinking that should be set to the same as my HTTPS_SERVER shouldn't it? ?define('HTTP_SERVER', 'http://www.graphics-tech.com'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://pass5.dizinc.com/~newdles/'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'www.graphics-tech.com'); ?define('HTTPS_COOKIE_DOMAIN', 'www.graphics-tech.com'); ?define('HTTP_COOKIE_PATH', '/temp/'); ?define('HTTPS_COOKIE_PATH', '/temp/'); ?define('DIR_WS_HTTP_CATALOG', '/temp/'); ?define('DIR_WS_HTTPS_CATALOG', '/temp/'); ?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', '/home/newdles/public_html/temp/'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', 'user'); ?define('DB_SERVER_PASSWORD', 'pass'); ?define('DB_DATABASE', 'database'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ? // CLR 020605 defines needed for Product Option Type feature. ?define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); ?define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); ?define('PRODUCTS_OPTIONS_TYPE_RADIO', 2); ?define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3); ?define('TEXT_PREFIX', 'txt_'); ?define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); ?//Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES
newdles Posted June 22, 2004 Author Posted June 22, 2004 I just realized that it "might" possible be in the admin/includes/configure.php as well. Here is that code. ?define('HTTP_SERVER', 'http://www.graphics-tech.com'); // eg, http://localhost - should not be empty for productive servers ?define('HTTP_CATALOG_SERVER', 'http://www.graphics-tech.com'); ?define('HTTPS_CATALOG_SERVER', 'https://www.graphics-tech.com'); ?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module ?define('DIR_FS_DOCUMENT_ROOT', '/home/newdles/public_html/temp/'); // where the pages are located on the server ?define('DIR_WS_ADMIN', '/temp/admin/'); // absolute path required ?define('DIR_FS_ADMIN', '/home/newdles/public_html/temp/admin/'); // absolute pate required ?define('DIR_WS_CATALOG', '/temp/'); // absolute path required ?define('DIR_FS_CATALOG', '/home/newdles/public_html/temp/'); // 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', 'localhost'); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', 'username'); ?define('DB_SERVER_PASSWORD', 'password'); ?define('DB_DATABASE', 'database'); ?define('USE_PCONNECT', 'false'); // use persisstent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
241 Posted June 22, 2004 Posted June 22, 2004 you have HTTPS_SERVER as one thing in the catalog configure.php and in admin HTTPS_CATALOG_SERVER as another also in admin you can remove the / from the end of the path for FS_DOCUMENT_ROOT No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.