Jump to:
| Project: | Ubercart Realex |
| Version: | 6.x-2.0-beta3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | teck |
| Status: | closed (fixed) |
Issue Summary
Hi, Im hoping someone can shed some light on why this might be happening
This error has just started showing up after I finalise test card transactions.
"Your transaction has been successful but there was a problem connecting back to the merchant's web site. Please contact the merchant and advise them that you received this error message. Thank you."
Everything had been working fine up until two days ago. Processing the test card, sending back information about the order number, login details, etc...
I'm using Drupal 6.16, Ubercart 6.x-2.2 and UC_Realex 6.x-2.0-beta3
I have made no alterations to ubercart, drupal or this module for that mater that would/should of affected the processing.
I have been in contact with realex support and they send me back this log message and saying its something wrong with uc module.
Page logs just display the error msg : An error has occurred during payment. Please contact us to ensure your order has submitted.
Find below how the response is being handled on your page .
$VAR1 = bless( {
''_protocol'' => ''HTTP/1.1'',
''_content'' => ''An error has occurred during payment. Please contact us to ensure your order has submitted.'',
''_rc'' => ''206'',
''_headers'' => bless( {
''connection'' => ''close'',
''client-response-num'' => 1,
''cache-control'' => [
''store, no-cache, must-revalidate'',
''post-check=0, pre-check=0''
],
''last-modified'' => ''Tue, 22 Jun 2010 10:44:29 GMT'',
''set-cookie'' => ''SESSb6930ddd87f0a8b7b25f893a3459f500=d9a44b6468250f9df81cd815a86fd49f; expires=Thu, 15-Jul-2010 14:17:49 GMT; path=/; domain=.irishprocycling.com'',
''date'' => ''Tue, 22 Jun 2010 10:44:30 GMT'',
''client-peer'' => ''81.17.254.44:80'',
''content-length'' => ''92'',
''client-date'' => ''Tue, 22 Jun 2010 10:44:30 GMT'',
''content-type'' => ''text/html; charset=utf-8'',
''server'' => ''nginx/0.6.39'',
''content-range'' => ''bytes 0-91/92'',
''expires'' => ''Sun, 19 Nov 1978 05:00:00 GMT''
}, ''HTTP::Headers'' ),
''_msg'' => ''Partial Content'',
''_request'' => bless( {
''_content'' => ''MERCHANT_ID= ****** Info Removed*****
Thanks for time and help.
Comments
#1
Does this sort it?
#729164: redirect url after processing card details
#2
I have already submitted that information to Realex.
http://irishprocycling.com/cart/uc_realex/complete
It was working perfectly for a week, then unexpectedly I get the above error message.
#3
It could be a problem with canonical URLS
Your site is accessible from both
http://irishprocycling.com/
and
http://www.irishprocycling.com/
Is the error only occurring from one of these?
Is so, that's where the problem lies.
There is some code in the .htaccess file that ships with Drupal to let you force the site to be server from either the www version on the no-www version.
Realex need to know which one.
Cheapau!
Alan
#4
Hi Alan, thanks for your quick replies.
I have forced the site to use www only and have asked realex to update the redirect url to use www aswell.
But I'm still having the same problem.
#5
Is your site still in live mode?
But the Realex side not switched to live maybe?
I tried a transaction, and it worked fine with test card.
I got the error, but Realex shouldn't even process the fake card, if the site isn't live.
A bit baffled to be honest - something small that I'm missing most likely.
Alan
#6
Yea the website is live and Realex is in test mode.
Yea the transaction goes through, the website receives the order and is marked as paid and Realex receive the transaction.
It just doesnt display the response information back to Realex epage.
I cant think of anything else to try.
Are there any other options at all?
Am i going to have to use a different cart/ecommerce solution?
Thanks
Jonathan
#7
Well in terms of something else to try,
get the dev version
http://ftp.drupal.org/files/projects/uc_realex-6.x-3.x-dev.tar.gz
Is there any more information Realex have given?
Alan
#8
So I tried the dev release, with no luck. same issue.
I got some more info from Realex, from their logs they are getting http 500 or http 206 errors.
So Realex's connection attempts to the callback page is either not connecting or only getting a partial connection/transfer.
They set it to retry 4 times but now the callback page just returns
your standard error 'An error has occurred during payment. Please contact us to ensure your order has submitted.'
The site is hosted on Shared Blacknight and has all but aggressive caching enabled.
Do you think I should go down the route of installing Boost module (or similar) to get the most juice out of the site.
Or move to their dedicated or vpn options?
The site does seem to be straining/struggling a little as it is, avg 1500 page views a day.
Thanks again.
#9
The performance should be a separate probem from the Ubercart issue..
Http 500 is a server error response code - Is there anything in your own Drupal logs or at the server level that might help?
#10
So I fixed it.
Going through the server logs there where quite a few errors that may be causing this issue.
I found a corrupt customer order email template file that I had uploaded just a few days previous.
As usual found it hard to believe that a template file would of been the cause of the problem.
Re uploaded it and fixed!
Thanks so much for your time and your great help Alan.
Cheers
Jonathan
#11
Great Stuff!
As regards performance,
Maybe start a discussion on groups.drupal.org/ireland.
I would love to know more about your theme - maybe post something on groups.drupal.org/ireland about the site.
Regards
Alan
#12
Automatically closed -- issue fixed for 2 weeks with no activity.