Hi, just tried the mod by christopherdarling and still getting the same error as before shown below. I'm using 1.4.0.
This transaction attempt has failed. Please use the Proceed button go back to the web store from which you were purchasing. The details of the failure are given below.
Status: INVALID
Status Detail: 3085 : The FailureURL format is invalid.
This transaction attempt has failed. Please use the Proceed button go back to the web store from which you were purchasing. The details of the failure are given below.
Status: INVALID
Status Detail: 3085 : The FailureURL format is invalid.
You'll need to modify the controller file for SagePay..
Add around line 31
You also then need to create the failure function. I've not done this yet, but I'm using SagePay for a clients site that will be going live in a couple of weeks so will have it done by then.. if anyone else gets around to it before me please post it.
You ALSO need to create the associated view file for it too.
Add around line 31
Code: Select all
$data['FailureURL'] = $this->url->https('payment/sagepay/failure&order_id=' . $this->session->data['order_id']);
Code: Select all
public function failure() {
...
}
Hi guys the following fix worked for me to get the functionality I had before (return to payment page after failure).
You need apply christopherdarling's previous fix if not done so already found here:
http://forum.opencart.com/viewtopic.php ... =15#p47304
Then find line 34 in catalog/controller/payment/sagepay.php:
Change this to:
Please post results. Cheers.
You need apply christopherdarling's previous fix if not done so already found here:
http://forum.opencart.com/viewtopic.php ... =15#p47304
Then find line 34 in catalog/controller/payment/sagepay.php:
Code: Select all
$this->data['FailureURL'] = $this->url->https('checkout/payment');
Code: Select all
$data['FailureURL'] = $this->url->https('checkout/payment/&order_id=' . $this->session->data['order_id']);
That only works for people checkout out as a member, not guests
Extract & upload this file to /catalog/controller/payment/ which will replace the existing sagepay.php file
Please post your results of this fix.
Please post your results of this fix.
Attachments
Updated sagepay controller file
Hi Cristopher,
this zip file all we need? what does it fix?
will this work for guest checkout as well as normal account checkout?
ALSO big ask, will this work for version 1.3.4?
Cheers
Geoff
this zip file all we need? what does it fix?
will this work for guest checkout as well as normal account checkout?
ALSO big ask, will this work for version 1.3.4?
Cheers
Geoff
Should work on Versions 1.3.4+. Guest / Member is supported too.
I've developed it starting on 1.3.4 but I upgraded to 1.4.0 when I completed the fix. But I don't think there was many changes between these versions that will effect the SagePay payment module.
I've developed it starting on 1.3.4 but I upgraded to 1.4.0 when I completed the fix. But I don't think there was many changes between these versions that will effect the SagePay payment module.
Hi,
Having the same Status: INVALID, Status Detail: 3087 error on the Sage Pay module. Running 1.4.4 opencart (which is awesome!) I have added Christopher Darling sagepage.php file but now it gives a different error?? :
Fatal error: Call to a member function https() on a non-object in /xxxxxxxxxx/htdocs/opencart/catalog/controller/payment/sagepay.php on line 31
Can anyone help please? or have a working file? Unfortunately my customer only uses SagePay for payments ( So I'm stuck!
Thanks
Marky
Having the same Status: INVALID, Status Detail: 3087 error on the Sage Pay module. Running 1.4.4 opencart (which is awesome!) I have added Christopher Darling sagepage.php file but now it gives a different error?? :
Fatal error: Call to a member function https() on a non-object in /xxxxxxxxxx/htdocs/opencart/catalog/controller/payment/sagepay.php on line 31
Can anyone help please? or have a working file? Unfortunately my customer only uses SagePay for payments ( So I'm stuck!
Thanks
Marky
Getting this problem also.marky wrote:Hi,
Having the same Status: INVALID, Status Detail: 3087 error on the Sage Pay module. Running 1.4.4 opencart (which is awesome!) I have added Christopher Darling sagepage.php file but now it gives a different error?? :
Fatal error: Call to a member function https() on a non-object in /xxxxxxxxxx/htdocs/opencart/catalog/controller/payment/sagepay.php on line 31
Can anyone help please? or have a working file? Unfortunately my customer only uses SagePay for payments ( So I'm stuck!
Thanks
Marky
I just installed OpenCart 1.4.6 and attempted to link up SagePay but got this error about FailureURL
After a lot of Googling I decided to just try and fix the error myself. It's basically what Chris Darling has said but I'll put my solution here for others if they need it:
In catalog/controller/payment/sagepay.php
Goto line 30
First change the three instances to HTTP_SERVER
Second you will notice that the failure URL is $this->data when it should just be $data so just changed them back.
Done and it works
After a lot of Googling I decided to just try and fix the error myself. It's basically what Chris Darling has said but I'll put my solution here for others if they need it:
In catalog/controller/payment/sagepay.php
Goto line 30
First change the three instances to HTTP_SERVER
Second you will notice that the failure URL is $this->data when it should just be $data so just changed them back.
Done and it works
Hi all,
I have just setup sagepay on an opencart 1.3.4 and I am getting the 3087 sagepay error.
After applying Christophers fix I get the 3085 error, I have tried to download the .Zip file but everytime I download and try to extract I get an error message saying the file is corrupt I have searched all over for a fix and cannot seem to find one can some one please display the remaining code for the fix.
Kind Regards
I have just setup sagepay on an opencart 1.3.4 and I am getting the 3087 sagepay error.
After applying Christophers fix I get the 3085 error, I have tried to download the .Zip file but everytime I download and try to extract I get an error message saying the file is corrupt I have searched all over for a fix and cannot seem to find one can some one please display the remaining code for the fix.
Kind Regards
Hi all,
Sorry to bug but has any one still got the fix used for opencart 3.1.4 and sagepay please?
Running out of time and need help, even if you havent got the fix any help on resolving this issue will be greatly appreciated.
Thanks,
Sorry to bug but has any one still got the fix used for opencart 3.1.4 and sagepay please?
Running out of time and need help, even if you havent got the fix any help on resolving this issue will be greatly appreciated.
Thanks,
Fixed!
If any one else is still using opencart 3.1.4 and comes across this problem here is the work around I used.
1. Use ChristopherDarlings Modifications.
2. Use tonkz modifications to fix Members checkout.
3.Then find line 35 in catalog/controller/payment/sagepay.php:
Change
To
After applying these changes you will recieve a billing postcode error, the fix for this problem can be found here:
http://forum.opencart.com/viewtopic.php?f=20&t=9341
Once again thankyou for the awsoume software and community support.
Regards,
Chris
If any one else is still using opencart 3.1.4 and comes across this problem here is the work around I used.
1. Use ChristopherDarlings Modifications.
2. Use tonkz modifications to fix Members checkout.
3.Then find line 35 in catalog/controller/payment/sagepay.php:
Change
Code: Select all
$this->data['FailureURL'] = $this->url->https('checkout/guest_step_2');
Code: Select all
$data['FailureURL'] = $this->url->https('checkout/guest_step_2');
http://forum.opencart.com/viewtopic.php?f=20&t=9341
Once again thankyou for the awsoume software and community support.
Regards,
Chris
Who is online
Users browsing this forum: No registered users and 23 guests