Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.


brianscwhitaker

Recommended Posts

I have taken over a OSCommerce run site that is hosted on a linux server through lunar pages.

 

We use Sage Pay to clear credit cards through the site. Recently sage pay did a security certificate update to sha-1 to sha-2. Since this change we've not been able to clear transactions through the site. Sage has essentially zero customer support for linux, so I am left swimming to find a fix. I was told that if we were to change the "post location" for our transactions, this will be a fix.

 

They said to do to change the following. current post location is https://va.eftsecure.net change to https://gateway.sagepayments.net. I made this change here in my site. This is on line 220 on the attached page.

 

/public_html/includes/modules/payment/

 

When I make this change as reflected in the attached, I get the following error when I try to make transactions.

 

Payment Error

There has been an error processing your credit card. Please try again.

Server Error

 

405 - HTTP verb used to access this page is not allowed.

The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

 

 

Server Error

 

 

 

405 - HTTP verb used to access this page is not allowed.

 

The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

 

 

apache 2.2.24

mysql 5.5.30

php 5.3.27

osCommerce Online Merchant v2.2 RC2a

 

I have no doubt that many of the versions from server to OSCommerce are very much out of date. Is there anything I need to do? Any help would be great. Thanks!net1-backup.php

Edited by brianscwhitaker
Link to comment
Share on other sites

Hi

Try looking in the includes/modules/payment/filename.php file (where filename.php is the name of the file your sage setup is using - there's a fair few around so I can't be specific)

 

Towards the top of that file there's the class constructor and in there you may find a lne starting with

 

$this->form_action_url=

 

That line will redirect the browser following checkout_confirmation.php rather than allow it to go to checkout_process.php - so if you have such a line try popping the new url in there.

 

If you don't have such a line then look further through the code - you may spot a sage url in the function before_process() - again try the new url in there

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