Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tonyc2001

Members
  • Content count

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    Tony Christie
  1. tonyc2001

    Urgent issue with EWAY Contrib (non ssl version)

    Not sure whether this has been pointed out before, but there is a problem in /eway_payment.php that causes the successful return from eway to not continue processing, but to return the generic 'Credit Card Error!' message. /includes/modules/payment/eway.php has the following 'before_process' function: function before_process() { global $HTTP_GET_VARS; if ((!isset($HTTP_GET_VARS['authcode'])) || ($HTTP_GET_VARS['authcode'] == "") || ($HTTP_GET_VARS['status'] == "False") || ($HTTP_GET_VARS['order_id'] == '') || (!isset($HTTP_GET_VARS['order_id']))) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_EWAY_TEXT_ERROR), 'SSL', true, false)); } } This requires that the current page's GET vars include 'authcode', 'status' and 'order_id'. However, these are not passed to the $Success_Page in /eway_payment.php: header("Location:$Success_Page?osCsid=$response_trxn_Option1&order_id=$response_trxn_number"); When I changed the header() function in /eway_payment.php to include these vars, then the successful eway txn was processed through osC correctly: header("Location:$Success_Page?osCsid=$response_trxn_Option1&order_id=$response_trxn_number&authcode=$response_trxn_AuthCode&status=$response_trxn_status"); Cheers Tony
  2. Surfalot, you're a genius! This worked a treat and within a few minutes our database has been converted over! Now looking for an easy way to convert over the colors and sizes... Is there a summary anywhere on how to do this? We have about 50 each of color and size categories. From what I can see in the docs, this is going to make the matching of color and size categories to the respective products almost as tedious as hand entering it. Thanks again! This is a great contribution... Cheers Tony
  3. Sorry, I thought the assumption was so accurate I didn't need to supply the info... We are running OSC 2.2 rc2 with register_globals off. I'm not sure what "with admin login" means, but we have to login to the admin function. Is there anything else that would help? Cheers Tony
  4. Have tried both the upload version and from the temp directory. Same result unfortunately :( . Cheers Tony
  5. Ok, just realised I was running a non-surfalot version (gasp!), so have now installed EP vers: 2.76f-MS2 r1. Same problem. Just get dumped out to the admin login screen with no messages and no uploaded data. New EP config data: EP vers: 2.76f-MS2 r1 Temp Dir: /home/bedarin1/public_html/temp/ Temp Dir is Writable Magic Quotes is: off register_globals is: off Split files on: 300 records Model Num Size: 35 Price with tax: true Calc Precision: 2 Replace quotes: false Field seperator: comma Excel safe output: true Preserve tab/cr/lf: false Category depth: 7 Enable attributes: true SEF Froogle URLS: false More Pics: false Unknown Pics: false HTC: false SPPC: false Extra Fields: false Cheers Tony
  6. Hi all, I've installed EP 2.76e, followed the manual for the install to the best on my knowledge. In fact just reinstalled. Whenever I do any functions in EP it dumps me out to the admin login screen. On export, I get the file in the /temp/ directory, dumped to the login screen. On logging in, I then get a page with just the message: You can get your file in the Tools/File Manager here: /home/xxxxxx/public_html/temp/EPEP2008Mar11-0707.csv The exported file looks ok. When I try to import the exported file of the default OSC data (or in fact any file) I get dumped to the admin login screen, then after logging in I get the EP screen and no message. Also no import of data. My questions are: 1) Is getting put to the admin login screen normal behaviour for EP? 2) Is the blank screen with the EP messages a normal behaviour? 3) Any ideas on why this is happening? As per manual, here's my data: 1) PHP Version Linux 2.6.22-hardened-r8 & PHP Version 5.2.5 2) EP Settings EP vers: 2.76e Temp Dir: /home/bedarin1/public_html/temp/ Temp Dir is Writable Magic Quotes is: off register_globals is: off Split files on: 300 records Model Num Size: 35 Price with tax: true Calc Precision: 2 Replace quotes: false Field seperator: comma Excel safe output: true Preserve tab/cr/lf: false Category depth: 7 Enable attributes: true SEF Froogle URLS: false More Pics: false Unknown Pics: false HTC: false SPPC: false Extra Fields: false 3) Error message None 4) Link to a sample of any upload file http://ans22.midphase.com/~bedarin1/temp/E...8Mar08-2109.csv Other contributions/addons loaded: eway payment module v1.1 bartercard payment module missing images report AJAX attribute manager Product Attributes Sort Order Any ideas on what I should try now (other than giving up and going home)? Cheers Tony
  7. I'm getting the same error messages, and this change didn't help me at all. Simply thew up another error message. Does anyone here have prior experience with these errors? This is a great contribution and I'd really like it to play nice with my install. Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/bedarin1/public_html/admin/includes/functions/sessions.php on line 123 ...this error is repeated six times!!! Then... Warning: Cannot modify header information - headers already sent by (output started at /home/bedarin1/public_html/admin/includes/functions/sessions.php:123) in /home/bedarin1/public_html/admin/attributeManager/attributeManager.php on line 71 Help... Cheers Tony
×