PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Authorize.net transaction failure

s2Member Plugin. A Membership plugin for WordPress®.

Authorize.net transaction failure

Postby tkoziol » December 16th, 2011, 11:30 am

First off, I want to say I love the plugin and the theme and very impressed with the capabilities....but I can't figure out why I can't get authorize.net transactions working.

I have setup a sandbox testing account with authorize.net and have setup s2member to use all of the credentials.

I have also run the tests to make sure my windows box running IIS 6 is working correctly with the php and curl extensions...and it was successful.

"Test succeeded :-) Lookin' good here. Your cURL extension is functioning properly, with SSL enabled too."

However, anytime I try to process a test payment the form acts like it is submitting, then returns with "Error. Please contact Support for assistance."

Looking at the log file, this is what I've found:

Code: Select all
PHP v5.2.4 :: WordPress® v3.2.1 :: s2Member® v111105 :: s2Member® Pro v111105
Memory 24.98 MB :: Real Memory 26.00 MB :: Peak Memory 25.23 MB :: Real Peak Memory 26.00 MB
www.mylifeattendant.com/index.php/signup/gold-membership
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
-------- Input vars: ( Fri Dec 16, 2011 4:22:14 pm UTC ) --------
array (
  'x_type' => 'AUTH_CAPTURE',
  'x_method' => 'CC',
  'x_email' => 'tom@tom.com',
  'x_first_name' => 'Tom',
  'x_last_name' => 'LastName',
  'x_customer_ip' => '50.77.215.69',
  'x_invoice_num' => 's2-4eeb70360cb32',
  'x_description' => '$687 USD / One Time Fee',
  's2_invoice' => '3',
  's2_custom' => 'www.mylifeattendant.com',
  'x_tax' => '0.00',
  'x_amount' => '687.00',
  'x_card_num' => '***********0002',
  'x_exp_date' => '2012-01',
  'x_card_code' => '5874',
  'x_address' => '123 Main Street',
  'x_city' => 'Grand Rapids',
  'x_state' => 'Michigan',
  'x_country' => 'US',
  'x_zip' => '49503',
  'x_version' => '3.1',
  'x_login' => '48FqX7dX',
  'x_tran_key' => '3S3W7Df45a2w3Az6',
  'x_delim_data' => 'true',
  'x_delim_char' => ',',
  'x_encap_char' => '"',
)
-------- Output string/vars: ( Fri Dec 16, 2011 4:22:14 pm UTC ) --------

array (
  'response_code' => NULL,
  'response_subcode' => NULL,
  'response_reason_code' => NULL,
  'response_reason_text' => NULL,
  'authorization_code' => NULL,
  'avs_response' => NULL,
  'transaction_id' => NULL,
  'invoice_number' => NULL,
  'description' => NULL,
  'amount' => NULL,
  'method' => NULL,
  'transaction_type' => NULL,
  'customer_id' => NULL,
  'first_name' => NULL,
  'last_name' => NULL,
  'company' => NULL,
  'address' => NULL,
  'city' => NULL,
  'state' => NULL,
  'zipcode' => NULL,
  'country' => NULL,
  'phone' => NULL,
  'fax' => NULL,
  'email' => NULL,
  'ship_to_first_name' => NULL,
  'ship_to_last_name' => NULL,
  'ship_to_company' => NULL,
  'ship_to_address' => NULL,
  'ship_to_city' => NULL,
  'ship_to_state' => NULL,
  'ship_to_zipcode' => NULL,
  'ship_to_country' => NULL,
  'tax' => NULL,
  'duty' => NULL,
  'freight' => NULL,
  'tax_exempt' => NULL,
  'po_number' => NULL,
  'md5_hash' => NULL,
  'card_code_response' => NULL,
  'cavv_response' => NULL,
  'card_number' => NULL,
  'card_type' => NULL,
  'split_tender_id' => NULL,
  'requested_amount' => NULL,
  'balance_on_card' => NULL,
  '__error' => 'Error. Please contact Support for assistance.',
)


It appears S2member isn't actually passing any information on to Authorize.net. Any thought would be extremely helpful!
User avatar
tkoziol
Registered User
Registered User
 
Posts: 6
Joined: December 1, 2011

Re: Authorize.net transaction failure

Postby colinp386 » December 16th, 2011, 11:37 am

You say "a sandbox testing account with authorize.net"

In this case surely you don't expect it to work right?
Its a while since I used the authorize test gateway, but if it is a test gateway it will not process the payment, so perhaps it's working correctly?
Colin Prior


UnixPackages - Open Source Packages for Solaris
User avatar
colinp386
Registered User
Registered User
 
Posts: 28
Joined: September 29, 2011

Re: Authorize.net transaction failure

Postby tkoziol » December 16th, 2011, 12:29 pm

Well I wouldn't really understand the purpose of a testing account if I couldn't attempt to post a transaction successfully and securely to the authorize.net testing account...

Does anyone have thoughts on what may be going on and how the testing should work?
User avatar
tkoziol
Registered User
Registered User
 
Posts: 6
Joined: December 1, 2011

Re: Authorize.net transaction failure

Postby Cristián Lávaque » December 19th, 2011, 4:03 am

I can't really say, but I'm emailing Jason to look at your log file.

What screen do you get after checking out?

Could you try updating your s2Member to the latest version 111206 and try again, please?

And thanks for the kudos!
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Authorize.net transaction failure

Postby tkoziol » December 19th, 2011, 8:04 am

After submitting the form it simply returns to the black form with a warning box at the top that says "Error. Please contact Support for assistance."

No other indication of what went wrong, which is why I pulled the log files. I will upgrade to the newest version shortly and give that a try and let you know. Thanks!
User avatar
tkoziol
Registered User
Registered User
 
Posts: 6
Joined: December 1, 2011

Re: Authorize.net transaction failure

Postby Jason Caldwell » December 19th, 2011, 1:01 pm

An output string with nothing but NULL values...
Code: Select all
-------- Output string/vars: ( Fri Dec 16, 2011 4:22:14 pm UTC ) --------

array (
  'response_code' => NULL,
  'response_subcode' => NULL,
  'response_reason_code' => NULL,
  'response_reason_text' => NULL,
  'authorization_code' => NULL,
  'avs_response' => NULL,
  'transaction_id' => NULL,
  'invoice_number' => NULL,
This indicates that s2Member is attempting to communicate with the Authorize.Net API, but the connection returned nothing but NULL values. This could be caused by several things.

Here is a checklist that I would follow.

1. Do you have the latest version of s2Member Pro?
( at this time, the latest version is s2Member & s2Member Pro v111216 )

2. Do you have the latest version of WordPress?
I recommend WordPress v3.3, as this release corrected an issue in the WP_Http class that will resolve some issues across different platforms, such as Windows IIS.

3. Is your server able to communicate via cURL properly, over the HTTPS protocol? You indicated it was. However, on a Windows platform, s2Member v111105 would automatically disable the cURL transfer protocol within WordPress, to avoid common pitfalls associated with cURL on Windows. More recent versions of PHP have resolved these pitfalls, and s2Member v111206+ was updated accordingly.

In short, please try the latest copy of s2Member and s2Member Pro v111216+.
If that does'nt resolve this, try upgrading to WordPress v3.3 as well.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Authorize.net transaction failure

Postby tkoziol » December 19th, 2011, 3:39 pm

Well, I must say good timing on the update because that solved my problem! I didn't realize cURL was automatically disabled by s2member and was confident we wouldn't have problems as we'd done auth.net transactions from this same server before using cURL.

Anyway, Thanks for the help and responses! Much appreciated!
User avatar
tkoziol
Registered User
Registered User
 
Posts: 6
Joined: December 1, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron