Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Realex Oscommerce


ms35d4

Recommended Posts

Hey

 

Thank you for taking time to read this.

 

I am having alot of issues trying to install the realex redirect add on. Currently in TEST MODE

 

I downloaded the module from the site,

 

 

Follwoed the instructions,

The before_process.php file should be uploaded to the merchants shop (in the same directory as checkout_process.php)

 

Which is same as index.php so this is where I put that file.

 

I am using version

Type: OsCommerce 2.2 RC2a

 

 

instructions ask to choose and then rename file to realex.php

 

Install realexmsoscms3 if you are running OSCommerce 2.2 MileStone 3.

Install realexmsoscms2 if you are running OSCommerce 2.2 MileStone 2.

 

So in the download I renamed the file called

Install realexmsoscms3 if you are running OSCommerce 2.2 MileStone 3

 

 

Ok, I edited this file with merchant id and shared secret, when into admin for oscommerce enable the module and added the merchant id and shared secret

 

I have the module setup as far as I can see. With the files uploaded according to the locations in the download folder.

 

1. As far as I am awre the return url to provide realex with it http://www.mydomain.co.uk/before_process.php

 

is this correct?

 

 

2. Now I am able to go through checkout using test card numbers but get message after card has been accepted and processed

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.!

 

 

3.If I try and open the before_process.php file using full url in the browser

 

 

I see this error on screen.

 

Realex error

Hashes dont match - response not authenticated

 

4. Realex provided me with a log

 

here is parts of it

 

 

''_protocol'' => ''HTTP/1.1'',

''_content'' => ''<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>406 Not Acceptable</title>

</head><body>

<h1>Not Acceptable</h1>

<p>An appropriate representation of the requested resource /before_process.php could not be found on this server.</p>

<p>Additionally, a 404 Not Found

error was encountered while trying to use an ErrorDocument to handle the request.</p>

 

 

Realex say that their servers can not connect to your response URL, can you please ensure that this is set up correctly.

 

Please can someone explain where things are going wrong as this is the second whole day been stuck with this.

 

If anyone is using ocomemerce and realex redirect add on please get in touch.

 

Kind Regards

Link to comment
Share on other sites

  • 7 months later...

Hi we have implemented this many times, please pm me for more details.

 

realex 3d redirect on oscommerce is tricky as realex do not allow redirects on the response url, but oscommerce rely on this. So there is a rewrite if the checkout_process.php code to prevent this.

free is often better than cheap

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...