Post by qcjay » Fri Dec 10, 2010 8:19 pm

I am having a problem completing a transaction using Authorize.net (AIM) in which it hangs on processing the transaction. The order hangs displaying please wait and I have tried all solutions posted within this forum. I am generating an error given below:

PHP Notice: Undefined index: name in catalog/model/checkout/order.php on line 302

I believe it has to do with the name variable in options on line 302. I have not been successful in fixing this error after following all other posts found here.

The payment does get applied and shows up in my authorize.net account as well as an email to the customer and to the owner are sent but the order information is not added to sales in under reports. The order id is being incremented for each payment processing attempt but the orders are not stored in the reports. Again I get the "please wait" prompt during the checkout process for authorize.net and hangs indefinitely and cannot get to the confirmation page therefore not showing in sales Report.

Thanks for any help here.

QCJay

Newbie

Posts

Joined
Wed Dec 08, 2010 4:36 pm

Post by Qphoria » Sun Dec 12, 2010 2:25 am

That error is coming from the order status name. Like maybe you set the status but then deleted that status or something. Try reconfiguring the auth net and set the order status again and try again

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by qcjay » Sun Dec 12, 2010 2:54 am

That has to be it..... I've been trying to add weights and measurements with the export module.... gonna check it out... trying now.... will post back..... thanks Q!!!!!!!

Newbie

Posts

Joined
Wed Dec 08, 2010 4:36 pm

Post by qcjay » Sun Dec 12, 2010 7:16 pm

Case Closed! I was working with my database and must have emptied my order status entries and not known it. After Q's post I noticed that my order status settings were gone and promptly imported them from an earlier database dump and voila I'm back to business. Thanks again for your quick response Q. Donation is imminent!

Newbie

Posts

Joined
Wed Dec 08, 2010 4:36 pm

Post by GoldGirl » Tue Dec 28, 2010 12:12 am

Using latest version v1.4.9.3
Having similar problem.
I have exhausted all topics in this form to find an answer as to why authorize.net aim hangs with "please wait" upon check out. This happens in both test mode (sand box settings) or in live mode (live account settings) and I have tried all the settings including "Capture and Complete".

The admin error log gives the log error: PHP Notice: Undefined offset: 4 in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authorizenet_aim.php on line 166

Line 166 in authorizenet_aim.php states: "$json['error'] = $response_data[4];"

Would this be a script error? Anyone know how to fix this.
Regards

User avatar
Newbie

Posts

Joined
Wed Dec 22, 2010 10:42 pm

Post by Qphoria » Tue Dec 28, 2010 1:26 am

This looks like its not able to return a message back to you, so the parsing of a bad error message is failing.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by im4dlaw » Tue Dec 28, 2010 6:34 am

I too am getting this error "Please Wait"
-using version 1.4.0 (everything else works great)
-I do get the transaction/order emails as store owner and customer
-the transaction does go through in my auth.net account
- the order is showing in orders section and reports

I've seen a post about making sure your order status is correct but nothing mentioned as to what it needs to be in order to work (if applicable)????

Q- I purchased your offline cc mod and it works great...I'm not entirely convinced auth.net is integrated with open cart as it comes with the standard code....Does your paid module produce better results and work out of the box???

Newbie

Posts

Joined
Wed Mar 10, 2010 3:13 am

Post by Qphoria » Tue Dec 28, 2010 3:17 pm

im4dlaw wrote:I too am getting this error "Please Wait"
-using version 1.4.0 (everything else works great)
-I do get the transaction/order emails as store owner and customer
-the transaction does go through in my auth.net account
- the order is showing in orders section and reports

I've seen a post about making sure your order status is correct but nothing mentioned as to what it needs to be in order to work (if applicable)????

Q- I purchased your offline cc mod and it works great...I'm not entirely convinced auth.net is integrated with open cart as it comes with the standard code....Does your paid module produce better results and work out of the box???
Well this has been fixed multiple way since 1.4.0. There are fixes listed in the main bug threads for each version that explain how to fix the please wait for 1.4.0

my paid module has no known issues.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by GoldGirl » Tue Dec 28, 2010 11:23 pm

Qphoria wrote:This looks like its not able to return a message back to you, so the parsing of a bad error message is failing.
Not sure what you are referring to as I am only a user and not a programmer. Nothing is being returned from authorize.net AIM server in the test or live mode. All the OpenCart host server requirements were correct when installing OpenCart. I have used the correct Login ID:, Transaction Key:, MD5 Hash: and test or live settings and variables required in OpenCart admin panel authorize.net AIM module and still get "please wait" with nothing passed back. So, I assume the authorize.net AIM payment module included in OpenCart 1.4.9.3 is not fully implemented. Is this correct? I really liked the look and feel of OpenCart but may have to abandon it as a working payment gateway is needed for any cart and authorize.net is the Grand Daddy of all gateways. I have bought a couple of mods already but none are available for authorize.net AIM. Anyone out there with a working authorize.net AIM in version 1.4.9.3 ?

User avatar
Newbie

Posts

Joined
Wed Dec 22, 2010 10:42 pm

Post by Qphoria » Wed Dec 29, 2010 12:17 am

This one works perfectly and always has

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by GoldGirl » Thu Dec 30, 2010 2:46 am

Qphoria wrote:This one works perfectly and always has
Purchased your module that always works, installed it as per instructions and made sure the https://www.mystore.com was set in the admin config file.
Using live account to purchase an item resulted in these two errors:

2010-12-29 15:33:45 - PHP Notice: Undefined offset: 3 in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authnetaim.php on line 413

2010-12-29 15:33:45 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/goldeng/public_html/GoldenClips/index.php:92) in /home/goldeng/public_html/GoldenClips/system/engine/controller.php on line 27

Some help on this issue please!!!

User avatar
Newbie

Posts

Joined
Wed Dec 22, 2010 10:42 pm

Post by Qphoria » Thu Dec 30, 2010 3:11 am

GoldGirl wrote:
Qphoria wrote:This one works perfectly and always has
Purchased your module that always works, installed it as per instructions and made sure the https://www.mystore.com was set in the admin config file.
Using live account to purchase an item resulted in these two errors:

2010-12-29 15:33:45 - PHP Notice: Undefined offset: 3 in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authnetaim.php on line 413
ROFL! Inserts foot into mouth
Well the error is the same as the core one then.. And the error is the same.. you are not getting a valid response back from authorize.net. Try this:

1. EDIT: catalog/controller/payment/authnetaim.php

2. FIND:

Code: Select all

$response = split('\,', $authorize);
3. BEFORE, ADD:

Code: Select all

mail($this->config->get('config_email'), "AUTHNETAIM RESPONSE", "DATA=$authorize");
Then run through it again. You should get the error and an email will be sent to the store email. Forward that to me

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by GoldGirl » Thu Dec 30, 2010 3:49 am

Qphoria wrote:
GoldGirl wrote:
Qphoria wrote:This one works perfectly and always has
Purchased your module that always works, installed it as per instructions and made sure the https://www.mystore.com was set in the admin config file.
Using live account to purchase an item resulted in these two errors:

2010-12-29 15:33:45 - PHP Notice: Undefined offset: 3 in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authnetaim.php on line 413
ROFL! Inserts foot into mouth
Well the error is the same as the core one then.. And the error is the same.. you are not getting a valid response back from authorize.net. Try this:

1. EDIT: catalog/controller/payment/authnetaim.php

2. FIND:

Code: Select all

$response = split('\,', $authorize);
3. BEFORE, ADD:

Code: Select all

mail($this->config->get('config_email'), "AUTHNETAIM RESPONSE", "DATA=$authorize");
Then run through it again. You should get the error and an email will be sent to the store email. Forward that to me
=============================================
Error in log file:
Notice: Undefined variable: response in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authnetaim.php on line 414Notice: Undefined variable: response in /home/goldeng/public_html/GoldenClips/catalog/controller/payment/authnetaim.php on line 415Warning: Cannot modify header information - headers already sent by (output started at /home/goldeng/public_html/GoldenClips/index.php:92) in /home/goldeng/public_html/GoldenClips/system/engine/controller.php on line 27
==============================================
Error message in email: "DATA="

User avatar
Newbie

Posts

Joined
Wed Dec 22, 2010 10:42 pm
Who is online

Users browsing this forum: No registered users and 5 guests