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.

About: Rich Schreiner

Sorry, I've not written a description yet. I'll get to it soon!


My Latest Replies (From Various Topics)

Viewing 10 replies - 1 through 10 (of 10 total)
Author Replies
Author Replies
Posted: Thursday Mar 7th, 2013 at 5:13 pm #43994

Hi Eduan

I dont’t think we have either of those setup. The only thing we tried to change was to increase the number of levels based on the s2member instructions. But we didn’t get this to work. I don’t know if it ‘s related. The other thing we found out today was that testing an upgrade from level0 to a paid level, the problem did not show up (i.e. the EOT was left blank. So something is different between the regular signup and the upgrade.

Posted: Wednesday Mar 6th, 2013 at 1:48 pm #43899

We turned off the WP-Cron to further evaluate the problem. We found that all of the users that were added had the Automatic EOT Time set to June 30, 2012 12:00am UTC. So before we had the WP-Cron on and the users were demoted automatically. The transaction in Authorize.net for the initial payment is processing correctly and the subscriptions in authorize.net have the correct dates on them. The problem is the EOT Date that is written in in the user record. Based on reading the help message we would expect this field to be blank. So we don’t understand why something is being written in here.

Posted: Friday Feb 22nd, 2013 at 7:04 pm #42872

I really don’t know the exact details, our programmer made the change. He explained it as the cURL was installed on the server in a “standalone” mode. He needed to turn cURL on in the PHP installation.

I hope this makes some sense.

Posted: Friday Feb 22nd, 2013 at 1:22 pm #42854

We were able to solve the problem. In working on another issue we found that cURL was installed in a standalone mode on the server. Once we enabled it in PHP the problem was solved.

Posted: Thursday Feb 21st, 2013 at 5:56 pm #42766

Additional information provided by authorize.net support:

Greetigs Richard,

Thanks for your inquiry regarding ARB API requests to create ARB Subscriptions taking 2 minutes to take place.

This means the ARB Subscription was created within 10 seconds and there’s a delay getting the response back to your website. If the subscription didn’t get created within 10 seconds, we’d relay a timeout. The delay with the response getting to you is going to be related to the possible functions your website is performing as it gets back the ARB Creating request response. There’s nothing on our end that can be changed to reduce this time on our end. This will be something your web developer will have to investigate within your website ARB script.

If the information provided above satisfies your needs, please close this ticket. Otherwise, please send me a reply message with your follow-up questions so I can further assist you. For your convenience the Authorize.Net Knowledge Base, located at http://www.authorize.net/help, is available 24×7.

Regards,

Cameron H
Authorize.Net

Posted: Thursday Feb 21st, 2013 at 5:38 pm #42760

Here is a sample of what we are seeing on the transactions:

Authorize.net payment transaction sent at 4:32:01
Response from authorize.net received at 4:32:01
Sent ARB to authorize at 4:32:01
Added subscription in authorize.net 4:32:02

Received the return form ARB 4:34:13
Added Member 4:34

The problem is clearly AFTER the subscription is added in authorize.net ARB. Is there a setting or something else that could delay s2member from receiving the success transaction? Is there a possible setting we could have wrong?

Posted: Thursday Feb 21st, 2013 at 2:07 pm #42747

Response received from Authorize.net

Do you have any ideas?

Hi Rich,
In regards to payment gateway ID 1108118, we spoke earlier about the amount of time for the response back on transactions /recurring subscriptions that you?re creating.
I was unable to get any sort of a log to forward to you but our production specialists did state that there is no possible way that it would be taking that long for US to send the response back. They suggested that you work with your developer and/or site provider to find the cause of that delay as it?s not something on our end.
Thank you for your time & have a great Thursday!

Thank you for contacting Customer Support.

Regards,

Shawna T
Authorize.Net Customer Support

Posted: Thursday Feb 21st, 2013 at 10:19 am #42733

We spoke to authorize.net 3 times and submitted an e-ticket. The response so far is that nothing on the authorize.net server is causing the delay. We also created a manual ARB transaction on the authorize.net and it responded with a second or 2. The supervisor at authorize.net indicated that if they were having this problem on all ARB transactions, they would have many phone calls and they are not.

We are running these as live transactions.

The initial transaction is fine. The second transaction is the ARBCreate and this is where the hangup is. Could there be problem with our settings/or the call itself?

We need to have this live and working (2 minute delay in processing cannot be considered working) we would like a refund and then we’ll move on and try another solution

Posted: Wednesday Feb 20th, 2013 at 8:42 am #42575

Here is the log file information from one of the transactions. It maybe important to note that we thought we would only use authorize.net (we don’t offer paypal as an option), so we do NOT have a paypal account.
On a separate issue, your response seemed to indicate that we should be able to access the log file from the WP dashboard ( Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer) We don’t seem to have the options to view log files from the dashboard.

:
Here’s the first log from authnet-ipn.log

(I’ve also deleted out my personal information from each lo)

PHP v5.3.2-1ubuntu4.17 :: WordPress® v3.5 :: s2Member® v130207 :: s2Member® Pro v130207
Memory 34.84 MB :: Real Memory 35.25 MB :: Peak Memory 34.93 MB :: Real Peak Memory 35.25 MB
wp.saleskatz.com/?s2member_pro_authnet_notify=1
User-Agent:
array (
‘x_response_code’ => ‘1’,
‘x_response_reason_code’ => ‘1’,
‘x_response_reason_text’ => ‘This transaction has been approved.’,
‘x_avs_code’ => ‘Y’,
‘x_auth_code’ => ‘289549’,
‘x_trans_id’ => ‘5024219845’,
‘x_method’ => ‘CC’,
‘x_card_type’ => ‘American Express’,
‘x_account_number’ => ‘XXXX3007’,
‘x_first_name’ => ‘R’,
‘x_last_name’ => ‘H’,
‘x_company’ => ”,
‘x_address’ => ”,
‘x_city’ => ”,
‘x_state’ => ”,
‘x_zip’ => ”,
‘x_country’ => ‘US’,
‘x_phone’ => ”,
‘x_fax’ => ”,
‘x_email’ => ‘,
‘x_invoice_num’ => ‘s2-5123fe9be3d6f’,
‘x_description’ => ‘1 Month @ $54.90 / then $24.95 USD / Monthly ( recurring charge, for ongoing 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’ => ‘54.90’,
‘x_tax’ => ‘0.00’,
‘x_duty’ => ‘0.00’,
‘x_freight’ => ‘0.00’,
‘x_tax_exempt’ => ‘FALSE’,
‘x_po_num’ => ”,
‘x_MD5_Hash’ => ‘D6F17BAB4F1AB091C7CB93C8B9124AEE’,
‘x_cvv2_resp_code’ => ‘M’,
‘x_cavv_response’ => ”,
‘x_test_request’ => ‘false’,
‘s2_initial_payment’ => ‘1’,
‘s2_invoice’ => ‘2’,
‘s2_custom’ => ‘wp.saleskatz.com’,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Tue Feb 19, 2013 10:37:17 pm UTC’,
1 => ‘s2Member POST vars verified with Authorize.Net®.’,
2 => ‘Ignoring this IPN. The transaction does NOT require any action on the part of s2Member.’,
),
)

Then two minutes later, we get the following two log messages, in paypal-ipn.log and authnet-api.log respectively

PHP v5.3.2-1ubuntu4.17 :: WordPress® v3.5 :: s2Member® v130207 :: s2Member® Pro v130207
Memory 41.91 MB :: Real Memory 42.75 MB :: Peak Memory 42.04 MB :: Real Peak Memory 42.75 MB
wp.saleskatz.com/?s2member_paypal_notify=1&s2member_paypal_proxy=authnet&s2member_paypal_proxy_use=pro-emails,subscr-signup-as-subscr-payment&s2member_paypal_proxy_verification=481d60f981ce2aa2b41dbb96494a8252&s2member_paypal_proxy_return_url=
User-Agent: WordPress/3.5; https://wp.saleskatz.com
array (
‘txn_type’ => ‘subscr_signup’,
‘subscr_id’ => ‘15971932’,
‘custom’ => ‘wp.saleskatz.com’,
‘txn_id’ => ‘5024219845’,
‘period1’ => ‘1 M’,
‘period3’ => ‘1 M’,
‘mc_amount1’ => ‘54.90’,
‘mc_amount3’ => ‘24.95’,
‘mc_gross’ => ‘54.90’,
‘mc_currency’ => ‘USD’,
‘tax’ => ‘0.00’,
‘recurring’ => ‘24.95’,
‘payer_email’ => ”,
‘first_name’ => ‘R’,
‘last_name’ => ‘H’,
‘option_name1’ => ‘Originating Domain’,
‘option_selection1’ => ‘wp.saleskatz.com’,
‘option_name2’ => ‘Customer IP Address’,
‘option_selection2’ => ”,
‘item_name’ => ‘1 Month @ $54.90 / then $24.95 USD / Monthly ( recurring charge, for ongoing access )’,
‘item_number’ => ‘2’,
‘proxy_verified’ => ‘authnet’,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Tue Feb 19, 2013 10:39:29 pm UTC’,
1 => ‘s2Member POST vars verified with a Proxy Key’,
2 => ‘s2Member originating domain ( `$_SERVER[“HTTP_HOST”]` ) validated.’,
3 => ‘s2Member `txn_type` identified as ( `web_accept|subscr_signup` ).’,
4 => ‘s2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.’,
5 => ‘Signup Confirmation Email sent to: “Rob Heinen” .’,
6 => ‘User exists. Handling `payment` for Subscription via ( `subscr-signup-as-subscr-payment` ).’,
7 => ‘Storing IPN signup vars now. These are associated with a User\’s account record; for future reference.’,
),
‘subscr_gateway’ => ‘authnet’,
‘eotper’ => NULL,
‘ccaps’ => NULL,
‘level’ => ‘2’,
‘ip’ => ‘75.187.215.179’,
‘initial_term’ => ‘1 M’,
‘initial’ => ‘54.90’,
‘regular’ => ‘24.95’,
‘regular_term’ => ‘1 M’,
‘s2member_paypal_proxy’ => ‘authnet’,
‘s2member_paypal_proxy_use’ => ‘pro-emails,subscr-signup-as-subscr-payment’,
‘s2member_paypal_proxy_verification’ => ‘481d60f981ce2aa2b41dbb96494a8252’,
)

Memory 37.71 MB :: Real Memory 38.00 MB :: Peak Memory 37.81 MB :: Real Peak Memory 38.00 MB
wp.saleskatz.com/monthly-plan/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
——– Input vars: ( Tue Feb 19, 2013 10:37:17 pm UTC ) ——–
array (
‘x_method’ => ‘create’,
‘x_email’ => ‘soccerrob@yahoo.com’,
‘x_first_name’ => ‘R’,
‘x_last_name’ => ‘H’,
‘x_customer_ip’ => ”,
‘x_invoice_num’ => ‘s2-5123fe9be3d6f’,
‘x_description’ => ‘1 Month @ $54.90 / then $24.95 USD / Monthly ( recurring charge, for ongoing access ) ((1363948635:1 M:1 M~wp.saleskatz.com~2))’,
‘x_amount’ => ‘24.95’,
‘x_start_date’ => ‘2013-03-22’,
‘x_unit’ => ‘months’,
‘x_length’ => 1,
‘x_total_occurrences’ => ‘9999’,
‘x_card_num’ => ‘***********3007’,
‘x_exp_date’ => ”,
‘x_card_code’ => ”,
‘x_address’ => ”,
‘x_city’ => ”,
‘x_state’ => ”,
‘x_country’ => ‘US’,
‘x_zip’ => ”,
‘x_login’ => ‘9dF2C7uk’,
‘x_tran_key’ => ‘8JebZt38e4w2Kk7w’,
)
——– Output string/vars: ( Tue Feb 19, 2013 10:39:28 pm UTC ) ——–
s2-5123fe9be3d6fOk

I00001

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

Then back on the authnet-ipn.log , this is the final message we get 10 minutes later

PHP v5.3.2-1ubuntu4.17 :: WordPress® v3.5 :: s2Member® v130207 :: s2Member® Pro v130207
Memory 34.82 MB :: Real Memory 35.00 MB :: Peak Memory 34.88 MB :: Real Peak Memory 35.00 MB
wp.saleskatz.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 ex
tension (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\’ => \’This transaction has been approved.\’,
\’x_avs_code\’ => \’P\’,
\’x_auth_code\’ => \’289549\’,
\’x_trans_id\’ => \’5024219845\’,
\’x_method\’ => \’CC\’,
\’x_card_type\’ => \’American Express\’,
\’x_account_number\’ => \’XXXX3007\’,
\’x_first_name\’ => \’\’,
\’x_last_name\’ => \’\’,
\’x_company\’ => \’\’,
\’x_address\’ => \’\’,
\’x_city\’ => \’\’,
\’x_state\’ => \’\’,
\’x_zip\’ => \\’,
\’x_country\’ => \’\’,
\’x_phone\’ => \’\’,
\’x_fax\’ => \’\’,
\’x_email\’ => \’\’,
\’x_invoice_num\’ => \’s2-5123fe9be3d6f\’,
\’x_description\’ => \’\’,
\’x_type\’ => \’void\’,
\’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\’ => \’0.00\’,
\’x_tax\’ => \’0.00\’,
\’x_duty\’ => \’0.00\’,
\’x_freight\’ => \’0.00\’,
\’x_tax_exempt\’ => \’FALSE\’,
\’x_po_num\’ => \’\’,
\’x_MD5_Hash\’ => \’FC171ED8EAC679CB8D74B84A31CF93A3\’,
\’x_cvv2_resp_code\’ => \’\’,
\’x_cavv_response\’ => \’\’,
\’x_test_request\’ => \’false\’,
)’,
),
)

Posted: Tuesday Feb 19th, 2013 at 5:56 pm #42521

I found some additional information:
The authnet POST returns quickly but a then a paypal URL is processed about 2 minutes later. The URL that’s getting hit is:
/?s2member_paypal_notify=1&s2member_paypal_proxy=authnet&s2member_paypal_proxy_use=pro-emails,subscr-signup-as-subscr-payment&s2member_paypal_proxy_verification=481d60f981ce2aa2b41dbb96494a8252&s2member_paypal_proxy_return_url=

This corresponds to the one on the paypal options page IPN w/ Proxy Key ( optional, for 3rd-party integrations )

Is there a setting we are missing?

Viewing 10 replies - 1 through 10 (of 10 total)

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.