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.

new members assigned to "subscribers"

Home Forums Community Forum new members assigned to "subscribers"

This topic contains 3 replies, has 3 voices. Last updated by  pico the one and only 4 years ago.

Topic Author Topic
Posted: Tuesday Jan 1st, 2013 at 3:26 pm #35912

having gone through the multiple posts on this issue, I’ve not been able to resolve it in my case.
I’m using a test account at authorize.net and sandbox mode. user registration processes fine but even though the short code specifies “level 2” they are assigned “subscriber” role and have no access.

shortcode:

[s2Member-Pro-AuthNet-Form level="2" ccaps="" desc="$4.90 USD for 1 week access" cc="USD" custom="www.xyz.com" ta="0" tp="0" tt="D" ra="4.90" rp="1" rt="W" rr="0" rrt="" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="1" /]

authnet-api.log:

PHP v5.3.14 :: WordPress® v3.4.2 :: s2Member® v121204 :: s2Member® Pro v121204
Memory 6.03 MB :: Real Memory 6.50 MB :: Peak Memory 6.22 MB :: Real Peak Memory 6.50 MB
www.xyz.com/become-a-member/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 Safari/537.11
-------- Input vars: ( Tue Jan 1, 2013 8:07:33 pm UTC ) --------
array (
  'x_type' => 'AUTH_CAPTURE',
  'x_method' => 'CC',
  'x_email' => 'pirco@test.com',
  'x_first_name' => 'test',
  'x_last_name' => 'subscriber',
  'x_customer_ip' => '1.1.1.1',
  'x_invoice_num' => 's2-50e34205adc07',
  'x_description' => '$4.90 USD for 1 week access',
  's2_invoice' => '2::1 W',
  's2_custom' => 'www.xyz.com',
  'x_tax' => '0.00',
  'x_amount' => '4.90',
  'x_card_num' => '***********0002',
  'x_exp_date' => '2013-12',
  'x_card_code' => '1234',
  'x_address' => '123 street',
  'x_city' => 'los angeles',
  'x_state' => 'ca',
  'x_country' => 'US',
  'x_zip' => '90001',
  'x_version' => '3.1',
  'x_login' => '123xxx',
  'x_tran_key' => '123xxx',
  'x_delim_data' => 'true',
  'x_delim_char' => ',',
  'x_encap_char' => '"',
  'x_relay_response' => 'false',
)
-------- Output string/vars: ( Tue Jan 1, 2013 8:07:42 pm UTC ) --------
"1","1","1","(TESTMODE) This transaction has been approved.","000000","P","0","s2-50e34205adc07","$4.90 USD for 1 week access","4.90","CC","auth_capture","","test","subscriber","","123 street","los angeles","ca","90001","US","","","pirco@test.com","","","","","","","","","0.00","","","","","123","","","","","","","","","","","","","123","American Express","","","","","","","","","","","","","","","","","2::1 W","www.xyz.com"
array (
  0 => '1',
  1 => '1',
  2 => '1',
  3 => '(TESTMODE) This transaction has been approved.',
  4 => '000000',
  5 => 'P',
  6 => '0',
  7 => 's2-50e34205adc07',
  8 => '$4.90 USD for 1 week access',
  9 => '4.90',
  10 => 'CC',
  11 => 'auth_capture',
  12 => '',
  13 => 'test',
  14 => 'subscriber',
  15 => '',
  16 => '123 street',
  17 => 'los angeles',
  18 => 'ca',
  19 => '90001',
  20 => 'US',
  21 => '',
  22 => '',
  23 => 'pirco@test.com',
  24 => '',
  25 => '',
  26 => '',
  27 => '',
  28 => '',
  29 => '',
  30 => '',
  31 => '',
  32 => '0.00',
  33 => '',
  34 => '',
  35 => '',
  36 => '',
  37 => '123',
  38 => '',
  39 => '',
  40 => '',
  41 => '',
  42 => '',
  43 => '',
  44 => '',
  45 => '',
  46 => '',
  47 => '',
  48 => '',
  49 => '',
  50 => 'XXXX0002',
  51 => 'American Express',
  52 => '',
  53 => '',
  54 => '',
  55 => '',
  56 => '',
  57 => '',
  58 => '',
  59 => '',
  60 => '',
  61 => '',
  62 => '',
  63 => '',
  64 => '',
  65 => '',
  66 => '',
  67 => '',
  68 => '2::1 W',
  69 => 'www.xyz.com',
  'response_code' => '1',
  'response_subcode' => '1',
  'response_reason_code' => '1',
  'response_reason_text' => '(TESTMODE) This transaction has been approved.',
  'authorization_code' => '000000',
  'avs_response' => 'P',
  'transaction_id' => '0',
  'invoice_number' => 's2-50e34205adc07',
  'description' => '$4.90 USD for 1 week access',
  'amount' => '4.90',
  'method' => 'CC',
  'transaction_type' => 'auth_capture',
  'customer_id' => '',
  'first_name' => 'test',
  'last_name' => 'subscriber',
  'company' => '',
  'address' => '123 street',
  'city' => 'los angeles',
  'state' => 'ca',
  'zipcode' => '90001',
  'country' => 'US',
  'phone' => '',
  'fax' => '',
  'email' => 'pirco@test.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' => '123',
  'card_code_response' => '',
  'cavv_response' => '',
  'card_number' => '',
  'card_type' => '',
  'split_tender_id' => '',
  'requested_amount' => '',
  'balance_on_card' => '',
)

authnet-ipn.log:

PHP v5.3.14 :: WordPress® v3.4.2 :: s2Member® v121204 :: s2Member® Pro v121204
Memory 27.01 MB :: Real Memory 27.25 MB :: Peak Memory 27.21 MB :: Real Peak Memory 27.25 MB
www.xyz.com/?s2member_pro_authnet_notify=1
User-Agent: 
array (
  's2member_log' => 
  array (
    0 => 'Unable to verify POST vars. This is most likely related to an invalid Authorize.Net® configuration. Please check: s2Member -> Authorize.Net® Options.',
    1 => 'If you\'re absolutely SURE that your Authorize.Net® configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to Authorize.Net® over an HTTPS connection.',
    2 => 's2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.',
    3 => 'array (
  \'s2member_pro_authnet_notify\' => \'1\',
  \'x_response_code\' => \'1\',
  \'x_response_reason_code\' => \'1\',
  \'x_response_reason_text\' => \'(TESTMODE) This transaction has been approved.\',
  \'x_avs_code\' => \'P\',
  \'x_auth_code\' => \'000000\',
  \'x_trans_id\' => \'0\',
  \'x_method\' => \'CC\',
  \'x_card_type\' => \'American Express\',
  \'x_account_number\' => \'XXXX0002\',
  \'x_first_name\' => \'test\',
  \'x_last_name\' => \'subscriber\',
  \'x_company\' => \'\',
  \'x_address\' => \'123 street\',
  \'x_city\' => \'los angeles\',
  \'x_state\' => \'ca\',
  \'x_zip\' => \'90001\',
  \'x_country\' => \'US\',
  \'x_phone\' => \'\',
  \'x_fax\' => \'\',
  \'x_email\' => \'pirco@test.com\',
  \'x_invoice_num\' => \'s2-50e34205adc07\',
  \'x_description\' => \'$4.90 USD for 1 week access\',
  \'x_type\' => \'auth_capture\',
  \'x_cust_id\' => \'\',
  \'x_ship_to_first_name\' => \'\',
  \'x_ship_to_last_name\' => \'\',
  \'x_ship_to_company\' => \'\',
  \'x_ship_to_address\' => \'\',
  \'x_ship_to_city\' => \'\',
  \'x_ship_to_state\' => \'\',
  \'x_ship_to_zip\' => \'\',
  \'x_ship_to_country\' => \'\',
  \'x_amount\' => \'4.90\',
  \'x_tax\' => \'0.00\',
  \'x_duty\' => \'0.00\',
  \'x_freight\' => \'0.00\',
  \'x_tax_exempt\' => \'FALSE\',
  \'x_po_num\' => \'\',
  \'x_MD5_Hash\' => \'123\',
  \'x_cvv2_resp_code\' => \'\',
  \'x_cavv_response\' => \'\',
  \'x_test_request\' => \'true\',
  \'s2_invoice\' => \'2::1 W\',
  \'s2_custom\' => \'www.xyz.com\',
)',
  ),
)

this isn’t due to test account, is it?

I followed the troubleshooting links and performed the server test script. all is good, including IPN info.

thanks.

P.S.: I noticed that the WP user account does not show any “Paid Subscr. Gateway:” or “Paid Subscr. ID:” info…

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday Jan 1st, 2013 at 5:16 pm #35932
David Welch
Username: dwbiz05

I would try taking it off sandbox testing and try it live. If I remember correctly, my auth.net didn’t work in test mode either… only in live.

Dave

Posted: Thursday Jan 3rd, 2013 at 2:09 am #36056

Well, test mode should work, but in the end it’s always best to test with live transactions, even if 1 cent ones.

After you test live, could you post the entries from the logs? The Auth.Net ones as well as the ones that say PayPal in the name, please, they’re relevant too.

Thanks. :)

Posted: Thursday Jan 3rd, 2013 at 12:21 pm #36116

OK. I just need some time to set up the live site. back soon.

thanks

Viewing 3 replies - 1 through 3 (of 3 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.