Jump to content
Sign in to follow this  
brianscwhitaker

Sage Pay Question

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×