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.

Home Forums Steve

About: Steve

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


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Payment notifications not firing

By:  Steve in: Community Forum

voices: 3
replies: 5

3 years, 7 months ago  Cristián Lávaque

integrating with iDevAffiliate

By:  Steve in: Community Forum

voices: 2
replies: 1

3 years, 8 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Payment notifications not firing

By:  Steve in: Community Forum

voices: 3
replies: 5

3 years, 7 months ago  Cristián Lávaque

integrating with iDevAffiliate

By:  Steve in: Community Forum

voices: 2
replies: 1

3 years, 8 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday May 28th, 2013 at 11:57 pm #50787
Steve
Username: sberardino

But, I have an API Payment Notification handler set up, so s2member SHOULD be taking action: it should send that API Notification Email (which I have enabled) AND it should call my notification handler in the mu-plugins. It does both of those on the first payment, but not on the recurring payments. That’s my problem.

Posted: Monday May 27th, 2013 at 3:42 pm #50720
Steve
Username: sberardino

Just as a test, I created a filter in s2-hacks.php that sets empty “custom” variables to the proper domain, but then when I go into PayPal and resend an IPN, I get this log statement:

's2member_log' => 
  array (
    0 => 'IPN received on: Mon May 27, 2013 6:30:32 pm UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 'Ignoring this IPN request. The `txn_type/status` does NOT require any action on the part of s2Member.',
  ),
  

Why would it ignore an IPN?

The transaction type is “web_accept” — which after doing some investigation of the PayPal API, it sounds like this txn_type is for “buy now” type of stuff (and not recurring payments).. but then after more investigation, it looks like PayPal Pro with Payflow doesn’t support IPNs directly? So, instead it sends these “web_accept” transaction types for recurring payments?

Posted: Monday May 27th, 2013 at 12:39 pm #50714
Steve
Username: sberardino

I’ve been looking into this more, and found out that it’s an issue with the “custom” variable being set:

's2member_log' => 
  array (
    0 => 'IPN received on: Mon May 27, 2013 4:27:35 pm UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',
  ),
  'subscr_gateway' => 'paypal',
  

When the user signs up, the log has the “custom” variable set properly, but on all the recurring payment IPNs, that “custom” variable is empty (”) — any idea why this would happen? Is that the problem?

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