Forums / Built-in Shipping and Payment Modules / Credit Card charged, error message upon checkout

Credit Card charged, error message upon checkout

Locked

Started by wllindsey524 on 21 Sep 2009, 9:32 PM · Views: 1,539

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 Sep 2009, 9:32 PM
#1
wllindsey524 avatar

wllindsey524

New Zenner

Join Date:
Sep 2009
Posts:
1
Plugin Contributions:
0

Credit Card charged, error message upon checkout

Hello, I greatly appreciate your help.

I am using a clean install of Zen Cart 1.38a on a linux server with SSL enabled.

I am trying to utilize the Authorize.net Aim module for payment.

I have not been able to get the module to work. It started with a security hash error message, which I was able to resolve through other posts to the forum.

Here is my current problem - All transactions are being declined or accepted/charged as appropriate, but Zen Cart loops back to step 2 with a error (Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.) regardless of the approval or decline.

Here is the last log, which shows the approval, however I was still looped back to step 2 of the checkout process with the aforemention error.

Sep-21-2009 02:03:33

Response Code: 1|1|1|This transaction has been approved.|APPROVED 729335|AVS
Match 5 Digit Zip and Address (Y)|20090921160331-0207164-295|1-OW243t|Test
Widget (qty: 1) |1.00|CC|AUTH_CAPTURE|2||||||||||0.00|0|0.00|FALSE|Sep-21-2009
02:03:22|D42E12E110F0FAABD25928953B315F8C|M|Date="September 21, 2009, 2:03
pm"|IP="66.58.191.35"|Session="6cpcdahb3o3afo7dnn9qudbfd4"|ip_addr="97.74.144.229".
Response Text:

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_type] => AUTH_CAPTURE
[x_method] => CC
[x_amount] => 1.00
[x_currency_code] => USD
[x_card_num] => XXXXXXXXXXXXXXXXXXX7903
[x_exp_date] => 0312
[x_card_code] => ****
[x_email_customer] => FALSE
[x_email_merchant] => FALSE
[x_cust_id] => 2
[x_invoice_num] => 1-OW243t
[x_first_name] => xx
[x_last_name] =>xx
[x_company] =>
[x_address] => xx
[x_city] => xx
[x_state] => xx
[x_zip] => xx
[x_country] => United States
[x_phone] => xx
[x_email] => xx
[x_ship_to_first_name] =>
[x_ship_to_last_name] =>
[x_ship_to_address] =>
[x_ship_to_city] =>
[x_ship_to_state] =>
[x_ship_to_zip] =>
[x_ship_to_country] =>
[x_description] => Test Widget (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 66.58.191.35
[x_po_num] => Sep-21-2009 02:03:22
[x_freight] => 0.00
[x_tax_exempt] => FALSE
[x_tax] => 0.00
[x_duty] => 0
[Date] => September 21, 2009, 2:03 pm
[IP] => 66.58.191.35
[Session] => 6cpcdahb3o3afo7dnn9qudbfd4
[url] => https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl
)

Results Received back from Authorizenet: Array
(
[0] => Response from gateway
[1] => 1|1|1|This transaction has been approved.|APPROVED 729335|AVS
Match 5 Digit Zip and Address (Y)|20090921160331-0207164-295|1-OW243t|Test
Widget (qty: 1) |1.00|CC|AUTH_CAPTURE|2||||||||||0.00|0|0.00|FALSE|Sep-21-2009
02:03:22|D42E12E110F0FAABD25928953B315F8C|M|Date="September 21, 2009, 2:03
pm"|IP="66.58.191.35"|Session="6cpcdahb3o3afo7dnn9qudbfd4"|ip_addr="97.74.144.229"
[Expected-MD5-Hash] => B964438BD06D85BE39425E77910A4834
[HashMatchStatus] => FAIL
)

CURL communication info: Array
(
[url] => https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl
[content_type] => text/html
[http_code] => 200
[header_size] => 141
[request_size] => 1090
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 10.900167
[namelookup_time] => 0.057192
[connect_time] => 0.097334
[pretransfer_time] => 0.294138
[size_upload] => 0
[size_download] => 476
[speed_download] => 43
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 10.900094
[redirect_time] => 0
)

RAW data received:
1|1|1|This transaction has been approved.|APPROVED 729335|AVS Match 5 Digit
Zip and Address (Y)|20090921160331-0207164-295|1-OW243t|Test Widget (qty: 1)
|1.00|CC|AUTH_CAPTURE|2|
States||||||||||||0.00|0|0.00|FALSE|Sep-21-2009
02:03:22|D42E12E110F0FAABD25928953B315F8C|M|Date="September 21, 2009, 2:03
pm"|IP="66.58.191.35"|Session="6cpcdahb3o3afo7dnn9qudbfd4"|ip_addr="97.74.144.229"|

Please help and thank you!

Sorry if this is posted elsewhere, as I could not find this exact problem.

21 Sep 2009, 9:38 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Credit Card charged, error message upon checkout

wllindsey524:

[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
Your eProcessingNetwork gateway is apparently not fully compatible with the Authorize.net specifications.
Specifically it is ignoring the delim_char and encap_char parameters.
You'll need to edit your eProcessingNetwork account settings to set "|" as the delimiter character and "*" as the encapsulation character in order for it to work properly.

.
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.