I have recently done a fresh install of 3.0.2.0 and added a Journal theme with maybe 2 or 3 extensions. I have done some test sales using Realex, Pay on delivery & Free Checkout.
On the payment success page for Realex i get this error message:
Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 30
Your payment has been authorised.
Please click here to continue
And when i try to view he order using the customer log in or within the admin panel it just goes to an error 500 page.
Here are lines 24 - 31 of my currency.php:
public function format($number, $currency, $value = '', $format = true) {
$symbol_left = $this->currencies[$currency]['symbol_left'];
$symbol_right = $this->currencies[$currency]['symbol_right'];
$decimal_place = $this->currencies[$currency]['decimal_place'];
if (!$value) {
$value = $this->currencies[$currency]['value'];
}
Any ideas on how to solve this issue?
Thanks
On the payment success page for Realex i get this error message:
Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 30
Your payment has been authorised.
Please click here to continue
And when i try to view he order using the customer log in or within the admin panel it just goes to an error 500 page.
Here are lines 24 - 31 of my currency.php:
public function format($number, $currency, $value = '', $format = true) {
$symbol_left = $this->currencies[$currency]['symbol_left'];
$symbol_right = $this->currencies[$currency]['symbol_right'];
$decimal_place = $this->currencies[$currency]['decimal_place'];
if (!$value) {
$value = $this->currencies[$currency]['value'];
}
Any ideas on how to solve this issue?
Thanks
A currency setting has not been defined not properly in your admin - > systems - > localisation - > currencies.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I got this error on fresh install of 3.0.3.6 with Realex Redirect. I ended up hacking the code myself, changing \system\library\cart\currency.php:
Not an ideal solution but at least customers can checkout without getting errors. Hopefully a proper fix emerges soon and I'll do that.
BTW, maybe it's related: I set up Euro as default currency and removed all others.
Code: Select all
//$symbol_left = $this->currencies[$currency]['symbol_left'];
//$symbol_right = $this->currencies[$currency]['symbol_right'];
//$decimal_place = $this->currencies[$currency]['decimal_place'];
$symbol_left = '€';
$symbol_right = '';
$decimal_place = 2;
BTW, maybe it's related: I set up Euro as default currency and removed all others.
Not a bug.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
ok, there's been a slight misunderstanding. I was getting the first error, i.e.:
On the payment success page for Realex i get this error message:
Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 30
Your payment has been authorised.
Please click here to continue
I was not getting a 500 server error in orders (or anywhere else that I'm aware of).
On the payment success page for Realex i get this error message:
Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/iwdstest/public_html/system/library/cart/currency.php on line 30
Your payment has been authorised.
Please click here to continue
I was not getting a 500 server error in orders (or anywhere else that I'm aware of).
If it's happening on the success page then its most likely the payment module or callback from the payment module. If you paid for that extension reach out to the developer.
Backup and learn how to recover before you make any changes!
I get the same issue on v3.0.3.2 using the default theme. Did you ever figure it out?And when i try to view he order using the customer log in or within the admin panel it just goes to an error 500 page.
Here are lines 24 - 31 of my currency.php:
public function format($number, $currency, $value = '', $format = true) {
$symbol_left = $this->currencies[$currency]['symbol_left'];
$symbol_right = $this->currencies[$currency]['symbol_right'];
$decimal_place = $this->currencies[$currency]['decimal_place'];
if (!$value) {
$value = $this->currencies[$currency]['value'];
}
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
You need proper error logs. If getting a 500 check the server error log.
Just because its referencing the currency method doesn't mean that's the cause.
As mentioned above its most likely the extension failing to pass the required parameters back.
Just because its referencing the currency method doesn't mean that's the cause.
As mentioned above its most likely the extension failing to pass the required parameters back.
Backup and learn how to recover before you make any changes!
Who is online
Users browsing this forum: paulfeakins and 13 guests