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…