Hi,
I have OC 1.5.2 and have downloaded and installed SecurePay XML API (AU) from http://www.opencart.com/index.php?route ... order=DESC
I have filled in all the fields appropriately.
I have added Jimmymackay's fix (from within the discussion on the extension page)
I get this error when 'confirm order' is pressed at teh checkout:
Undefined index: token in /home/ecotanic/public_html/shop/catalog/controller/payment/sxml.php on line 11
How can I fix this? is token an old OC reference?
Thanks.
I have OC 1.5.2 and have downloaded and installed SecurePay XML API (AU) from http://www.opencart.com/index.php?route ... order=DESC
I have filled in all the fields appropriately.
I have added Jimmymackay's fix (from within the discussion on the extension page)
I get this error when 'confirm order' is pressed at teh checkout:
Undefined index: token in /home/ecotanic/public_html/shop/catalog/controller/payment/sxml.php on line 11
How can I fix this? is token an old OC reference?
Thanks.
ok, so I removed Jimmy Mackays fix.
Upgraded to 1.5.2.1
removed the token = part on line 11 (removes error notice but not the problem). I searched for undefined index:token and this was the proposed rectification.
in the error log there is this additional info:
2012-03-12 6:56:37 - PHP Unknown: Function split() is deprecated in /home/xxxxx/public_html/shop/catalog/controller/payment/securexml.php on line 1003
2012-03-12 6:56:37 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
Can someone please help with this?
Upgraded to 1.5.2.1
removed the token = part on line 11 (removes error notice but not the problem). I searched for undefined index:token and this was the proposed rectification.
in the error log there is this additional info:
2012-03-12 6:56:37 - PHP Unknown: Function split() is deprecated in /home/xxxxx/public_html/shop/catalog/controller/payment/securexml.php on line 1003
2012-03-12 6:56:37 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
Can someone please help with this?
1. EDIT: catalog/controller/payment/securexml.phpMissLiss wrote:ok, so I removed Jimmy Mackays fix.
Upgraded to 1.5.2.1
removed the token = part on line 11 (removes error notice but not the problem). I searched for undefined index:token and this was the proposed rectification.
in the error log there is this additional info:
2012-03-12 6:56:37 - PHP Unknown: Function split() is deprecated in /home/xxxxx/public_html/shop/catalog/controller/payment/securexml.php on line 1003
2012-03-12 6:56:37 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
Can someone please help with this?
2. REPLACE:
"split"
with
"explode"
3. REMOVE:
Code: Select all
$this->load->library('json');
"Json::encode"
with
"json_encode"
Thanks for your reply!
However I was not able to find 'json' on the page securexml or on loader.php?
New Error:
2012-03-12 14:34:47 - PHP Notice: Undefined index: order_id in /home/xxxxx/public_html/shop/catalog/controller/payment/sxml.php on line 88
2012-03-12 14:34:47 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
I re-added the token= line that i deleted. Now the error is
2012-03-12 14:43:34 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
Also interestingly, when I open the extensions/payment - securepay api in admin I get this page error
Fatal error: Cannot access private property Document::$title in /home/xxxxx/public_html/shop/admin/controller/payment/sxml.php on line 10
However I was not able to find 'json' on the page securexml or on loader.php?
New Error:
2012-03-12 14:34:47 - PHP Notice: Undefined index: order_id in /home/xxxxx/public_html/shop/catalog/controller/payment/sxml.php on line 88
2012-03-12 14:34:47 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
I re-added the token= line that i deleted. Now the error is
2012-03-12 14:43:34 - PHP Notice: Error: Could not load library json! in /home/xxxxx/public_html/shop/system/engine/loader.php on line 23
Also interestingly, when I open the extensions/payment - securepay api in admin I get this page error
Fatal error: Cannot access private property Document::$title in /home/xxxxx/public_html/shop/admin/controller/payment/sxml.php on line 10
I have fixed the fatal error in admin by applying the title to setTitle fix as proposed here: http://forum.opencart.com/viewtopic.php?t=33251 and on the comments section from the extension.
However I still get the json error when trying to complete a transaction. When 'Confirm Order" is pressed nothing happens at all on the website. This error is shown in the admin error log.
2012-03-13 4:28:17 - PHP Notice: Error: Could not load library json! in /home/xxxx/public_html/shop/system/engine/loader.php on line 23
By search it seams that this error means that this 1.5.1 extension is not compatible with 1.5.2.1?
http://forum.opencart.com/viewtopic.php?t=48138
What to do?
However I still get the json error when trying to complete a transaction. When 'Confirm Order" is pressed nothing happens at all on the website. This error is shown in the admin error log.
2012-03-13 4:28:17 - PHP Notice: Error: Could not load library json! in /home/xxxx/public_html/shop/system/engine/loader.php on line 23
By search it seams that this error means that this 1.5.1 extension is not compatible with 1.5.2.1?
http://forum.opencart.com/viewtopic.php?t=48138
What to do?
Now that I'm ready to test this Live I am having another problem.
In Extensions/payment if I try to edit the securepay module (like change it from test to live) it goes to the dashboard and does not save any changes.
There are no associated errors.
What can this mean? And What can I do to fix this?
In Extensions/payment if I try to edit the securepay module (like change it from test to live) it goes to the dashboard and does not save any changes.
There are no associated errors.
What can this mean? And What can I do to fix this?
Who is online
Users browsing this forum: No registered users and 6 guests