PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Paypal Cancellations not Triggering AWeber Unsubscribe

s2Member Plugin. A Membership plugin for WordPress®.

Paypal Cancellations not Triggering AWeber Unsubscribe

Postby Raam Dev » October 26th, 2011, 10:02 pm

I have s2Member configured to subscribe/unsubscribe users from an AWeber list upon registration/cancellation. I've confirmed that after completing the registration process, the user is successfully subscribed to the AWeber list.

However, when subscriber then cancels the Paypal Subscription from within Paypal, the subscriber is not unsubscribed from the AWeber list.

Under Automate Un-Subscribe/Opt-Outs, I have all the checkboxes checked. I've also added the Notification email to the list inside AWeber that matches the "EMail From Address" configured in s2Member -> General Options -> EMail Configuration.

When the subscriber cancels the Paypal Subscription from within Paypal, s2Member receives the cancel IPN notification:

Code: Select all
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111017
Memory 22.60 MB :: Real Memory 23.25 MB :: Peak Memory 22.96 MB :: Real Peak Memory 23.25 MB
raamdev.com/wordpress/?s2member_paypal_notify=1
User-Agent:
array (
  'txn_type' => 'subscr_cancel',
  'subscr_id' => 'S-7GE77849NJ343054D',
  'last_name' => 'Dev',
  'option_selection1' => 'raamdev.com',
  'option_selection2' => '24.91.xxx.xx',
  'residence_country' => 'US',
  'mc_currency' => 'USD',
  'item_name' => 'Reflections (daily subscription test)',
  'business' => 'xxx@raamdev.com',
  'amount3' => '0.01',
  'recurring' => '1',
  'verify_sign' => 'ABg.3WFg-Pv-AO4sS8fQYchrMDshAUY2XQTJFR8oXRy.5J61FIl1.4NC',
  'payer_status' => 'verified',
  'payer_email' => 'xxx@actualwebspace.com',
  'first_name' => 'Raam',
  'receiver_email' => 'xxx@raamdev.com',
  'option_name1' => 'Originating Domain',
  'payer_id' => 'QEMJGN7E35YH6',
  'invoice' => '4ea8c0099faf3~24.91.108.39',
  'option_name2' => 'Customer IP Address',
  'reattempt' => '1',
  'item_number' => '1',
  'payer_business_name' => 'ActualWebSpace',
  'subscr_date' => '19:41:00 Oct 26, 2011 PDT',
  'custom' => 'raamdev.com',
  'charset' => 'windows-1252',
  'notify_version' => '3.4',
  'period3' => '1 D',
  'mc_amount3' => '0.01',
  'ipn_track_id' => 'ViLxl5nn16nXLM9XRJ9Dlw',
  's2member_log' =>
  array (
    0 => 'IPN received on: Thu Oct 27, 2011 2:41:28 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `subscr_cancel|recurring_payment_profile_cancel` ).',
    4 => 'Auto-EOT Time for this account: Sat Oct 29, 2011 2:37 am UTC',
  ),
  'subscr_gateway' => 'paypal',
  'period1' => '0 D',
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '24.91.xx.xx',
)


However, aweber-api.log does not show any attempt to unsubscribe the now canceled subscriber.

When I deleted the subscriber from the Users section in WordPress, aweber-api.log showed the unsubscribe request and the user was successfully unsubscribed from the AWeber list.

Unless I'm doing something wrong, there appears to be something broken with s2Member detecting the Paypal IPN cancel message and then triggering the AWeber unsubscribe request.

Let me know if there's anything else I can provide that might help shed light on this problem.
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Paypal Cancellations not Triggering AWeber Unsubscribe

Postby Cristián Lávaque » October 27th, 2011, 5:05 pm

Thanks for reporting this! I'm notifying Jason so he looks into it. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Paypal Cancellations not Triggering AWeber Unsubscribe

Postby Jason Caldwell » October 27th, 2011, 11:12 pm

Thanks for the heads up on this thread.

I know this seems incorrect, but it actually is the intended behavior. The initial cancellation IPN is not grounds for an EOT or list removal. They'll get removed from the list once the EOT Time comes around ( i.e. Sat Oct 29, 2011 2:37 am UTC ).

*Understanding Cancellations* It's important to realize that a Cancellation is not an EOT ( End Of Term ). All that happens during a Cancellation event, is that billing is stopped, and it's understood that the Customer is going to lose access, at some point in the future. This does NOT mean, that access will be revoked immediately. A separate EOT event will automatically handle a (demotion or deletion) later, at the appropriate time; which could be several days, or even a year after the Cancellation took place.

*Some Hairy Details* There might be times whenever you notice that a Member's Subscription has been cancelled through your Payment Gateway... 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 ( End Of Term ) 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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Paypal Cancellations not Triggering AWeber Unsubscribe

Postby Raam Dev » October 28th, 2011, 12:46 pm

Cristián: Thanks for notifying Jason.

Jason Caldwell wrote:I know this seems incorrect, but it actually is the intended behavior. The initial cancellation IPN is not grounds for an EOT or list removal. They'll get removed from the list once the EOT Time comes around ( i.e. Sat Oct 29, 2011 2:37 am UTC ).


Jason, thanks for the clarification and sorry for the alarm. I should've noticed the EOT time in the IPN message -- that makes perfect sense! :)

I will wait until Oct 30th and if the email isn't unsubscribed from AWeber by then, I'll let you know. (I'm testing with a couple of accounts, so I'll be watching for the automatic unsubscribe for an account I haven't manually deleted.)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron