dstewart Posted May 16, 2005 Share Posted May 16, 2005 Ideas, suggestions, or comments please. RE: http://www.oscommerce.com/community/contributions,1420 Using: define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); $Id: efsnet.php,v 1.1 2005/02/26 13:02:43 RajMcVay Exp $ For either ?CreditCardCharge? or ?CreditCardAuthorize?, we get in the red stripe: Your credit card was declined. Please try another card or contact your bank for more info. EVEN THOUGH EFSnet approved/authorized the transaction and posted them to the merchant account. In the ?test? mode, we get: Warning: Wrong parameter count for print_r() in /OUR_PATH_HIDDEN/includes/modules/payment/efsnet.php on line 172 Warning: Cannot add header information - headers already sent by (output started at /OUR_PATH_HIDDEN/includes/modules/payment/efsnet.php:172) in /OUR_PATH_HIDDEN/includes/functions/general.php on line 29 Quote Link to comment Share on other sites More sharing options...
dstewart Posted May 26, 2005 Author Share Posted May 26, 2005 I'm NOT 100% sure this makes everything work, but it at least gets past the credit card declined messages. RE: http://www.oscommerce.com/community/contributions,1420 define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); $Id: efsnet.php,v 1.1 2005/02/26 13:02:43 RajMcVay Exp $ File: 'includes/modules/payments/efsnet.php' PROBLEM #1: For either ?CreditCardCharge? or ?CreditCardAuthorize?, we get: Your credit card was declined. Please try another card or contact your bank for more info. even though EFSnet approved/authorized the transaction and posted them to the merchant account. RESOLUTION #1: Change: if ( ($result['ResponseCode'] != '0') || ($result['ResponseCode'] != '00') ) to if ( ($result['ResponseCode'] != '0') || ($result['ResultCode'] != '00') ) (The way it was, the 'if' statement is ALWAYS true and shows only the "declined" message. This corrects the '00' to the correct 'ResultCode'.) Change: $efsnetyes = 'Not Compiled'; to $efsnetyes = 'UseTheSectionAnyway'; (This makes the other section of the 'if' statement, which seems to be correct, function). PROBLEM #2: In the ?test? mode, we get: Warning: Wrong parameter count for print_r() in /OUR_PATH_HIDDEN/includes/modules/payment/efsnet.php on line 172 Warning: Cannot add header information - headers already sent by (output started at /OUR_PATH_HIDDEN/includes/modules/payment/efsnet.php:172) in /OUR_PATH_HIDDEN/includes/functions/general.php on line 29 RESOLUTION #2: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_EFSNET_TEXT_DECLINED_MESSAGE. $result['ResultMessage'].$result['data'].print_r($order->info, true)), 'SSL', true, false)); to: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_EFSNET_TEXT_DECLINED_MESSAGE . "RESULT MESSAGE: " . $result['ResultMessage'] . $result['data'] . "print_r($order->info)" ), 'SSL', true, false) ); (This fixes the error, but causes a loss of function in the message. A better programmer can probably correct this much better than me!). Quote Link to comment Share on other sites More sharing options...
Guest Posted June 8, 2005 Share Posted June 8, 2005 Added it here Danny, Thanks So much! http://www.oscommerce.com/community/contributions,1420 Quote Link to comment Share on other sites More sharing options...
POV Posted June 9, 2005 Share Posted June 9, 2005 Added it here Danny, Thanks So much! http://www.oscommerce.com/community/contributions,1420 <{POST_SNAPBACK}> THIS ACTUALLY WORKS, THIS ACTUALLY WORKS.... AFTER 2 MONTHS OF MY LIFE HAVE BEEN WASTED ON THIS @#$% MODULE, IT ACTUALLY WORKS.... Thank you so VERY, VERY Much for fixing this for us..... Rob Quote ------------------------------- Rob Huntsville, AL Link to comment Share on other sites More sharing options...
Guest Posted June 18, 2005 Share Posted June 18, 2005 Hi will anyone be adding CVV or CVV2 support to efsnet? THIS ACTUALLY WORKS, THIS ACTUALLY WORKS.... AFTER 2 MONTHS OF MY LIFE HAVE BEEN WASTED ON THIS @#$% MODULE, IT ACTUALLY WORKS.... Thank you so VERY, VERY Much for fixing this for us..... Rob <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
RollingStone Posted March 14, 2006 Share Posted March 14, 2006 Thats a great question...anyone? Quote Link to comment Share on other sites More sharing options...
dmsigns Posted June 22, 2006 Share Posted June 22, 2006 Not working for me. Could it be because I'm using - 2.2ms2 (release 6) Please advise. I'm having the same problem. Approving at the EFSnet server but not in customers browser. Thanks Darin Added it here Danny, Thanks So much! http://www.oscommerce.com/community/contributions,1420 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 31, 2006 Share Posted July 31, 2006 I just downloaded the EFSnet payment module for osCommerce and the changes recommended above have already been implemented. I'm using osCommerce 2.2ms2-051113. I get the red banner error message that the credit card cannot be validated. Neither can my storeID nor my transaction key be validated. I have the payment module in test mode. Am I using the test credit card of 4111111111111111. I'm looking for suggestions as to what to try next. Quote Link to comment Share on other sites More sharing options...
kenlyle Posted October 25, 2006 Share Posted October 25, 2006 You need a working test account from: http://www.concordefsnet.com/misc/EFSnetFreeTestAccount.asp The module calls the StoreID username, and the StoreKey Transaction Key. You also need to fix the test server URLs, per my note in the Contributions section. I just ran my first transaction on my test server. Muddling through all this took me a few hours, but the actual work was minutes, as usual. Best, Ken Quote Link to comment Share on other sites More sharing options...
qiman Posted May 6, 2007 Share Posted May 6, 2007 I get a sql database timeout with efsnet payment module. I understand that I need to use a curl script. BUT, I can't find info on exactly what script do I use and EXACTLY where to I put it? Thanks! Quote Link to comment Share on other sites More sharing options...
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.