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.

Update user option on s2member role change

Home Forums Community Forum Update user option on s2member role change

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

Topic Author Topic
Posted: Monday Sep 16th, 2013 at 11:22 am #59619
Alex Read
Username: lab41

I want to use update_user_option to set a string (just a string) for each user based on the s2member level they have been issued. So if they…

//If Upgrade to level1:
update_user_option ( $user_id, "CUSTOM_OPTION_LIMIT", "limit1")

//If Upgrade to level2:
update_user_option ( $user_id, "CUSTOM_OPTION_LIMIT", "limit2")

//etc.

I’m using Paypal Pro Forms to change the user level. Basically I’m not sure what hook/filter to use – there are so many!!

I see you can add a notification email in S2member Paypal settings. How do you pass the s2member level string to this url?

  • This topic was modified 3 years, 3 months ago by  Alex Read.
  • This topic was modified 3 years, 3 months ago by  Alex Read.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Tuesday Sep 24th, 2013 at 12:44 pm #59813
Alex Read
Username: lab41

OK this was solved using the notification URL

Dashboard -> s2member -> API notifications -> Payment Nofications 
Posted: Wednesday Sep 25th, 2013 at 6:22 am #59848

Great. :)

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