Post by tgdonohue » Tue Jan 24, 2017 5:36 am

I am running OpenCart 2.3.0.2 on MS IIS.

When I try to create my settings for The Payment by Amazon plug in, after I enter the various keys and hit save, I get the following errors:

Notice: Undefined offset: 1 in D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop2\admin\model\extension\payment\amazon_login_pay.php on line 368Notice: Undefined offset: 2 in D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop2\admin\model\extension\payment\amazon_login_pay.php on line 371Notice: Undefined offset: 1 in D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop2\admin\model\extension\payment\amazon_login_pay.php on line 371

After about two hours on the phone with an Amazon developer, that the config.php file should be altered. Namely in the define list "something" needs to be defined as

D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop2\admin\model\extension\payment\amazon_login_pay.php

Along the lines of
define('DIR_XXXXXXX', 'D:/CustomerData/webspaces/webspace_00103408/wwwroot/Shop/catalog/');

However, he had no idea as to what should be defined.

Any ideas?

New member

Posts

Joined
Sat Mar 12, 2016 3:03 am

Post by bobcah12 » Thu Jun 15, 2023 11:05 pm

Hi,

I am also receiving this error when trying to save parameters for the Amazon Login and Pay module. Here are the errors:

Version 2.2.0.0

2023-06-14 21:20:12 - PHP Notice: Undefined offset: 1 in /home/ec2-user/public_html/admin/model/payment/amazon_login_pay.php on line 368
2023-06-14 21:20:12 - PHP Notice: Undefined offset: 2 in /home/ec2-user/public_html/admin/model/payment/amazon_login_pay.php on line 371
2023-06-14 21:20:12 - PHP Notice: Undefined offset: 1 in /home/ec2-user/public_html/admin/model/payment/amazon_login_pay.php on line 371

Can someon repost the fix. Im having issues locating the exact solution. Thank you and to all who post, you have helped me fix many issues with my OC Store.

Regards

Bob

Newbie

Posts

Joined
Wed Aug 14, 2019 2:30 am
Who is online

Users browsing this forum: No registered users and 150 guests