Error #122 Authentication Failed

I’m using S2MemberPro on a secure site with Authorize.net
When users try to check out they get the error: Error #122 Authentication Failed.

When I searched online I found this answer in response to the same error, but with PayPal - https://www.s2member.com/forums/topic/error-1-user-authentication-failed-6/

But I can’t find a solution for Authorize.net.

I made sure my credentials are correct, tested it myself and I still get this error.

The credit card passes just fine when I enter it manually.

Thanks for your help

When you enter it manually where?

Authorize.net is not very friendly in their error messages. This is the explanation for Error 122:

EXPLANATION: An error occurred during processing. Please try again.

OTHER SUGGESTIONS: The system-generated void for the original errored transaction failed. (The original transaction experienced a processing error.)

You say you verified your Credentials. Does that mean you looked at them? Or did you try entering them all again? Do you have logging enabled? Have you checked the s2Member logs to see if there might be more information there? Or is that where you found the error number?

If you have entered your credentials again in s2Member, saved them, and checked the logs and are still having problems with authentication at Authorize.net, I’d suggest you contact Authorize.net.

I apologize for not being more clear.

I entered them manually on the Authorize.net site.

I did re-enter all my credentials… and here are the error logs (which I hope you can read, cause it’s Chinese to me:)

LOG ENTRY: Tue Apr 18th, 2017 @ precisely 10:14 pm UTC
PHP v5.6.30-0+deb8u1 :: WordPress v4.7.3 :: s2Member v170221 :: s2Member Pro v170221
Memory 34.28 MB :: Real Memory 35.00 MB :: Peak Memory 34.51 MB :: Real Peak Memory 35.00 MB
www.livebeyondfacebook.com/
www.livebeyondfacebook.com/payfull/
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
-------- Input vars: ( Tue Apr 18, 2017 10:14:16 pm UTC ) --------
array (
‘x_type’ => ‘AUTH_CAPTURE’,
‘x_method’ => ‘CC’,
‘x_email’ => ‘joy@gplusgotogal.com’,
‘x_first_name’ => ‘Joy’,
‘x_last_name’ => ‘King’,
‘x_customer_ip’ => ‘47.220.180.74’,
‘x_invoice_num’ => ‘s2-58f68fb81271f’,
‘x_description’ => ‘$1000 USD / One Time for lifetime access’,
‘s2_invoice’ => ‘1’,
‘s2_custom’ => ‘www.livebeyondfacebook.com’,
‘x_tax’ => ‘0.00’,
‘x_amount’ => ‘1000.00’,
‘x_currency_code’ => ‘USD’,
‘x_card_num’ => ‘*********0027’,
‘x_exp_date’ => ‘2021-02’,
‘x_card_code’ => ‘123’,
‘x_address’ => ‘601 stam’,
‘x_city’ => ‘austin’,
‘x_state’ => ‘tx’,
‘x_country’ => ‘US’,
‘x_zip’ => ‘78660’,
‘x_version’ => ‘3.1’,
‘x_login’ => ‘xxxxxxxx/key/tran’,
‘x_tran_key’ => ‘xxxxxxxx/key/tran’,
‘x_delim_data’ => ‘true’,
‘x_delim_char’ => ‘,’,
‘x_encap_char’ => ‘"’,
‘x_relay_response’ => ‘false’,
)
-------- Output string/vars: ( Tue Apr 18, 2017 10:14:16 pm UTC ) --------
“3”,“0”,“122”,“Authentication Failed”,"",“P”,“0”,“s2-58f68fb81271f”,"$1000 USD / One Time for lifetime access",“1000.00”,“CC”,“auth_capture”,"",“Joy”,“King”,"",“601 stam",“austin”,“tx”,“78660”,“US”,"","","joy@gplusgotogal.com”,"","","","","","","","",“0.00”,"","","","",“C2C1F98E71FD5BEA757B91D198402274”,“P”,""
array (
0 => ‘3’,
1 => ‘0’,
2 => ‘122’,
3 => ‘Authentication Failed’,
4 => ‘’,
5 => ‘P’,
6 => ‘0’,
7 => ‘s2-58f68fb81271f’,
8 => ‘$1000 USD / One Time for lifetime access’,
9 => ‘1000.00’,
10 => ‘CC’,
11 => ‘auth_capture’,
12 => ‘’,
13 => ‘Joy’,
14 => ‘King’,
15 => ‘’,
16 => ‘601 stam’,
17 => ‘austin’,
18 => ‘tx’,
19 => ‘78660’,
20 => ‘US’,
21 => ‘’,
22 => ‘’,
23 => ‘joy@gplusgotogal.com’,
24 => ‘’,
25 => ‘’,
26 => ‘’,
27 => ‘’,
28 => ‘’,
29 => ‘’,
30 => ‘’,
31 => ‘’,
32 => ‘0.00’,
33 => ‘’,
34 => ‘’,
35 => ‘’,
36 => ‘’,
37 => ‘C2C1F98E71FD5BEA757B91D198402274’,
38 => ‘P’,
39 => ‘’,
‘response_code’ => ‘3’,
‘response_subcode’ => ‘0’,
‘response_reason_code’ => ‘122’,
‘response_reason_text’ => ‘Authentication Failed’,
‘authorization_code’ => ‘’,
‘avs_response’ => ‘P’,
‘transaction_id’ => ‘0’,
‘invoice_number’ => ‘s2-58f68fb81271f’,
‘description’ => ‘$1000 USD / One Time for lifetime access’,
‘amount’ => ‘1000.00’,
‘method’ => ‘CC’,
‘transaction_type’ => ‘auth_capture’,
‘customer_id’ => ‘’,
‘first_name’ => ‘Joy’,
‘last_name’ => ‘King’,
‘company’ => ‘’,
‘address’ => ‘601 stam’,
‘city’ => ‘austin’,
‘state’ => ‘tx’,
‘zipcode’ => ‘78660’,
‘country’ => ‘US’,
‘phone’ => ‘’,
‘fax’ => ‘’,
‘email’ => ‘joy@gplusgotogal.com’,
‘ship_to_first_name’ => ‘’,
‘ship_to_last_name’ => ‘’,
‘ship_to_company’ => ‘’,
‘ship_to_address’ => ‘’,
‘ship_to_city’ => ‘’,
‘ship_to_state’ => ‘’,
‘ship_to_zipcode’ => ‘’,
‘ship_to_country’ => ‘’,
‘tax’ => ‘0.00’,
‘duty’ => ‘’,
‘freight’ => ‘’,
‘tax_exempt’ => ‘’,
‘po_number’ => ‘’,
‘md5_hash’ => ‘C2C1F98E71FD5BEA757B91D198402274’,
‘card_code_response’ => ‘P’,
‘cavv_response’ => ‘’,
‘card_number’ => NULL,
‘card_type’ => NULL,
‘split_tender_id’ => NULL,
‘requested_amount’ => NULL,
‘balance_on_card’ => NULL,
‘__error’ => ‘Error #122. Authentication Failed.’,
)

===============================================
And here’s the log for
Description for s2-http-api-debug-4-www-livebeyondfacebook-com.log:

LOG ENTRY: Tue Apr 18th, 2017 @ precisely 10:14 pm UTC
PHP v5.6.30-0+deb8u1 :: WordPress v4.7.3 :: s2Member v170221 :: s2Member Pro v170221
Memory 33.80 MB :: Real Memory 34.75 MB :: Peak Memory 34.12 MB :: Real Peak Memory 34.75 MB
www.livebeyondfacebook.com/
www.livebeyondfacebook.com/payfull/
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Array
(
[state] => response
[transport_class] => Requests
[args] => Array
(
[method] => POST
[timeout] => 5
[redirection] => 5
[httpversion] => 1.1
[user-agent] => s2Member v170221; https://www.livebeyondfacebook.com
[reject_unsafe_urls] =>
[blocking] => 1
[headers] => Array
(
)

        [cookies] => Array
            (
            )

        [body] => Array
            (
                [privatekey] => 6LeCANsSAAAAAGBXMIKAirv6G4PmaGa-ORxdD-oZ
                [challenge] => 03AOP2lf73Fr7PstbXbdR_dwQh1OWXKmwiDdAS8n74hchiAx1F-473d0mo0VecZ74PjeqJM3tdf-Bu-KGlHBAHgGknUqMnU8so9yzRYesdjIC7RqDPTw-HmIIEcq0FhVV6Ow7eXejeSu9xTNIdvWlUrIUHGDuZQurxkAhiFKaFmTkPRLgVxRMDcR5op44r14jNOSkLnxpDDE7C
                [response] => carrer insel
                [remoteip] => 47.220.180.74
            )

        [compress] => 
        [decompress] => 1
        [sslverify] => 1
        [sslcertificates] => /home/110287-83581.cloudwaysapps.com/sbdxyduknp/public_html/wp-includes/certificates/ca-bundle.crt
        [stream] => 
        [filename] => 
        [limit_response_size] => 
        [s2member] => 170221
        [_redirection] => 5
    )

[url] => http://www.google.com/recaptcha/api/verify
[response] => Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [cache-control] => no-cache, no-store, max-age=0, must-revalidate
                        [pragma] => no-cache
                        [expires] => Mon, 01 Jan 1990 00:00:00 GMT
                        [date] => Tue, 18 Apr 2017 22:14:16 GMT
                        [content-type] => text/plain
                        [x-recaptcha-request-duration] => 70
                        [content-encoding] => gzip
                        [x-content-type-options] => nosniff
                        [x-xss-protection] => 1; mode=block
                        [content-length] => 32
                        [server] => GSE
                    )

            )

        [body] => true

success
[response] => Array
(
[code] => 200
[message] => OK
)

        [cookies] => Array
            (
            )

        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => true

success
[raw] => HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Date: Tue, 18 Apr 2017 22:14:16 GMT
Content-Type: text/plain
X-Recaptcha-Request-Duration: 70
Content-Encoding: gzip
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Length: 32
Server: GSE
Connection: close

true
success
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[cache-control] => Array
(
[0] => no-cache, no-store, max-age=0, must-revalidate
)

                                        [pragma] => Array
                                            (
                                                [0] => no-cache
                                            )

                                        [expires] => Array
                                            (
                                                [0] => Mon, 01 Jan 1990 00:00:00 GMT
                                            )

                                        [date] => Array
                                            (
                                                [0] => Tue, 18 Apr 2017 22:14:16 GMT
                                            )

                                        [content-type] => Array
                                            (
                                                [0] => text/plain
                                            )

                                        [x-recaptcha-request-duration] => Array
                                            (
                                                [0] => 70
                                            )

                                        [content-encoding] => Array
                                            (
                                                [0] => gzip
                                            )

                                        [x-content-type-options] => Array
                                            (
                                                [0] => nosniff
                                            )

                                        [x-xss-protection] => Array
                                            (
                                                [0] => 1; mode=block
                                            )

                                        [content-length] => Array
                                            (
                                                [0] => 32
                                            )

                                        [server] => Array
                                            (
                                                [0] => GSE
                                            )

                                    )

                            )

                        [status_code] => 200
                        [protocol_version] => 1.1
                        [success] => 1
                        [redirects] => 0
                        [url] => http://www.google.com/recaptcha/api/verify
                        [history] => Array
                            (
                            )

                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )

                            )

                    )

                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )

    )

)

LOG ENTRY: Tue Apr 18th, 2017 @ precisely 10:14 pm UTC
PHP v5.6.30-0+deb8u1 :: WordPress v4.7.3 :: s2Member v170221 :: s2Member Pro v170221
Memory 34.29 MB :: Real Memory 35.00 MB :: Peak Memory 34.51 MB :: Real Peak Memory 35.00 MB
www.livebeyondfacebook.com/
www.livebeyondfacebook.com/payfull/
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Array
(
[state] => response
[transport_class] => Requests
[args] => Array
(
[method] => POST
[timeout] => 20
[redirection] => 5
[httpversion] => 1.1
[user-agent] => s2Member v170221; https://www.livebeyondfacebook.com
[reject_unsafe_urls] =>
[blocking] => 1
[headers] => Array
(
)

        [cookies] => Array
            (
            )

        [body] => Array
            (
                [x_type] => AUTH_CAPTURE
                [x_method] => CC
                [x_email] => joy@gplusgotogal.com
                [x_first_name] => Joy
                [x_last_name] => King
                [x_customer_ip] => 47.220.180.74
                [x_invoice_num] => s2-58f68fb81271f
                [x_description] => $1000 USD / One Time for lifetime access
                [s2_invoice] => 1
                [s2_custom] => www.livebeyondfacebook.com
                [x_tax] => 0.00
                [x_amount] => 1000.00
                [x_currency_code] => USD
                [x_card_num] => 4007000000027
                [x_exp_date] => 2021-02
                [x_card_code] => 123
                [x_address] => 601 stam
                [x_city] => austin
                [x_state] => tx
                [x_country] => US
                [x_zip] => 78660
                [x_version] => 3.1
                [x_login] => 5t4Xp3QX
                [x_tran_key] => 9Baqv78ez8Wh5J7j
                [x_delim_data] => true
                [x_delim_char] => ,
                [x_encap_char] => "
                [x_relay_response] => false
            )

        [compress] => 
        [decompress] => 1
        [sslverify] => 1
        [sslcertificates] => /home/110287-83581.cloudwaysapps.com/sbdxyduknp/public_html/wp-includes/certificates/ca-bundle.crt
        [stream] => 
        [filename] => 
        [limit_response_size] => 
        [s2member] => 170221
        [_redirection] => 5
    )

[url] => https://secure.networkmerchants.com/gateway/transact.dll
[response] => Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [date] => Tue, 18 Apr 2017 22:14:16 GMT
                        [server] => Apache
                        [content-length] => 311
                        [content-type] => text/html; charset=UTF-8
                    )

            )

        [body] => "3","0","122","Authentication Failed","","P","0","s2-58f68fb81271f","$1000 USD / One Time for lifetime access","1000.00","CC","auth_capture","","Joy","King","","601 stam","austin","tx","78660","US","","","joy@gplusgotogal.com","","","","","","","","","0.00","","","","","C2C1F98E71FD5BEA757B91D198402274","P",""
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )

        [cookies] => Array
            (
            )

        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => "3","0","122","Authentication Failed","","P","0","s2-58f68fb81271f","$1000 USD / One Time for lifetime access","1000.00","CC","auth_capture","","Joy","King","","601 stam","austin","tx","78660","US","","","joy@gplusgotogal.com","","","","","","","","","0.00","","","","","C2C1F98E71FD5BEA757B91D198402274","P",""
                        [raw] => HTTP/1.1 200 OK

Date: Tue, 18 Apr 2017 22:14:16 GMT
Server: Apache
Content-Length: 311
Connection: close
Content-Type: text/html; charset=UTF-8

“3”,“0”,“122”,“Authentication Failed”,"",“P”,“0”,“s2-58f68fb81271f”,"$1000 USD / One Time for lifetime access",“1000.00”,“CC”,“auth_capture”,"",“Joy”,“King”,"",“601 stam",“austin”,“tx”,“78660”,“US”,"","","joy@gplusgotogal.com”,"","","","","","","","",“0.00”,"","","","",“C2C1F98E71FD5BEA757B91D198402274”,“P”,""
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[date] => Array
(
[0] => Tue, 18 Apr 2017 22:14:16 GMT
)

                                        [server] => Array
                                            (
                                                [0] => Apache
                                            )

                                        [content-length] => Array
                                            (
                                                [0] => 311
                                            )

                                        [content-type] => Array
                                            (
                                                [0] => text/html; charset=UTF-8
                                            )

                                    )

                            )

                        [status_code] => 200
                        [protocol_version] => 1.1
                        [success] => 1
                        [redirects] => 0
                        [url] => https://secure.networkmerchants.com/gateway/transact.dll
                        [history] => Array
                            (
                            )

                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )

                            )

                    )

                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )

    )

)

I can read the logs but they don’t show any really useful information, as far as I can see. “Authentication Failed” but why? As I said, if you are sure the Authorize.net settings have been set up correctly on both ends, contact Authorize.net and see if they can tell you why authentication failed. Maybe they have logs with more information.

1 Like

Thanks!
I did contact them… this is what they said:

So this error states: The system generated void for the original errored transaction failed. This means that the requests being forwarded through are being sent to us as voids and since there isn’t an original transaction to void, this error is occuring. In this case, you will want to contact your website provider/developer.

@yifat:

Okay. So Authorize.net says they are being sent void transactions. I’m not sure whether they mean a transaction to “void” (as a verb) the last transaction (that is what it sounds like) or “void” as in empty. In either case, looking at your logs the HTTP log shows the “AUTH_CAPTURE” is not empty. Since “AUTH_CAPTURE” is the transaction type, I’m pretty sure it is not an instruction to void the previous transaction either.

This still looks like an Authorize.net problem to me, but if you want to report it as a possible bug in s2Member please open a GitHub issue here: https://github.com/websharks/s2member/issues.

1 Like