nine7sicks Posted September 12, 2005 Posted September 12, 2005 I have searched the forum for an answer without any luck. If this has been answered before or I am just an idiot I apologize. I set the authorize.net module to test. Used the testing cc#'s to run the test. I hit checkout and the address changes to https://secure.authorize.net/gateway/transact.dll and I get an error saying, "There has been an error processing your credit card. Please try again." Is this suppose to happen because it is a test or is it suppose to go through the full process, but obviously sending a dummy transaction. Any tips or suggestions would be helpful. Basically, I want to know how to test the module correctly so that I know everything works before I go live with the store. Thank you. I am using osCommerce 2.2-MS2 with PHP Version 4.3.10 Quote
skopylov Posted September 13, 2005 Posted September 13, 2005 Most likely you are using Simple Integration Method (SIM) instead of Advanced Integration Method (AIM). AIM requires an SSL certificate that would allow the merchants to remain on the website when paying for your product, keeping the look and feel of the website. Actually I'm having a similar issue (http://www.oscommerce.com/forums/index.php?showtopic=169676) and nobody answers... Quote
Guest Posted September 13, 2005 Posted September 13, 2005 use the authorizenet with curl contribution, make sure you apply the curl fix Quote
b3ngh1 Posted September 13, 2005 Posted September 13, 2005 I was having the same problem earlier today. I found this post though and just followed the directions of the first reply carefully. it's still not working perfectly but I'm definitely making headway... http://www.oscommerce.com/forums/index.php?sho...x_response_code oh, and these little hacks helped me figure out what was going on: ben@rose:www-ssl$ diff -u catalog.backup1/includes/modules/payment/authorizenet.php catalog/includes/modules/payment/authorizenet.php --- catalog.backup1/includes/modules/payment/authorizenet.php 2005-09-12 13:43:08.000000000 -0700 +++ catalog/includes/modules/payment/authorizenet.php 2005-09-13 00:09:43.079752788 -0700 @@ -254,6 +254,9 @@ if ($HTTP_POST_VARS['x_response_code'] == '2') { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_AUTHORIZENET_TEXT_DECLINED_MESSAGE), 'SSL', true, false)); } + + error_log('autorize.net processing error: '.$HTTP_POST_VARS["x_response_reason_code"].' '.$HTTP_POST_VARS["x_response_reason_text"]); + // Code 3 is an error - but anything else is an error too (IMHO) tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_AUTHORIZENET_TEXT_ERROR_MESSAGE), 'SSL', true, false)); } and... ben@rose:www-ssl$ diff -u catalog.backup1/checkout_process.php catalog/checkout_process.php --- catalog.backup1/checkout_process.php 2005-09-12 14:14:19.000000000 -0700 +++ catalog/checkout_process.php 2005-09-12 20:56:16.000000000 -0700 @@ -10,6 +10,12 @@ Released under the GNU General Public License */ + ob_start(); + var_dump($_REQUEST); + $content = ob_get_contents(); + ob_end_clean(); + error_log($content); + include('includes/application_top.php'); // if the customer is not logged on, redirect them to the login page Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.