If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / authorize.net aim conversion to work with merchantplus?

authorize.net aim conversion to work with merchantplus?

Started by jmarier on 7 Aug 2012, 6:36 PM · Views: 1,861

Results 1 to 4 of 4
7 Aug 2012, 6:36 PM
#1
jmarier avatar

jmarier

New Zenner

Join Date:
Sep 2010
Posts:
4
Plugin Contributions:
0

authorize.net aim conversion to work with merchantplus?

I have been trying to get the authorize.net AIM CC transaction setup to redirect its post to https://gateway.merchantplus.com/cgi-bin/PAWebClient.cgi

I am having trouble with the post back updating the orders database when the transaction is completed.
My NaviGate responds with

<code>Aug-06-2012 12:10:48
=================================

Response Code: 3*||*20.
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] => 42.70
    [x_currency_code] => USD
    [x_card_num] => XXXXXXXXXXXXXXXXXXX4491
    [x_exp_date] => 0215
    [x_card_code] => ****
    [x_email_customer] => FALSE
    [x_email_merchant] => FALSE
    [x_cust_id] => 548
    [x_invoice_num] => 706-aAJXBe
    [x_first_name] => **redacted**
    [x_last_name] => **redacted**
    [x_company] => 
    [x_address] => **redacted**
    [x_city] => clearwater
    [x_state] => Florida
    [x_zip] => **redacted**
    [x_country] => United States
    [x_phone] => **redacted**
    [x_email] => **redacted**
    [x_ship_to_first_name] => **redacted**
    [x_ship_to_last_name] => **redacted**
    [x_ship_to_address] => **redacted**
    [x_ship_to_city] => clearwater
    [x_ship_to_state] => Florida
    [x_ship_to_zip] => **redacted**
    [x_ship_to_country] => United States
    [x_description] => QDSP Mod 2 ( Ambidextrous Kit ) (qty: 1) 
    [x_recurring_billing] => NO
    [x_customer_ip] => **redacted**
    [x_po_num] => Aug-06-2012 12:10:46
    [x_freight] => 4.75
    [x_tax_exempt] => FALSE
    [x_tax] => 0.00
    [x_duty] => 0
    [x_allow_partial_Auth] => FALSE
    [Date] => August 6, 2012, 12:10 pm
    [IP] => 204.9.32.4
    [Session] => 4iguirrtr4tn9nc5f6velho3d0
    [url] => https://gateway.merchantplus.com/cgi-bin/PAWebClient.cgi
)


Results Received back from Authorizenet: Array
(
    [0] => Response from gateway
    [1] => 3*||*20
    [2] => An error occurred during processing. Please try again in 5 minutes.
    [3] => 
    [4] => 
    [5] => 2699772
    [6] => 706-aAJXBe
    [7] => QDSP Mod 2 ( Ambidextrous Kit ) (qty: 1)
    [8] => 4270
    [9] => 
    [10] => AUTH_CAPTURE
    [11] => 548
    [12] => **redacted**
    [13] => **redacted**
    [14] => 
    [15] => **redacted**
    [16] => clearwater
    [17] => Florida
    [18] => **redacted**
    [19] => United States
    [20] => **redacted**
    [21] => 
    [22] => **redacted**
    [23] => **redacted**
    [24] => **redacted**
    [25] => 
    [26] => **redacted**
    [27] => clearwater
    [28] => Florida
    [29] => **redacted**
    [30] => United States
    [31] => 000
    [32] => 0
    [33] => 000
    [34] => 475
    [35] => FALSE
    [36] => *||*
    [37] => 

    [Expected-MD5-Hash] => 03BF63A3557B27CF76B3E7198ED06B2A
    [HashMatchStatus] => FAIL
)


CURL communication info: Array
(
    [url] => https://gateway.merchantplus.com/cgi-bin/PAWebClient.cgi
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 166
    [request_size] => 232
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 2.080714
    [namelookup_time] => 3.1E-5
    [connect_time] => 0.062149
    [pretransfer_time] => 0.31424
    [size_upload] => 1039
    [size_download] => 422
    [speed_download] => 202
    [speed_upload] => 499
    [download_content_length] => 422
    [upload_content_length] => 1039
    [starttransfer_time] => 0.391749
    [redirect_time] => 0
)


RAW data received: 
*3*||*20*|*An error occurred during processing. Please try again in 5 minutes.*|**|**|*2699772*|*706-aAJXBe*|*QDSP Mod 2 ( Ambidextrous Kit ) (qty: 1)*|*4270*|**|*AUTH_CAPTURE*|*548*|*redacted*|*redacted*|**|*redacted*|*clearwater*|*Florida*|*redacted*|*United States*|*redacted*|**|*redacted*|*redacted*|*redacted*|**|*redacted*|*clearwater*|*Florida*|*redacted*|*United States*|*000*|*0*|*000*|*475*|*FALSE*|**||**|**
</code>

On a separate note the log file name (AIM_Debug_QDSP Mod 2 ( Ambidextrous Kit ) (qty: 1)_1344280183_6Hhd.log)is creating errors when I try to download it in dreamweaver. I have to remove the ":" from the name to get it to download correctly. I would like to change the " to an = sign if posible.

7 Aug 2012, 7:33 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: authorize.net aim conversion to work with merchantplus?

Several problems here:

  1. Looks like merchantplus doesn't fully support the AIM spec as far as delimiters and encap characters are concerned.
  2. The error message is telling you "An error occurred during processing. Please try again in 5 minutes". That indeed is your primary problem -- and that's something on the MerchantPlus end, and nothing to do with Zen Cart. Talk to your MerchantPlus people about that.
  3. It's possible that the MerchantPlus implementation also doesn't handle the MD5 hash validation step that Authorize.net offers. You may have to override that in the module as well if MerchantPlus can't support the whole authnet spec.

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

8 Aug 2012, 6:47 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: authorize.net aim conversion to work with merchantplus?

DrByte:

Several problems here:

  1. Looks like merchantplus doesn't fully support the AIM spec as far as delimiters and encap characters are concerned.
    More specifically ... the "3||20" part should have two asterisks between the two || marks. Same with the other || later in their response. That's a bug in their implementation of the AIM spec.

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

16 Aug 2012, 5:16 PM
#4
merchantplus avatar

merchantplus

New Zenner

Join Date:
Aug 2012
Posts:
1
Plugin Contributions:
0

Re: authorize.net aim conversion to work with merchantplus?

DrByte:

More specifically ... the "3||20" part should have two asterisks between the two || marks. Same with the other || later in their response. That's a bug in their implementation of the AIM spec.

Hi there. We have resolved the issue as it was due to an error on our processor's end. We remain fully compatible with Zencart.