Forums / Built-in Shipping and Payment Modules / authorize.net errors when checking out but orders go through.

authorize.net errors when checking out but orders go through.

Views: 4,556

Results 1 to 20 of 36
17 Feb 2025, 1:09 PM
#1
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

authorize.net errors when checking out but orders go through.

version 210
when checking out with authorize.net aim it errors to a blank page. order went through, but cant see the details i can see the order, no details.

Feb-17-2025 01:03:38
=================================

Response Code: 1.
Response Text: This transaction has been approved.

Sending to Authorizenet: Array
(
[x_login] => *******
[x_tran_key] => *******
[x_relay_response] => FALSE
[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
[x_version] => 3.1
[x_solution_id] => A1000003
[x_method] => CC
[x_amount] => 31.24
[x_currency_code] => USD
[x_market_type] => 0
[x_card_num] => XXXXXXXXXXXX7659
[x_exp_date] => ****
[x_card_code] => ****
[x_email_customer] => TRUE
[x_email_merchant] => TRUE
[x_cust_id] => 1
[x_invoice_num] => 11312-ygclDO
[x_first_name] => James
[x_last_name] => Warren
[x_company] => 1st Choice
[x_address] => 12625 Litewood Dr
[x_city] => Hudson
[x_state] => Florida
[x_zip] => 34669
[x_country] => United States
[x_phone] => 7272474589
[x_email] => [email protected]
[x_ship_to_first_name] => James
[x_ship_to_last_name] => Warren
[x_ship_to_address] => 12625 Litewood Dr
[x_ship_to_city] => Hudson
[x_ship_to_state] => Florida
[x_ship_to_zip] => 34669
[x_ship_to_country] => United States
[x_description] => Better Tools 20101N Round End Carpet Blades - 100 Pack (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 192.168.1.33
[x_po_num] => Feb-17-2025 01:03:36
[x_freight] => 18.35
[x_tax_exempt] => FALSE
[x_tax] => 0.78
[x_duty] => 0
[x_device_type] => 8
[x_allow_partial_Auth] => FALSE
[Date] => February 17, 2025, 1:03 pm
[IP] => 192.168.1.33
[Session] => lfq9ri9mf783tnnjiasuagsv6i
[x_type] => AUTH_CAPTURE
[url] => https://secure2.authorize.net/gateway/transact.dll
)


Results Received back from Authorizenet: Array
(
[0] => Response from gateway
[1] => 1
[2] => 1
[3] => 1
[4] => This transaction has been approved.
[5] => 048478
[6] => Y
[7] => 120885890571
[8] => 11312-ygclDO
[9] => Better Tools 20101N Round End Carpet Blades - 100 Pack (qty: 1)
[10] => 31.24
[11] => CC
[12] => auth_capture
[13] => 1
[14] => James
[15] => Warren
[16] => 1st Choice
[17] => 12625 Litewood Dr
[18] => Hudson
[19] => Florida
[20] => 34669
[21] => United States
[22] => 7272474589
[23] =>
[24] => [email protected]
[25] => James
[26] => Warren
[27] =>
[28] => 12625 Litewood Dr
[29] => Hudson
[30] => Florida
[31] => 34669
[32] => United States
[33] => 0.78
[34] =>
[35] => 18.35
[36] => FALSE
[37] => Feb-17-2025 01:03:36
[38] =>
[39] => M
[40] =>
[41] =>
[42] =>
[43] =>
[44] =>
[45] =>
[46] =>
[47] =>
[48] =>
[49] =>
[50] =>
[51] => XXXX7659
[52] => Visa
[53] =>
[54] =>
[55] =>
[56] =>
[57] =>
[58] =>
[59] => 585048470179274
[60] =>
[61] =>
[62] =>
[63] =>
[64] =>
[65] =>
[66] =>
[67] =>
[68] =>
[69] => February 17, 2025, 1:03 pm
[70] => 192.168.1.33
[71] => lfq9ri9mf783tnnjiasuagsv6i
[72] =>
)


CURL communication info: Array
(
[url] => https://secure2.authorize.net/gateway/transact.dll
[content_type] => text/html
[http_code] => 200
[header_size] => 204
[request_size] => 1344
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.358841
[namelookup_time] => 0.278643
[connect_time] => 0.317032
[pretransfer_time] => 0.403316
[size_upload] => 1146
[size_download] => 666
[speed_download] => 490
[speed_upload] => 843
[download_content_length] => 666
[upload_content_length] => 1146
[starttransfer_time] => 1.35881
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 198.241.207.102
[certinfo] => Array
(
)

[primary_port] => 443
[local_ip] => 97.76.140.174
[local_port] => 35590
[http_version] => 2
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 403229
[connect_time_us] => 317032
[namelookup_time_us] => 278643
[pretransfer_time_us] => 403316
[redirect_time_us] => 0
[starttransfer_time_us] => 1358810
[total_time_us] => 1358841
[effective_method] => POST
[capath] => /etc/ssl/certs
[cainfo] => /etc/ssl/certs/ca-certificates.crt
)


RAW data received:
*1*|*1*|*1*|*This transaction has been approved.*|*048478*|*Y*|*120885890571*|*11312-ygclDO*|*Better Tools 20101N Round End Carpet Blades - 100 Pack (qty: 1)*|*31.24*|*CC*|*auth_capture*|*1*|*James*|*Warren*|*1st Choice*|*12625 Litewood Dr*|*Hudson*|*Florida*|*34669*|*United States*|*7272474589*|**|*[email protected]*|*James*|*Warren*|**|*12625 Litewood Dr*|*Hudson*|*Florida*|*34669*|*United States*|*0.78*|**|*18.35*|*FALSE*|*Feb-17-2025 01:03:36*|**|*M*|**|**|**|**|**|**|**|**|**|**|**|*XXXX7659*|*Visa*|**|**|**|**|**|**|*585048470179274*|**|**|**|**|**|**|**|**|**|*February 17, 2025, 1:03 pm*|*192.168.1.33*|*lfq9ri9mf783tnnjiasuagsv6i*|**
17 Feb 2025, 1:19 PM
#2
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

its like customer not returning to comfirmation

18 Feb 2025, 9:40 PM
#3
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

Still need help here, don't know where to look.
I can see orders placed but no details about what is in order.
I had to turn it off for now, so now Noone can checkout

19 Feb 2025, 1:54 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: authorize.net errors when checking out but orders go through.

Not familiar with .net but could the items ordered in your example be:> RAW data received:

1|1|1|This transaction has been approved.|048478|Y|120885890571|11312-ygclDO|Better Tools 20101N Round End Carpet Blades - 100 Pack (qty: 1)|31.24|CC|auth_capture|1|*....

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

19 Feb 2025, 2:59 AM
#5
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

Yes, but does not show in order details. It does show order total, but when I click details whoops happens. No log to know the error. The customer is not redirected back to checkout success, other modules like cod and money order work.

19 Feb 2025, 3:01 AM
#6
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

I have un-installed and reinstalled module but same thing happens

20 Feb 2025, 3:25 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: authorize.net errors when checking out but orders go through.

In the authorize.net logs you can see the items ordered and their quantity, and the order total etc. So you can use that in the short term to fulfill the orders that have been placed.

As for why the customer is not getting redirected to checkout_success, that's a mystery. It could be that the order-confirmation email is failing to send due to email server failure, and that's stopping the cycle of actions from completing. It could be some other thing that your store is configured to "do" when saving an order.
Normally error logs should be generated if a PHP error is occurring.
(But email connection errors are suppressed, not logged, else logs could blow out mass quantities of space).

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Feb 2025, 2:03 PM
#8
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

Paypal works fine

21 Feb 2025, 2:06 AM
#9
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

this is what happens when i take a payment and it is approved WARNING: An Error occurred, please let us know!

24 Feb 2025, 1:48 PM
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: authorize.net errors when checking out but orders go through.

jimmie:

this is what happens when i take a payment and it is approved WARNING: An Error occurred, please let us know!
Then there's a myDEBUG*.log file present in the site's /logs directory containing information that further identifies the error.

24 Feb 2025, 11:54 PM
#11
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

There is no error log, hence my problem to try and fix it.

25 Feb 2025, 12:44 AM
#12
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: authorize.net errors when checking out but orders go through.

jimmie:

There is no error log, hence my problem to try and fix it.
I'd start with why you're not getting those error logs written to the site's /logs directory.

25 Feb 2025, 2:30 AM
#13
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

Logs is working just not getting any logs when this happens. It looks like I will have to start from scratch if I can't figure this out. I looked up the words let us know and it is a database error.

25 Feb 2025, 2:30 AM
#14
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

All other payment modules work.
jnsflooringandsupplies.com

28 Feb 2025, 10:25 AM
#15
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: authorize.net errors when checking out but orders go through.

jimmie:

All other payment modules work.
jnsflooringandsupplies.com

Does the issue occur in the default template? What version of PHP? Might check the url rewriter as well.

1 Mar 2025, 12:26 AM
#16
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

yes issur occures with default template

1 Mar 2025, 12:30 AM
#17
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

issue is still there with ceon url remapping turned off

1 Mar 2025, 12:33 AM
#18
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

im on php 8.3, tried 8.0 and same issue

1 Mar 2025, 9:39 AM
#19
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: authorize.net errors when checking out but orders go through.

jimmie:

im on php 8.3, tried 8.0 and same issue

Can you verify your configure.php files are both using the SSL link for all HTTP_CATALOG_SERVER, HTTP_SERVER & HTTPS_SERVER (there are 5 locations),
All should say

'https://jnsflooringandsupplies.com'

Maybe Auth net cannot communicate to store the return response.

~Melanie

1 Mar 2025, 1:47 PM
#20
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: authorize.net errors when checking out but orders go through.

mprough:

Can you verify your configure.php files are both using the SSL link for all HTTP_CATALOG_SERVER, HTTP_SERVER & HTTPS_SERVER (there are 5 locations),
All should say

'https://jnsflooringandsupplies.com'

Maybe Auth net cannot communicate to store the return response.

~Melanie

yes this is exactly what is happening
Maybe Auth net cannot communicate to store the return response.
everything is correct in the configure files

  • Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.
    /
    define('HTTP_SERVER', 'https://jnsflooringandsupplies.com');
    /
    *
  • Note about HTTPS_SERVER:
  • There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
    */

/**

  • Note about DIR_WS_ADMIN
  • The DIR_WS_ADMIN value is now auto-detected.
  • In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
    */

/**

  • Enter the domain for your storefront URL.
  • Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
    */
    define('HTTP_CATALOG_SERVER', 'https://jnsflooringandsupplies.com');
    define('HTTPS_CATALOG_SERVER', 'https://jnsflooringandsupplies.com');