Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Barclays ePDQ querystring removal


JK_G

Recommended Posts

Hello all,

 

I have recently built my first osCommerce site using many contributions, yet this one is the most important and i cant get it to work!!

 

I am using: ePDQ Payment Module v1.09 from the contributions area.

 

I need to remove the osCSid querystring so that Barclays ePDQ will validate the allowed URL. Sid killer wont work because i need no query strings especially when the user is logged in. The author of the contribution said to change the config file, i have done this and still it wont work:

 

define('HTTP_SERVER', 'http://flowersbysallymay.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'flowersbysallymay.co.uk'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'flowersbysallymay.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'flowersbysallymay.co.uk');

define('HTTP_COOKIE_PATH', '/catalog/'); // path to your store

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

 

this is what i have got, i have put a dot before the HTTP_COOKIE_DOMAIN and tryed every combination!!

HELP!

 

Thanks for reading and hopefully you can give me some tips

Joe

Link to comment
Share on other sites

You do know that you need SSL on your server to use Barclaycard ePDQ, right?

 

Assuming you DO have SSL, I have spotted the following wrong entries:

 

error 1:

 

define('HTTPS_SERVER', 'flowersbysallymay.co.uk'); // eg, https://localhost - should not be empty for productive servers

 

change this to

 

define('HTTPS_SERVER', 'https://flowersbysallymay.co.uk'); // eg, https://localhost - should not be empty for productive servers

 

error 2:

 

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

 

change this to

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

error 3:

 

define('HTTPS_COOKIE_PATH', '');

 

change this to

 

define('HTTPS_COOKIE_PATH', '/catalog/');

Edited by Sam G
Link to comment
Share on other sites

Thanks Sam G for your help, I recieved some much appreciated support from the author of the module and he made the following changes:

 

/catalog/includes/configure.php

define('HTTP_COOKIE_PATH', '/ catalog /'); // path to your store

TO

define('HTTP_COOKIE_PATH', '/catalog'); // path to your store

 

define('DIR_WS_HTTPS_CATALOG', ' ');

TO

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

/admin/includes/configure.php

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

TO

define('HTTP_CATALOG_SERVER', 'http://site.co.uk/');

define('HTTPS_CATALOG_SERVER', 'https://site.co.uk/');

 

In the admin panel I changed the cache directory

http://path.co.uk/cache

TO

/path/cache/

 

And session directory

http://www./site.co.uk/cookies

TO

/path/cookies/

 

Still having problems but i am a step closer!

 

Thanks

Joe

Link to comment
Share on other sites

I'm not too hot with shared certs but the below looks reasonable . .

 

define('HTTP_SERVER', 'http://flowersbysallymay.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://flowersbysallymay.c6.ixwebhosting.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'flowersbysallymay.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'flowersbysallymay.c6.ixwebhosting.com');

define('HTTP_COOKIE_PATH', '/catalog/'); // path to your store

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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