Post by Mike Guenther » Thu May 23, 2024 7:55 pm

Hello All,

I just recently installed a fresh build of OC 3.0.3.9 last month. and today It was just brought to my attention that I am not able to run credit card orders on the site now for some reason. I have changed nothing on it at all in over a month since I finished the new build and tested everything. Last transaction worked fine on 4/19. I was just notified of the issue yesterday (5/22). I use Authorize.Net (AIM).

https://sunnybunnyeastereggs.com

When I try to process an order in live mode I get a pop up windows that states: This transaction has been declined.

When in test mode I get this error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.

I spoke with Authorize.net and they everything looks good on my account wise. It's active live and all set. I ran several live small transactions which give me the pop up error and They said the transactions in question never even reached them...

I have checked error logs and with my host to no avail. I have been running OC since 2011 and have never run into anything like this?

I found this old post below that looks like he had the same problem, but I do not understand how setting up an authorize.net test account will help this issue?

viewtopic.php?t=62545&start=20

Any ideas or help would be great!

Thanks so much!

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by JNeuhoff » Thu May 23, 2024 8:36 pm

Have you contacted the author of this payment extension?
Also, have you tried it with the standard OpenCart framework checkout? You are currently using the Journal framework, and worse, its single-page checkout, which may cause the issues.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Mike Guenther » Thu May 23, 2024 9:30 pm

Hello!

I just tried the default theme and when it gets to the Step 5: Payment Method, I click continue and I get a pop up error that states: error

this is what the error log states:

[23-May-2024 08:35:02 America/Chicago] PHP Fatal error: Uncaught Exception: Error: Could not load model payment/invoicepay! in /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/loader.php:97
Stack trace:
#0 /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/catalog/controller/checkout/payment_method.php(90): Loader->model()
#1 /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/action.php(79): ControllerCheckoutPaymentMethod->index()
#2 /home/sunnybunnyeaster/public_html/catalog/controller/startup/router.php(25): Action->execute()
#3 /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#4 /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/router.php(134): Action->execute()
#5 /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/router.php(123): Router->execute()
#6 /home/sunnybunnyeaster/public_html/system/framework.php(169): Router->dispatch()
#7 /home/sunnybunnyeaster/public_html/system/startup.php(104): require_once('/home/sunnybunn...')
#8 /home/sunnybunnyeaster/public_html/index.php(19): start()
#9 {main}
thrown in /home/sunnybunnyeaster/public_html/system/storagegsq7woahvrn6/modification/system/engine/loader.php on line 97

And I am just using the default Authorize.Net (AIM) extension that comes with OC.

Mike

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by JNeuhoff » Thu May 23, 2024 10:26 pm

Yours is anything but a fresh install! There is no such file as catalog/model/extension/payment/invoicepay.php in OC 3.0.3.9. And no controller refers to such a model file. Hence you are not using the standard OpenCart Authorize.Net (AIM).

Also, why is your catalog/controller/checkout/payment_method.php modified by OCmod ?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Mike Guenther » Thu May 23, 2024 10:36 pm

My apologies, I meant it was a fresh install on 4/16/2024. I worked on it for a few days with my theme and extensions. All worked fine on 4/18. I figured that was the case-how do I go about fixing this?

Also, why is your catalog/controller/checkout/payment_method.php modified by OCmod ? Again, no idea-how do I go about fixing this?

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by JNeuhoff » Thu May 23, 2024 10:50 pm

First of all, you need to figure what payment extension you actually use. It appears it's not the built-in Authorize.Net (AIM)!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Mike Guenther » Thu May 23, 2024 10:55 pm

That's all I have ever used. Is there a way to use fresh, new default AIM?

Or do I just need to rebuild the site again? Would that be easiest?

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by ADD Creative » Fri May 24, 2024 12:25 am

Have you tried disabling your other extensions one by one?

You could try looking for a response code as to why the transaction was declined. In catalog/controller/extension/payment/authorizenet_aim.php change:

Code: Select all

$json['error'] = $response_info[4];
To:

Code: Select all

$json['error'] = $response_info[3] . $response_info[4];
Codes should be in https://www.authorize.net/content/dam/a ... _guide.pdf.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Mike Guenther » Fri May 24, 2024 12:46 am

OMG thank you! That did it. It showed me error 250, which is a blocked IP address...disabled that feature in Authorize.net interface and it worked!

Thanks again so much!

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am
Who is online

Users browsing this forum: No registered users and 23 guests