Post by laurie » Fri Jun 11, 2010 7:02 am

hi guys:
I got a problem with paymate module. When customers checkout by paymate there is a error message saying:iNotice: Undefined index: iso_code2 in /hostname/catalog/controller/payment/paymate.php on line 58 .
anyone know what happened and how to fix it up?
Thanks a lot

Newbie

Posts

Joined
Fri Jun 11, 2010 6:51 am

Post by chapter5 » Sat Jul 10, 2010 11:32 am

yup i had the same thing. luckily the client only ship to New Zealand so i could do a quick fix.
in the paymate.php file change the code from
$this->data['pmt_country'] = $order_info['iso_code_2'];

to

$this->data['pmt_country'] = 'NZ';

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm

Post by Qphoria » Mon Jul 12, 2010 11:40 pm

I can't see how that error could happen. That is set during the customer address entry. As long as the customer enters a country, that should be filled in

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 11 guests