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.

Paypal transaction hooks

Home Forums Community Forum Paypal transaction hooks

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 2 months ago.

Topic Author Topic
Posted: Monday Oct 22nd, 2012 at 10:00 am #29262

Hi,

I want to know weather your s2member hooks can help me solve my issue or not. Below is my requirement.

I want to sale for example say ebook. and I want to run some custom function in my plugin when user buy this ebook (or page access). So I think the paypal action hook will help me. I have tried some hooks like

add_action(“ws_plugin__s2member_after_paypal_return”, “my_function”);

(of course in must used plugin direction with s2-hacks.php file name) but could not make it working.

Can you please suggest me some good filter /action hooks so that i can run my own function when user successfully pays for ebook (even if the user is not redirected back to site from paypal and payment notification is received through IPN ?).

One more question, how these hooks work ? I mean on front end or on backend with IPN response ? I am just asking as I am testing hooks by printing out something but nothing is being printed on frontend page.

Looking forward for your earliest response.

Thanks in advanced.
Chirag.

  • This topic was modified 4 years, 2 months ago by  Raam Dev. Reason: Moved to Community Forum (not Pre-Sale question)

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Oct 22nd, 2012 at 2:22 pm #29297
Raam Dev
Username: Raam
Staff Member
Technical support question, not Pre-Sale (wrong forum).

Moving this thread into Community Forum so you have a chance to receive assistance from other site owners. If you’d like priority support from s2Member®, please re-post this topic in our Customer Support Forum and we’ll take a closer look for you.

For further details, please read our Support Policy.

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