Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-02T00:54:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15684 2011-11-02T00:54:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=50746#p50746 <![CDATA[Re: Hook when payment process has successfully finished]]>

The WP_DEBUG Constant turns on Notices from PHP, which are advisory only, NOT errors. These are designed for debugging during development. If you turn on WP_DEBUG for any application, you would always see pages full of advisory "Notices".

I hope that helps.

Statistics: Posted by Cristián Lávaque — November 2nd, 2011, 12:54 am


]]>
2011-11-01T06:28:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=50675#p50675 <![CDATA[Re: Hook when payment process has successfully finished]]> Cheers, Stefan

Statistics: Posted by freshman66 — November 1st, 2011, 6:28 am


]]>
2011-10-31T15:26:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=50558#p50558 <![CDATA[Re: Hook when payment process has successfully finished]]> However, as soon as I purchase the "Special Post" through PayPal (Sandbox) everything works fine, but the notification script does not get triggered. In my debug.log I find these lines which are obviously related to s2member.

Code:
[31-Oct-2011 20:16:23] PHP Notice:  Undefined offset: 1 in /wp-content/plugins/s2member/includes/classes/utils-urls.inc.php on line 132
[31-Oct-2011 20:16:23] PHP Notice:  Undefined variable: cache_needs_updating in /wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
[31-Oct-2011 20:17:02] PHP Notice:  Undefined variable: cache_needs_updating in /wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
[31-Oct-2011 20:17:02] PHP Notice:  Undefined index: level-1_label in /wp-content/plugins/s2member/includes/classes/constants.inc.php on line 287
[31-Oct-2011 20:17:02] PHP Notice:  Undefined offset: 1 in /wp-content/plugins/s2member/includes/classes/utils-urls.inc.php on line 132
[31-Oct-2011 20:17:04] PHP Notice:  Undefined index: s2member_paypal_proxy in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php on line 78
[31-Oct-2011 20:17:04] PHP Notice:  Undefined index: s2member_paypal_proxy in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php on line 81
[31-Oct-2011 20:17:04] PHP Notice:  Undefined index: s2member_paypal_proxy in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php on line 84
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 1 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 2 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 3 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 4 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 5 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 6 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 7 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 8 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined offset: 9 in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php(166) : regexp code on line 1
[31-Oct-2011 20:17:04] PHP Notice:  Undefined index: s2member_paypal_proxy in /wp-content/plugins/s2member/includes/classes/paypal-notify-in-web-accept-sp.inc.php on line 183
[31-Oct-2011 20:17:04] PHP Notice:  Undefined index: HTTP_USER_AGENT in /wp-content/plugins/s2member/includes/classes/paypal-notify-in.inc.php on line 180
[31-Oct-2011 20:17:05] PHP Notice:  Undefined variable: cache_needs_updating in /wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
[31-Oct-2011 20:17:09] PHP Notice:  Undefined variable: cache_needs_updating in /wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
[31-Oct-2011 20:17:09] PHP Notice:  Undefined offset: 1 in /wp-content/plugins/s2member/includes/classes/utils-urls.inc.php on line 132


I do use W3TC, but have disabled DB caching for now. Is there any way to debug S2?
Thank you again,
Freshman

Statistics: Posted by freshman66 — October 31st, 2011, 3:26 pm


]]>
2011-10-31T05:06:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=50514#p50514 <![CDATA[Re: Hook when payment process has successfully finished]]> Thanks a lot,
Freshman

Statistics: Posted by freshman66 — October 31st, 2011, 5:06 am


]]>
2011-10-29T22:19:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=50411#p50411 <![CDATA[Re: Hook when payment process has successfully finished]]> http://www.s2member.com/api-tracking-no ... ons-video/

Statistics: Posted by Cristián Lávaque — October 29th, 2011, 10:19 pm


]]>
2011-10-27T23:10:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=49038#p49038 <![CDATA[Re: Hook when payment process has successfully finished]]> I need to capture the moment the user is coming back to the site to update some profile information - to be exact, I would like to track the account balance after a special post purchase. The user will the be able to use this balance to get access to certain tasks on our site. Since ww might want to implement more payment gateways (than paypal) in the future, the hook shiuld be gateway independent and provide information about the user (at least id and the amount paid.
Thank you very much for helping me out.
Cheers from Berlin, freshman

Statistics: Posted by freshman66 — October 27th, 2011, 11:10 pm


]]>
2011-10-27T22:54:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=49033#p49033 <![CDATA[Re: Hook when payment process has successfully finished]]>

Statistics: Posted by Cristián Lávaque — October 27th, 2011, 10:54 pm


]]>
2011-10-27T07:07:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15684&p=48964#p48964 <![CDATA[Hook when payment process has successfully finished]]> I am looking for a hook that gets triggers when a user has successfully finished a payment process - independent from type of checkout. Is there anything like that? Maybe this one:
Code:
ws_plugin__s2member_during_paypal_return_during_explicit_ty_email


Thank you for your help. Cheers,
Freshman

Statistics: Posted by freshman66 — October 27th, 2011, 7:07 am


]]>