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 is not setting EOT

Home Forums Community Forum Authorize.net is not setting EOT

Tagged: ,

This topic contains 9 replies, has 3 voices. Last updated by  Cristián Lávaque 4 years, 10 months ago.

Topic Author Topic
Posted: Saturday Feb 25th, 2012 at 2:00 pm #6414

I\’ve got authorize.net with ARB set up to handle both monthly and annual subscriptions. I previously was using paypal and had no issues with EOT when someone cancelled their subscription (other than the cron job not running but I believe that is due to a change fatcow made). Now, I\’ve got Authorize.net setup and it works great with the pro forms and people seem to be happy with the subscription process on our site vs. on Paypal which was a bit clugy. However, when someone cancels their subscription it does not set the EOT time and thus they continue to get our newsletter.

I assume you need some logs to be able to help but I didn\’t know what to post. Please let me know how I should proceed with troubleshooting/posting more information.

Thanks!

List Of Topic Replies

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Sunday Feb 26th, 2012 at 12:15 am #6442

Hello Alissa.

Yes, logs would be very helpful. If you could please quote here the related log entries from all the log files, x’ing out any private info (e.g. emails), that’d be great.

About cancellations, if the user still has some time left in what he paid, he’ll keep having access until that runs out. Have these people cancelled long ago and still have access or did it just happen?

*Some Hairy Details* There might be times whenever you notice that a Member’s Subscription has been cancelled through PayPal®… but, s2Member continues allowing the User access to your site as a paid Member. Please don’t be confused by this… in 99.9% of these cases, the reason for this is legitimate. s2Member will only remove the User’s Membership privileges when an EOT ( End Of Term ) is processed, a refund occurs, a chargeback occurs, or when a cancellation occurs – which would later result in a delayed Auto-EOT by s2Member.

s2Member will not process an EOT until the User has completely used up the time they paid for. In other words, if a User signs up for a monthly Subscription on Jan 1st, and then cancels their Subscription on Jan 15th; technically, they should still be allowed to access the site for another 15 days, and then on Feb 1st, the time they paid for has completely elapsed. At that time, s2Member will remove their Membership privileges; by either demoting them to a Free Subscriber, or deleting their account from the system ( based on your configuration ). s2Member also calculates one extra day ( 24 hours ) into its equation, just to make sure access is not removed sooner than a Customer might expect.

I hope that helps. :)

Posted: Sunday Feb 26th, 2012 at 11:13 am #6451

Thanks Cristian,

I understand the way the EOT works and it makes sense. However, with paypal the EOT time is set on the users profile when they cancel. For my authorize.net integration the EOT time is never getting set on the profile. Even 2 months later.

Which log files should I be looking at?

Thanks,
Jacob

Posted: Sunday Feb 26th, 2012 at 2:34 pm #6463

Got ya.

Did you double check all your Authorize. Net integration to make sure everything is in order there? [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options[/hilite]

Every log entry related to the users not being demoted, regardless of the log file they’re in, please. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options -› Account Details -› Logging[/hilite]

Thanks!

Posted: Wednesday Feb 29th, 2012 at 9:09 pm #6832

This is all I can find related to the user.

From authnet-api.log:

PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 14.60 MB :: Real Memory 14.75 MB :: Peak Memory 14.64 MB :: Real Peak Memory 14.75 MB
www.noplanmealplan.com/subscription-options/monthly-subscription-form/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
-------- Input vars: ( Mon Nov 28, 2011 2:53:50 am UTC ) --------
array (
  'x_type' => 'AUTH_CAPTURE',
  'x_method' => 'CC',
  'x_email' => 'trishaxxxxxx@yahoo.com',
  'x_first_name' => 'Trisha',
  'x_last_name' => 'xxxxx',
  'x_customer_ip' => '71.209.9.20',
  'x_invoice_num' => 's2-4ed2f7bec7158',
  'x_description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  's2_initial_payment' => '1',
  's2_invoice' => '1',
  's2_custom' => 'www.noplanmealplan.com',
  'x_tax' => '0.00',
  'x_amount' => '8.98',
  'x_card_num' => '****************',
  'x_exp_date' => '2012-06',
  'x_card_code' => '116',
  'x_address' => 'xxxxxxx',
  'x_city' => 'xxxxx',
  'x_state' => 'Idaho',
  'x_country' => 'US',
  'x_zip' => 'xxxxxx',
  'x_version' => '3.1',
  'x_login' => '7hy7pyF34NHC',
  'x_tran_key' => '7HCh943y76aP3yGv',
  'x_delim_data' => 'true',
  'x_delim_char' => ',',
  'x_encap_char' => '"',
)
-------- Output string/vars: ( Mon Nov 28, 2011 2:53:52 am UTC ) --------
"1","1","1","This transaction has been approved.","00688C","Y","4005154668","s2-4ed2f7bec7158","$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)","8.98","CC","auth_capture","","Trisha","xxxxx","","1050 xxxxxxxxxx","xxxxx","Idaho","xxxxx","US","","","trishaxxxxx@yahoo.com","","","","","","","","","0.00","","","","","0888966958ED3CADBB26CCDCFA139384","M","","","","","","","","","","","","XXXX2290","Visa","","","","","","","","","","","","","","","","","1","1","www.noplanmealplan.com"
array (
  0 => '1',
  1 => '1',
  2 => '1',
  3 => 'This transaction has been approved.',
  4 => '00688C',
  5 => 'Y',
  6 => '4005154668',
  7 => 's2-4ed2f7bec7158',
  8 => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  9 => '8.98',
  10 => 'CC',
  11 => 'auth_capture',
  12 => '',
  13 => 'Trisha',
  14 => 'xxxxx',
  15 => '',
  16 => 'xxxxxxxxxxxx',
  17 => 'xxxxx',
  18 => 'Idaho',
  19 => 'xxxxx',
  20 => 'US',
  21 => '',
  22 => '',
  23 => 'trishaxxxxxx@yahoo.com',
  24 => '',
  25 => '',
  26 => '',
  27 => '',
  28 => '',
  29 => '',
  30 => '',
  31 => '',
  32 => '0.00',
  33 => '',
  34 => '',
  35 => '',
  36 => '',
  37 => '0888966958ED3CADBB26CCDCFA139384',
  38 => 'M',
  39 => '',
  40 => '',
  41 => '',
  42 => '',
  43 => '',
  44 => '',
  45 => '',
  46 => '',
  47 => '',
  48 => '',
  49 => '',
  50 => 'XXXXXXXX',
  51 => 'Visa',
  52 => '',
  53 => '',
  54 => '',
  55 => '',
  56 => '',
  57 => '',
  58 => '',
  59 => '',
  60 => '',
  61 => '',
  62 => '',
  63 => '',
  64 => '',
  65 => '',
  66 => '',
  67 => '',
  68 => '1',
  69 => '1',
  70 => 'www.noplanmealplan.com',
  'response_code' => '1',
  'response_subcode' => '1',
  'response_reason_code' => '1',
  'response_reason_text' => 'This transaction has been approved.',
  'authorization_code' => '00688C',
  'avs_response' => 'Y',
  'transaction_id' => '4005154668',
  'invoice_number' => 's2-4ed2f7bec7158',
  'description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  'amount' => '8.98',
  'method' => 'CC',
  'transaction_type' => 'auth_capture',
  'customer_id' => '',
  'first_name' => 'Trisha',
  'last_name' => 'xxxxx',
  'company' => '',
  'address' => 'xxxxxxxxxxxxx',
  'city' => 'Eagle',
  'state' => 'Idaho',
  'zipcode' => 'xxxxx',
  'country' => 'US',
  'phone' => '',
  'fax' => '',
  'email' => 'trishaxxxxx@yahoo.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' => '0888966958ED3CADBB26CCDCFA139384',
  'card_code_response' => 'M',
  'cavv_response' => '',
  'card_number' => '',
  'card_type' => '',
  'split_tender_id' => '',
  'requested_amount' => '',
  'balance_on_card' => '',
)

PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 14.61 MB :: Real Memory 14.75 MB :: Peak Memory 14.66 MB :: Real Peak Memory 14.75 MB
www.noplanmealplan.com/subscription-options/monthly-subscription-form/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
-------- Input vars: ( Mon Nov 28, 2011 2:53:52 am UTC ) --------
array (
  'x_method' => 'create',
  'x_email' => 'trishaxxxxxx@yahoo.com',
  'x_first_name' => 'Trisha',
  'x_last_name' => 'xxxxx',
  'x_customer_ip' => '71.209.9.20',
  'x_invoice_num' => 's2-4ed2f7bec7158',
  'x_description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98) ((1325084030:0 D:1 M~www.noplanmealplan.com~1))',
  'x_amount' => '8.98',
  'x_start_date' => '2011-12-28',
  'x_unit' => 'days',
  'x_length' => 30,
  'x_total_occurrences' => '9999',
  'x_card_num' => '****************',
  'x_exp_date' => '2012-06',
  'x_card_code' => '116',
  'x_address' => 'xxxxxxxxxxxx',
  'x_city' => 'xxxxxx',
  'x_state' => 'Idaho',
  'x_country' => 'US',
  'x_zip' => 'xxxxx',
  'x_login' => '7hy7pyF34NHC',
  'x_tran_key' => '7HCh943y76aP3yGv',
)
-------- Output string/vars: ( Mon Nov 28, 2011 2:53:53 am UTC ) --------
?<?xml version="1.0" encoding="utf-8"?><ARBCreateSubscriptionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><refId>s2-4ed2f7bec7158</refId><messages><resultCode>Ok</resultCode><message><*code>I00001</*code><text>Successful.</text></message></messages><subscriptionId>11514956</subscriptionId></ARBCreateSubscriptionResponse>
array (
  'response_reason_code' => 'I00001',
  'response_code' => 'I00001',
  'response_reason_text' => 'Successful.',
  'response_text' => 'Successful.',
  'subscription_id' => '11514956',
)

From authnet-ipn.log:

PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 13.08 MB :: Real Memory 13.50 MB :: Peak Memory 13.20 MB :: Real Peak Memory 13.50 MB
www.noplanmealplan.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' => '00688C',
  'x_trans_id' => '4005154668',
  'x_method' => 'CC',
  'x_card_type' => 'Visa',
  'x_account_number' => 'XXXXXXXXX',
  'x_first_name' => 'Trisha',
  'x_last_name' => 'xxxxx',
  'x_company' => '',
  'x_address' => 'xxxxxxxxxxxxx',
  'x_city' => 'xxxxxx',
  'x_state' => 'Idaho',
  'x_zip' => 'xxxxx',
  'x_country' => 'US',
  'x_phone' => '',
  'x_fax' => '',
  'x_email' => 'trishaxxxxx@yahoo.com',
  'x_invoice_num' => 's2-4ed2f7bec7158',
  'x_description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  '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' => '8.98',
  'x_tax' => '0.00',
  'x_duty' => '0.00',
  'x_freight' => '0.00',
  'x_tax_exempt' => 'FALSE',
  'x_po_num' => '',
  'x_MD5_Hash' => '0888966958ED3CADBB26CCDCFA139384',
  'x_cvv2_resp_code' => 'M',
  'x_cavv_response' => '',
  'x_test_request' => 'false',
  's2_initial_payment' => '1',
  's2_invoice' => '1',
  's2_custom' => 'www.noplanmealplan.com',
  's2member_log' => 
  array (
    0 => 'IPN received on: Mon Nov 28, 2011 2:53:52 am 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.',
  ),
)

PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 13.37 MB :: Real Memory 13.50 MB :: Peak Memory 13.42 MB :: Real Peak Memory 13.50 MB
www.noplanmealplan.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' => '02097C',
  'x_trans_id' => '4075016150',
  'x_method' => 'CC',
  'x_card_type' => 'Visa',
  'x_account_number' => 'XXXXXXXX',
  'x_first_name' => 'Trisha',
  'x_last_name' => 'XXXXX',
  'x_company' => '',
  'x_address' => 'xxxxxxxxxxxxxxxx',
  'x_city' => 'xxxxx',
  'x_state' => 'Idaho',
  'x_zip' => 'xxxxx',
  'x_country' => 'US',
  'x_phone' => '',
  'x_fax' => '',
  'x_email' => 'trishaxxxxx@yahoo.com',
  'x_invoice_num' => 's2-4ed2f7bec7158',
  'x_description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  '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' => '8.98',
  'x_tax' => '0.00',
  'x_duty' => '0.00',
  'x_freight' => '0.00',
  'x_tax_exempt' => 'FALSE',
  'x_po_num' => '',
  'x_MD5_Hash' => '5B35692D38659030779E585BB0A0FA5C',
  'x_cvv2_resp_code' => '',
  'x_cavv_response' => '',
  'x_test_request' => 'false',
  'x_subscription_id' => '11514956',
  'x_subscription_paynum' => '1',
  's2member_log' => 
  array (
    0 => 'IPN received on: Wed Dec 28, 2011 10:34:02 am UTC',
    1 => 's2Member POST vars verified with Authorize.Net®.',
    2 => 'Authorize.Net® transaction identified as ( `ARB / PAYMENT #1` ).',
    3 => 'IPN reformulated. Piping through s2Member\'s core/standard PayPal® processor as `txn_type` ( `subscr_payment` ).',
    4 => 'Please check PayPal® IPN logs for further processing details.',
  ),
  's2_invoice' => '1',
  's2_domain' => 'www.noplanmealplan.com',
  's2_reference' => '1325084030:0 D:1 M',
  's2_p3' => '1 M',
  's2_p1' => '0 D',
  's2_start_time' => '1325084030',
  's2_custom' => 'www.noplanmealplan.com',
)


PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 13.37 MB :: Real Memory 13.50 MB :: Peak Memory 13.42 MB :: Real Peak Memory 13.50 MB
www.noplanmealplan.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' => '06428C',
  'x_trans_id' => '4136848327',
  'x_method' => 'CC',
  'x_card_type' => 'Visa',
  'x_account_number' => 'XXXXXXXX',
  'x_first_name' => 'Trisha',
  'x_last_name' => 'xxxxx',
  'x_company' => '',
  'x_address' => 'xxxxxxxxxxxxxxxxx',
  'x_city' => 'xxxxx',
  'x_state' => 'Idaho',
  'x_zip' => 'xxxxx',
  'x_country' => 'US',
  'x_phone' => '',
  'x_fax' => '',
  'x_email' => 'trishaxxxxxx@yahoo.com',
  'x_invoice_num' => 's2-4ed2f7bec7158',
  'x_description' => '$8.98 USD / Monthly  (Get the No Plan Meal Plan delivered weekly for the low monthly cost of $8.98)',
  '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' => '8.98',
  'x_tax' => '0.00',
  'x_duty' => '0.00',
  'x_freight' => '0.00',
  'x_tax_exempt' => 'FALSE',
  'x_po_num' => '',
  'x_MD5_Hash' => 'E2F4647260FF4A123F1D1D276A64C588',
  'x_cvv2_resp_code' => '',
  'x_cavv_response' => '',
  'x_test_request' => 'false',
  'x_subscription_id' => '11514956',
  'x_subscription_paynum' => '2',
  's2member_log' => 
  array (
    0 => 'IPN received on: Fri Jan 27, 2012 10:25:46 am UTC',
    1 => 's2Member POST vars verified with Authorize.Net®.',
    2 => 'Authorize.Net® transaction identified as ( `ARB / PAYMENT #2` ).',
    3 => 'IPN reformulated. Piping through s2Member\'s core/standard PayPal® processor as `txn_type` ( `subscr_payment` ).',
    4 => 'Please check PayPal® IPN logs for further processing details.',
  ),
  's2_invoice' => '1',
  's2_domain' => 'www.noplanmealplan.com',
  's2_reference' => '1325084030:0 D:1 M',
  's2_p3' => '1 M',
  's2_p1' => '0 D',
  's2_start_time' => '1325084030',
  's2_custom' => 'www.noplanmealplan.com',
)

I cannot find any logs referencing a cancellation from auth.net?

Posted: Wednesday Feb 29th, 2012 at 10:52 pm #6849
Raam Dev
Username: Raam
Staff Member

Hi Alissa,

I noticed from your logs that those transactions are from several months ago. Have you tested this again recently using the latest version of WordPress (v3.3.1) and s2Member (v120219)?

If you don’t see log entires from Authorize.net related to the cancelation, that would explain why the EOT isn’t being set. Unless s2Member receives the cancellation IPN message from Authorize.net, s2Member will not set an EOT time.

Posted: Wednesday Feb 29th, 2012 at 11:03 pm #6852

Thanks Raam. Any idea why I wouldn’t be getting the cancel from Auth.net?

I assume that the ipn configuration is correct since I’m getting everything else in the logs?

Posted: Friday Mar 2nd, 2012 at 4:40 pm #7103

Alissa, could you update s2Member to the latest version and keep the Auth.Net logging going? If the cancellation problem happens again, please post the new log entries for it from all the log files. You may also have entries for it in the PayPal logs, since the Auth.Net integration uses part of original PayPal integration code.

Posted: Friday Mar 2nd, 2012 at 5:07 pm #7106

I will do that. Thanks!

Posted: Friday Mar 2nd, 2012 at 5:24 pm #7107

Cool. :)

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