Post by leeman » Wed Oct 29, 2014 12:37 am

oc 2 is working sweet, but! secure trading gives me problems....
takes me through the process but after its straight back home to my site and the cart is still full.

yet the payment goes through some times i get this error.

Notice: Indirect modification of overloaded property Controllerpaymentsecuretrading::$data has no effect in /var/www/vhosts/mysite.com/httpdocs/catalog/controller/payment/securetrading.php on line 158
Fatal error: Call to undefined method Controllerpaymentsecuretrading::render() in /var/www/vhosts/mysite.com/httpdocs/catalog/controller/payment/securetrading.php on line 166

Fatal error: Call to a member function get() on a non-object in /var/www/vhosts/mmysite.com/httpdocs/index.php on line 97


its like a redirect error...

please help

New member

Posts

Joined
Tue May 01, 2012 12:44 am

Post by leeman » Fri Nov 07, 2014 4:24 pm

should you have a redirect error with opencart V2 and secure trading here are 2 files to try:
/var/www/vhosts/yoursite.com/httpdocs/catalog/model/payment/securetrading_pp.php

Remember back up the files your changing, don't mix them up as they are called the same.
Last edited by leeman on Fri Nov 07, 2014 4:31 pm, edited 1 time in total.

New member

Posts

Joined
Tue May 01, 2012 12:44 am

Post by leeman » Fri Nov 07, 2014 4:29 pm

the second file is:
/var/www/vhosts/yoursite.com/httpdocs/catalog/controller/payment/securetrading_pp.php


first update your redirect using myst to: http://yoursite.com/index.php?route=checkout/success

you don't need any customfields so remove sid.

This worked for me as 7/11/14. Securetrading and the 3rd party working with open car have said they will look into up dating the files.

New member

Posts

Joined
Tue May 01, 2012 12:44 am
Who is online

Users browsing this forum: No registered users and 3 guests