latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Authorize.Net – Some Accounts Not Working

Home Forums Community Forum Authorize.Net – Some Accounts Not Working

This topic contains 1 reply, has 2 voices. Last updated by  Mike (Volunteer Moderator) 3 years, 5 months ago.

Topic Author Topic
Posted: Friday Aug 2nd, 2013 at 10:22 am #54773
Lew
Username: lewayotte

I have a weird problem with a client. Sometimes they’ll have a user sign up, they pay through Authorize.Net and their accounts are created, but they are created as a Subscriber Role (not s2member_level1). The LOGS show the payment was successful too, but something is not setting up the role properly.

Here is the log entry from the latest person with an issue… any help/advice would be greatly appreciated. I am unable to reproduce this myself. Whenever I attempt to sign up for the site, it works flawlessly.

authnet-api.log

LOG ENTRY: Wed Jul 31st, 2013 @ precisely 6:41 am America/New_York
PHP v5.2.17 :: WordPress® v3.5.1 :: s2Member® v130513 :: s2Member® Pro v130513
Memory 32.92 MB :: Real Memory 33.25 MB :: Peak Memory 32.99 MB :: Real Peak Memory 33.25 MB
tradingsim.com/free-trial/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
-------- Input vars: ( Wed Jul 31, 2013 6:41:09 am EDT ) --------
array (
  'x_method' => 'create',
  'x_email' => 'EMAIL@DOMAIN.TLD',
  'x_first_name' => 'FIRST_NAME',
  'x_last_name' => 'LAST_NAME',
  'x_customer_ip' => 'X.X.X.X',
  'x_invoice_num' => 'INVOICE_NUMBER',
  'x_description' => 'Sign-up Now, It's Free For 5 Days then only $199 for lifetime access ((1375742469:5 D:1 Y~tradingsim.com~1~USD))',
  'x_amount' => '199.00',
  'x_currency_code' => 'USD',
  'x_start_date' => '2013-08-05',
  'x_unit' => 'days',
  'x_length' => 365,
  'x_total_occurrences' => '1',
  'x_card_num' => '************XXXX',
  'x_exp_date' => 'XXXX-XX',
  'x_card_code' => 'XXX',
  'x_address' => 'ADDRESS',
  'x_city' => 'London',
  'x_state' => 'London',
  'x_country' => 'US',
  'x_zip' => 'N17 9SA',
  'x_login' => 'xxxxxxxx/key/tran',
  'x_tran_key' => 'xxxxxxxx/key/tran',
)
-------- Output string/vars: ( Wed Jul 31, 2013 6:41:10 am EDT ) --------
INVOICE_NUMBEROk<code>I00001

Successful.SUBSCRIPTION_ID
array (
‘response_reason_code’ => ‘I00001’,
‘response_code’ => ‘I00001’,
‘response_reason_text’ => ‘Successful.’,
‘response_text’ => ‘Successful.’,
‘subscription_id’ => ‘SUBSCRIPTION_ID’,
)

reg-handler.log

LOG ENTRY: Wed Jul 31st, 2013 @ precisely 6:41 am America/New_York
PHP v5.2.17 :: WordPress® v3.5.1 :: s2Member® v130513 :: s2Member® Pro v130513
Memory 35.16 MB :: Real Memory 35.25 MB :: Peak Memory 35.23 MB :: Real Peak Memory 35.25 MB
tradingsim.com/free-trial/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
array (
  'user_id' =&gt; 1600,
  'password' =&gt; false,
  'pagenow' =&gt; 'index.php',
  'email_config' =&gt; true,
  'processed' =&gt; 'yes',
  'user' =&gt; 
  WP_User::__set_state(array(
     'data' =&gt; 
    stdClass::__set_state(array(
       'ID' =&gt; '1600',
       'user_login' =&gt; 'EMAIL@DOMAIN.TLD',
       'user_pass' =&gt; 'xxxxxxxx/pass',
       'user_nicename' =&gt; 'FIRST_NAMELAST_NAMEtiscali-co-uk',
       'user_email' =&gt; 'EMAIL@DOMAIN.TLD',
       'user_url' =&gt; '',
       'user_registered' =&gt; '2013-07-31 10:41:10',
       'user_activation_key' =&gt; '',
       'user_status' =&gt; '0',
       'display_name' =&gt; 'EMAIL@DOMAIN.TLD',
       'status' =&gt; '0',
       'uni_hash' =&gt; '',
       'amount' =&gt; '',
    )),
     'ID' =&gt; 1600,
     'caps' =&gt; 
    array (
      'subscriber' =&gt; true,
    ),
     'cap_key' =&gt; 'wp_capabilities',
     'roles' =&gt; 
    array (
      0 =&gt; 'subscriber',
    ),
     'allcaps' =&gt; 
    array (
      'read' =&gt; true,
      'level_0' =&gt; true,
      'access_s2member_level0' =&gt; true,
      'subscriber' =&gt; true,
    ),
     'filter' =&gt; NULL,
  )),
  '_pmr' =&gt; 
  array (
    's2member_pro_authnet_checkout' =&gt; 
    array (
      'first_name' =&gt; 'FIRST_NAME',
      'last_name' =&gt; 'LAST_NAME',
      'username' =&gt; 'EMAIL@DOMAIN.TLD',
      'email' =&gt; 'EMAIL@DOMAIN.TLD',
      'password1' =&gt; 'xxxxxxxx/pass',
      'password2' =&gt; 'xxxxxxxx/pass',
      'card_type' =&gt; 'Visa',
      'card_number' =&gt; 'xxxxxxxxxxxxXXXX',
      'card_expiration' =&gt; 'XX/XXXX',
      'card_verification' =&gt; 'XXX',
      'card_start_date_issue_number' =&gt; '',
      'street' =&gt; 'ADDRESS',
      'London' =&gt; 'London',
      'state' =&gt; 'London',
      'country' =&gt; 'US',
      'zip' =&gt; 'N17 9SA',
      'coupon' =&gt; '',
      'custom_fields' =&gt; 
      array (
        'opt_in' =&gt; '1',
      ),
      'nonce' =&gt; 'a41eaf5a9b',
      'attr' =&gt; 'fnIyOklsZW91ZXZVd010RFVDZnNveUN3d1ZzNG1mQzNIR2piOjNiZDFlOTQ2NjQ4OTUyZjRmYTc4ZTJiN2ZkOGExZjVhfJlbDVw0xGDxeCfGW0q9rbGdKPAqsyK9tkE91CdeKiJhJ86QjfN9V1MsxOWfICWA1WUg1gYIjQvFpJfp140CeJowspypp--1ZPJ5w75REXxILfAnRSs75v7I2mMoxxemZutSaXY9HsEpK8wUAWeVwXtzL-RyaOrV2mjk0p8rae9rxv4tPFifw9iG4XFiOSbp6y2MRlbvytjTl5Xbi2k7zBXCKeJR9VKxolcY67Y5jPeRSquqi_kFUfGsujq4pyRCi8D-1AQAgBuwmdaHGXAn-M4CY0_al-CIMHcZ1Fp4iLxB_7u9ePnMK2Wpb1fI3ycvX80qMFy8BazZo7mFzQ2gwD6euW5GvW3TpFwHtwdifm46b2rppiI2gOwqZ7PwcwzSV5kXsuotOIQWox6r6c4w-tqWSutVJiO80_ELzGoojJLR8Ck4dZQzbq_bR9HOvvzAP9qb_59ZNA3kGljjYvhJ-TAqBko2Fgh_iFxbu7OnCTbXNs0-TuW7M9eEjdfTiTsPUpx9qoG7rWRiHltn4HrUs95fcMjNOUoUJZBfulpWG_uHhplY74D7Q33Mc4v78z2Sxq4NzmLrnnCw3bdZvH_MCFsPiKN2EE6Cef9WAVMAy0rSdCPKWK9aZTCaF7pypuef89o8PmEFSDhEN1it6IfCJ9DLxg87CPOE13L5c3deXKuwr3NkznL63syERZln09o_MztwM02-Uy09Bbwc_H0ZozzcrJytrG9ysMclrzi1czde32ECGHXQBf949dC09sXXXavV3poKDkRSM3nN2mRdiSnSPQMfOa2RAdUO1boMgKVYG4kxA1kby6qVpb4F8x7HHBdD6jfrkJrX4xX-DXZFm2iI4_s3gC8IcR47FcS_36nDKVet4BbYK6d-CnAn239a7C4YvIUricfTIL-0cF1QsqFk5BJ0SuUkB2R_MpkTvJbnlzzEQ5vt0cBMmMprfivBA76ggZv68ivYfjgeDhRwoIhOEylFNkWOB4fSgmMzmmgyfMvAeqLJ5UiZqbZzcCNKvQNpn2SoOuOa6U_VOGypTIlQel8zoB6OES28YZQv3OQ1gI43A9KRElD0aR5RkD_MwqJWn_yW3qGnzHAk6PAaSKQ',
    ),
    'ws_plugin__s2member_custom_reg_field_user_pass1' =&gt; 'xxxxxxxx/pass',
    'ws_plugin__s2member_custom_reg_field_first_name' =&gt; 'FIRST_NAME',
    'ws_plugin__s2member_custom_reg_field_last_name' =&gt; 'LAST_NAME',
    'ws_plugin__s2member_custom_reg_field_opt_in' =&gt; '1',
    0 =&gt; '',
  ),
  'custom_reg_display_name' =&gt; 'full',
  'reg_cookies' =&gt; false,
  'current_role' =&gt; 'subscriber',
  'role' =&gt; 'subscriber',
  'level' =&gt; '0',
  'ccaps' =&gt; '',
  'email' =&gt; 'EMAIL@DOMAIN.TLD',
  'login' =&gt; 'EMAIL@DOMAIN.TLD',
  'ip' =&gt; 'X.X.X.X',
  'custom' =&gt; '',
  'subscr_id' =&gt; '',
  'subscr_gateway' =&gt; '',
  'cv' =&gt; 
  array (
    0 =&gt; '',
  ),
  'eot' =&gt; '',
  'auto_eot_time' =&gt; '',
  'notes' =&gt; '',
  'opt_in' =&gt; true,
  'fname' =&gt; 'FIRST_NAME',
  'lname' =&gt; 'LAST_NAME',
  'name' =&gt; 'FIRST_NAME LAST_NAME',
  'pass' =&gt; 'xxxxxxxx/pass',
  'fields' =&gt; 
  array (
  ),
)

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Sunday Aug 4th, 2013 at 8:00 pm #55159
Moderator

Thanks for reporting this important issue.

If you look at your PHP error log file, do you have any MySQL errors like “server has gone away”?

We have had some reports of this happening (very rarely, but occasionally) and we believe the underlying cause is related to a lag in communication between s2Member® and Authorize.Net whenever there is some type of network connectivity issue between your server and Authorize.Net; or perhaps from time to time whenever the Authorize.Net server is experiencing a heavy load.

In the latest release of s2Member® Pro we have made an effort to reduce the chance of this happening by automatically increasing the MySQL wait_timeout dynamically whenever s2Member® processes a transaction.

For further details, please see: s2Member® Unified Changelog » v130731

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.