Author Topic: Unknown error encountered. Please try again! (Authorize.Net)  (Read 229 times)

Offline ibpf

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Unknown error encountered. Please try again! (Authorize.Net)
« on: April 19, 2024, 12:18:44 PM »
I'm trying to run my first live transaction.  Authorize.Net + Zen Payments. Receiving this nondescript error and I don't now how to debug!  Any guidance for me?  Thank you!!

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5825
  • Karma: +275/-2
    • View Profile
Re: Unknown error encountered. Please try again! (Authorize.Net)
« Reply #1 on: April 22, 2024, 01:22:36 AM »
Hello.
What is your AbanteCart version?

Offline ibpf

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Unknown error encountered. Please try again! (Authorize.Net)
« Reply #2 on: April 22, 2024, 10:09:46 AM »
1.3.3

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5825
  • Karma: +275/-2
    • View Profile
Re: Unknown error encountered. Please try again! (Authorize.Net)
« Reply #3 on: April 23, 2024, 02:53:35 AM »
Hello.
If you use a non-modified version of Authorize.Net make sure you have Fast checkout enabled. Additionally, when encountering an error, please inspect both the browser's console log and AbanteCart's error log for insights. Could you specify if the error appeared upon loading the payment page or after submitting the card details?

Offline ibpf

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Unknown error encountered. Please try again! (Authorize.Net)
« Reply #4 on: May 02, 2024, 11:09:57 AM »
"Unknown error encountered. Please try again!" is thrown on the page upon clicking [Confirm Order].

I don't see where I can enable Fast Checkout in the Authorize.Net payment settings?  (the browser tab reads "Fast Checkout" if that matters)

System Log shows: 2024-05-02 15:00:16 - Unknown Error: AbanteCart core v.1.3.3 Class "net\authorize\api\contract\v1\MerchantAuthenticationType" not found in <b>/home/outdofjroductsg/public_html/extensions/default_authorizenet/storefront/model/extension/default_authorizenet.php</b> on line <b>36</b>

I have a system message:
Incorrect index.php file permissions
Message status:
    warning

Date:
    05/02/2024 10:28:05 AM

Number of repetitions:
    0

/home/outdofjroductsg/public_html/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!


I'm not sure how to get to the system files in the hosted environment, though.

I'm also not sure what I'm looking for in the browser console, to be honest.

Thank you for your help!
« Last Edit: May 02, 2024, 11:32:53 AM by ibpf »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2049
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
you should to compare your file with this
https://github.com/abantecart/abantecart-src/blob/1.4.0/public_html/extensions/default_authorizenet/main.php
see line #3
Code: [Select]
require_once DIR_EXT . 'default_authorizenet' . DS . 'vendor' . DS . '/autoload.php';i guess cause here.

Also check your directory https://github.com/abantecart/abantecart-src/tree/1.4.0/public_html/extensions/default_authorizenet/vendor

And change permission for file public_html/index.php to 644 (write-read-read) to avoid warnings
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod