Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sagepay Form returning me to checkout_process


JohnCooper

Recommended Posts

Hi John,

 

Sorry to hear you are having difficulties integrating with Sage Pay.

 

The page to which your customer should return for a successful order is what has been specified to Sage Pay in the SuccessURL field. In your case for some reason the checkout_process file must be being specified as your SuccessURL instead of the checkout_success file. If you can provide your account name I will be happy to check this for you. I am not sure exactly where within your OS Commerce this can be amended, whether this can be changed in the administration area or whether you will need to amend the code of the site. If it is within the code your best bet might be to do a Ctrl+F within your code files for 'SuccessURL'. You should then be able to find what this is currently specified as.

 

Any problems please feel free to contact me on 0845 111 4455 ext. 48082

 

Shawn (Sage Pay)

Edited by Shawn_SagePay
Link to comment
Share on other sites

Hi Shawn,

 

The merch ID is meadowhamptonli.

 

I've looked in the Admin section on the Ecommerce administration area, and the sagepay form code,(and a sitewide search as you suggest) but I can't find any line of code that shows where the SuccessURL is being defined. any help you can give would be great.

 

John

Link to comment
Share on other sites

I've spent quite a time tryign to find where the SuccessURL is defined, and all I can find are these line of code in the sagepay_form.php file:

 

217 $plain .= "SuccessURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&";

218 $plain .= "FailureURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&";

 

Should be changing these?

Edited by JohnCooper
Link to comment
Share on other sites

Ok, now I've noticed i'm not getting any order recorded.

 

I can go through the payment process, but I get send back to the payment process and an error message:

 

http://www.rattancanefurniture.co.uk/checkout_payment.php?error_message=

 

but there's no error message?

 

 

 

HTTP Status Code:

 

 

400

 

HTTP Status Message:

 

 

The syntax of the request was not understood by the server.

 

Error Code :

 

 

5002

 

Error Description :

 

 

Invalid request.

Link to comment
Share on other sites

  • 4 months later...

Did you ever solve this problem?

 

My site has worked fine for years, but recently has just started with this error. As I understand it, sagepay should be sending customers back to the checkout_process.php page which "processes" the order and stores it in the database, before redirecting them to the checkout_success.php page.

 

Any help you can give would be much appreciated.

Link to comment
Share on other sites

Did you ever solve this problem?

 

 

I solved this problem by ditching "Form" and using "Server". No-one could ever find a reason for the issue (may have been a slow server issue) but it has never occurred since using "Server".

Edited by tigergirl

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Link to comment
Share on other sites

I solved this problem by ditching "Form" and using "Server". No-one could ever find a reason for the issue (may have been a slow server issue) but it has never occurred since using "Server".

 

Hi,

 

Thanks for your response. I've since realised that the problem seems to be related to having changed the URLs from the old protx ones to the new sagepay ones - switching back to the old protx urls the payment system works again. This is strange, as the old urls only seem to redirect to the new ones anyway... still looking, so any further help or suggestions are welcome!

Link to comment
Share on other sites

I solved this problem by ditching "Form" and using "Server". No-one could ever find a reason for the issue (may have been a slow server issue) but it has never occurred since using "Server".

 

Ok, I think I need to give up on the VSP form method, did you use a contribution for the VSP Server? If so, which one please?

Link to comment
Share on other sites

Ok, I think I need to give up on the VSP form method, did you use a contribution for the VSP Server? If so, which one please?

 

There is only one module for Sagepay Server http://addons.oscommerce.com/info/6984

 

V1.1 is the one to use.

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Link to comment
Share on other sites

There is only one module for Sagepay Server http://addons.oscommerce.com/info/6984

 

V1.1 is the one to use.

 

Thank you very much for that, I've spent all day on this error and got nowhere, despite 4 calls to sagepays helpline... giving up for today but will try the server one tomorrow I think.

 

From what I can work out, the problem on my end might even be intermittent as I've just found an order from late last night that managed to go through ok!

Link to comment
Share on other sites

Thank you very much for that, I've spent all day on this error and got nowhere, despite 4 calls to sagepays helpline... giving up for today but will try the server one tomorrow I think.

 

From what I can work out, the problem on my end might even be intermittent as I've just found an order from late last night that managed to go through ok!

 

Well I spent a lot more than a day on it on different forums and with sagepay techies. Mine was intermittent but one order going that way and not logged in admin was one too many as far as I was concerned as it can create a lot of issues if you ship to wrong address or don't get the comments someone has added to the order.

 

Good luck with "Server".

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

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.
Note: Your post will require moderator approval before it will be visible.

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