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™
update_user_option (S2MEMBER_CURRENT_USER_ID, "s2member_auto_eot_time", $expire_on);
"ws_plugin__s2member_during_configure_user_registration_front_side
ws_plugin__s2member_during_configure_user_registration
ws_plugin__s2member_during_paypal_notify_during_subscr_signup_w_update_vars
ws_plugin__s2member_during_paypal_notify_during_subscr_modify
Setting the EOT Time yourself, forces s2Member to follow your EOT Time, regardless of what happens in the future. Payment notifications from PayPal will not change this.man-O-media wrote:So kind of a bump
I have been messing withand setting the eot seems to work OK.
- Code: Select all
update_user_option (S2MEMBER_CURRENT_USER_ID, "s2member_auto_eot_time", $expire_on);
What I am trying to confirm is which action(s) are triggered by PayPal returning a sucessful payment and what the rest are for...
This is all correct. Your code should work as expected in this scenario.In a perfect world, I will create a button for a one time buy now payment for a year term.
The person will click that and pay their $$ through PayPal and then, PayPal will report back to S2 that the 1 year payment was completed.
When that happens, my code is triggered to set that specific end date instead of the "1 year" associated with the button.
Front side indicates it's a User registering themselves on the front-side of your site, as opposed to *any* registration that occurs, which could perhaps be initiated on the back-side of a site, by a site administrator. You'll want to use the front_side variation.As noted previously, I presume thatis essentially the same as
- Code: Select all
"ws_plugin__s2member_during_configure_user_registration_front_side
but what does "front_side" mean?.
- Code: Select all
ws_plugin__s2member_during_configure_user_registration
Use this one please:does not seem relevant to my need but I am not sure.
- Code: Select all
ws_plugin__s2member_during_paypal_notify_during_subscr_signup_w_update_vars
And I presumeis triggered when an existing paid subscription is active and it is somehow modified so I dont think I need it.
- Code: Select all
ws_plugin__s2member_during_paypal_notify_during_subscr_modify
So bottom line, it does not look to me that any of these are appropriate for my needs. Which action(s) do I need in my scenario?
ws_plugin__s2member_during_configure_user_registration_front_side
gemini6887 wrote:I am having an issue which I believe is similar. I have a membership site that requires a 3 month recurring membership so I need the EOT to end at the 3 month mark. Unfortunately, s2 members doesn't offer that as a paypal option. I only have the option to continuously bill my customers even after the 3 month membership has ended. I have checked other forums and they explain how to create this button through paypal and integrate it with s2 member but it doesn't work properly.... customers don't receive their login details when I have to go through paypals buttons.
What do you suggest? Does s2 member pro offer this option?
Please help! This has been the only big problem with s2 member and I won't be able to continue to run my site with s2 members plugin unless I figure this out. Thanks for your help!
Users browsing this forum: Google [Bot] and 2 guests