Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Authorize net- newbie trying for days to get it up


pacosvillage

Recommended Posts

Posted

1. Maybe you've got an answer for this newbie. When I go through the shipping page to payment page to checkout_confirmation page all seems to go well and no errors, then once I press "Confirm order" button the next page that comes up is the checkout_payment.php page and the url above is: https://secure.authorize.net/gateway/transact.dll. with an error message inside the page (not in the url) "There has been an error processing your credit card. Please try again (I am live in auth net and production mode in OSC)

 

2.Then someone on the forum told me to log onto Auth net and set my response/receipt urls, and now I don't get anything but an error page from auth net:

 

An error occurred while trying to report this transaction to the Merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

 

The referrer, relay response or receipt link URL is invalid.

and auth net sends me an email.

 

So I assume I should delete the response/receitp urls to get back to the issue cause in #1 and ask for some help from someone who has auth net working (regular install mode- please)

 

 

Here's what my oscommerce/includes/configure.php look like also (I am using a sharedSSL-if that can help you understand how to help me) When I go onto oscommerce in my file manager the path inside of the mydomainname.com starts me on directory, then the path I click on is: /var/www/html/oscommerce , so I'm not sure if I've done it all right in the below configure.php's from oscommerce/admin/includes and oscommerce/includes/ files :

 

 

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://www.mydomainname.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://ns.servernamethathasSSL.com/~mydomainname.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.mydomainname.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mydomainname.com');
define('HTTP_COOKIE_PATH', '/oscommerce');
define('HTTPS_COOKIE_PATH', '/oscommerce');
define('DIR_WS_HTTP_CATALOG', '/oscommerce/');
define('DIR_WS_HTTPS_CATALOG', '/oscommerce/');
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/virtual/site4/fst/var/www/html/oscommerce/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

And here's my oscommerce/admin/includes/configure.php:

 

 

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://mydomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://ns.serverwithSSL.com/~mydomainname.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site4/fst/var/www/html/oscommerce/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/oscommerce/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/virtual/site4/fst/var/www/html/oscommerce/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/oscommerce/'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site4/fst/var/www/html/oscommerce/'); // 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/');

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...