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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 1,551 through 1,575 (of 7,376 total)
Author Replies
Author Replies
Posted: Monday Apr 1st, 2013 at 12:28 am #46248

The subscription is still going in PayPal, but if all the reattempts fail, PayPal will end the subscription and notify s2Member about it, and s2Member will set the EOT time the his profile.

If you don’t want to have payment reattempts to end it sooner, you’ll have to edit the [hilite mono]rra[/hilite] attribute to [hilite mono]1[/hilite] in the shortcode for new subscriptions, or edit the profiles in PayPal for existing ones. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> rra[/hilite]

Posted: Monday Apr 1st, 2013 at 12:23 am #46247

Yes, a single file will be more efficient than several because less files need to be accessed.

Posted: Monday Apr 1st, 2013 at 12:21 am #46246

Ah, I see, that’s the BuddyPress public directory of users…

Well, I don’t think the public profiles are WP pages and s2Member wouldn’t restrict those then.

You could protect them with the URI restriction so they aren’t public, if that’s what you want. [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite]

Of course, if you do that, you’d most likely use [hilite mono]/members/[/hilite] which would restrict access to [hilite mono]/members/[/hilite] too, not just the profiles.

I’m sorry, the access restrictions with BuddyPress are limited to what the URI restriction can do.

Posted: Sunday Mar 31st, 2013 at 10:59 pm #46242

If the ccaps are purchased with the same account, then the same account would have access to both. :)

Posted: Sunday Mar 31st, 2013 at 10:34 pm #46241
Posted: Sunday Mar 31st, 2013 at 10:00 pm #46240

Thanks Mark.

I see in the IPN logs that the s2vars are missing, and some entries saying the custom value could not be verified. These errors would cause the signup confirmation email to not be sent in the end.

You didn’t include in the ClickBank credentials in your email to review the integration on that side. Please submit it and include the URL to the page where you have the ClickBank button for the tests. Thanks! s2Member® » Private Contact Form

Posted: Sunday Mar 31st, 2013 at 6:36 pm #46217

Hi Robert.

Bruce hasn’t gotten back to this thread yet, but I’ll try to reply some of your questions and will leave the rest for him. :)

3) Guessing that that TransID gets stored in the Database — but that’s my first question, does it? (yes/no?)

No, the subscr. ID is in the user’s profile. The trans. ID will be in the s2Member logs, if you have them enabled, but these are only for debugging.

4) If it does not, I’ll want a s2_payment_notification API to get the info and store it — (yes/no?)

Yes. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications -> %%txn_id%%[/hilite]

5) When I S2member Browse Users, I’ll see their Paid Subscr. ID (pretty sure that’s correct)

Yes. By the way, it’s not s2Member’s Users screen, it’s the regular WP Users one but s2Member has a shortcut to it in its menu. [hilite path]WP Admin -> Users[/hilite]

6) If they have more than one transaction, I’ll be able to open Transactions to see the TransID (yes/no?)

s2Member doesn’t have this, it’ll either be in the customization you create or in the payment gateway.

7) If I run a s2_payment_notification API… all the Custom ID’s returned from PayPal will be viewable inside of the S2member Browse Users screen (yes/no?)

No, the notification will either load a URL or send an email. With that you can then store the data and customize the users list to display it.

8) If that same MemberID, is given the Role of Contributor — they will be authorized to Post yes/no? (seems so)

I guess, I’m not familiar with that role, but the name suggests that. You need to review the capabilities the role has, or just give that role to a test account, login with it and see if it does. http://wordpress.org/extend/plugins/user-role-editor/

9) That Post always has an unique ‘tag_id=xxxxx’ and that number is also associated with this member.

No, posts are not associated to users in WP other than the author, unless you’re talking about a customization you’d create for this?

10) In S2member’s Transaction History… I want to ADD that ‘tag_id=xxxx’ to that single paid transaction manually so the other items retrieved by the s2_payment_notification API and stored — so that I know when the expiration date of the transaction is — associated with that particular Post — are all related. “Payment” = “Post stays up for that length of time” (but I’ll need to create a script to do that housekeeping)

s2Member doesn’t have a transaction history. You could create one with the Payment Notification and a custom script, though.

14) I’m guessing that S2member passes $user_id to PayPal and that is why the s2_payment_notification API is actually able to return the information. (yes/no?)

When the user is logged in at the time he loads the page with the pro-form, the pro-form will include the user’s ID so s2Member knows to upgrade that account after checkout.

Posted: Sunday Mar 31st, 2013 at 8:59 am #46199

Hi Mijael.

Make sure you have logging enabled, so the transactions get logged and we can review them to see if there is a problem and what it is. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Also try the tips in this article. Knowledge Base » Common Troubleshooting Tips

And you can do test live purchases of 1 cent to see if it works after the changes.

Posted: Sunday Mar 31st, 2013 at 8:56 am #46198

Hi Jay.

So, basically, you want to have members register themselves instead of you having to add them manually?

If they’re free registrations, you could use the free registration pro-form. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]

If you want to make it simpler, with just username and email address, you can remove custom passwords and first/last names. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Does that help?

Posted: Sunday Mar 31st, 2013 at 8:52 am #46197

Hi Roger.

If instead of the redirection to the Membership Options page, you want to show part of the content and hide the rest or show an alternative message for those that don’t have the right level, then you’ll have to use conditionals in the body instead of restricting access to the whole post. Knowledge Base » Simple Shortcode Conditionals

Posted: Sunday Mar 31st, 2013 at 8:49 am #46196

Could you try the tips in this article? Knowledge Base » Common Troubleshooting Tips

Also, if you have a caching plugin, make sure object and database caching are disabled, they’re known to cause trouble.

Posted: Sunday Mar 31st, 2013 at 7:10 am #46194

No problem. :)

If you edit the file, remember to work on a copy and place it in the must-use plugins directory so it isn’t overwritten when updating s2Member. /wp-content/mu-plugins/

Posted: Sunday Mar 31st, 2013 at 2:17 am #46189

I’m not asking that you start the website from scratch, when I said a clean WP installation I was talking about a new test one in another directory, as explained in the troubleshooting tips article I linked to earlier.

Basically, I’m trying to determine if you’re having the problem with just s2Member, because I couldn’t reproduce the behavior you mention in mine with just s2Member. I think there’s something else in your installation that’s causing this redirection on logout.

That’s also why I’m asking if you only have it with the logout link in the s2 widget or also with other logout links in the site, but you haven’t told me yet. Let me know please. :)

You can also submit your site’s info for me to take a look at it and try the logout. Let me know when you sent it, please. s2Member® » Private Contact Form

Posted: Saturday Mar 30th, 2013 at 10:40 pm #46184

Hi Andrew.

You could use a Text widget before/after the s2 Pro Login one to do that.

To style it, look at the IDs in the widget’s HTML, and use them as selectors for your styles. You may need to use [hilite mono]!important[/hilite] in some styles.

Posted: Saturday Mar 30th, 2013 at 10:31 pm #46182

Sometimes s2Member doesn’t get confirmation from the gateway right away, so it instead of making the user wait for a long while before showing him a page, he’s told to check the email later, which will be sent when s2Member finally confirms it.

Posted: Saturday Mar 30th, 2013 at 10:09 pm #46181

The widget’s interface doesn’t have where to enter that.

Do you only have the logout problem with the s2Member widget or when you logout some other way too?

Can you reproduce this behavior in a clean WP installation with just s2Member?

Posted: Saturday Mar 30th, 2013 at 9:23 pm #46177

I see. Thank you for confirming it.

I know, they really do make it confusing. :/

Yes, you need PayPal Pro instead.

Please see these articles:
Knowledge Base » PayPal® Services / A Quick Comparison
Knowledge Base » PayPal® Pro (PayFlow Edition)
Knowledge Base » PayPal Pro, PayFlow, DPRP, Express Checkout

Posted: Saturday Mar 30th, 2013 at 8:40 pm #46175

Yes, PayPal can be quite frustrating sometimes…

This is a discontinued product but it is possible to get that setup.

I don’t know why they say PayPal Pro is a discontinued product. s2Member does support the current version of PayPal Pro, that’s not the problem. PayPal Pro with the PayPal Pro API or the PayFlow API are supported. So if you have PayPal Pro, that works with s2Member. With or without the DPRP feature it is supported. Of course, to sell subscriptions from your site you’ll need DPRP.

Paypal is telling me that this problem will be solved by switching my account to “Website Payments Pro”

If they’re telling you that you could switch to PayPal Pro, I’m guessing then that that’s not what you have… Maybe you have PayFlow Pro, but that’s not a service supported by s2Member. s2Member Pro supports the PayFlow API edition of PayPal Pro, but it’s PayPal Pro, not PayFlow Pro. I’m sorry that the names are confusing, I wish they had named their services differently.

Could you please confirm whether you have PayFlow Pro or PayPal Pro? That may be were the problem is.

Posted: Saturday Mar 30th, 2013 at 8:25 pm #46174

where it said account approved, to create it.

That says it was approved, not that the account was created. Did you then go to register an account before registering a second one with the link in the email? Do you have two registered accounts from this transaction in the Users list? [hilite mono]WP Admin -> Users[/hilite]

Could you give me a step by step of what you did and send me the site’s info? I’ll try to reproduce it to see what’s happening. Let me know when you sent it. Thanks! s2Member® » Private Contact Form

Posted: Saturday Mar 30th, 2013 at 6:12 pm #46168

I checked with Jason and he confirmed that’d be fine. :)

Posted: Saturday Mar 30th, 2013 at 5:40 pm #46167

– not have incremental levels so level 3 doesn’t get access to 0,1,2. Just 3 itself

You can do this using conditionals in the content itself insted of an access restriction that protects the whole page. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Conditionals[/hilite]

Or you can edit the s2Member level roles, removing the capabilities to access the lower levels.
http://wordpress.org/extend/plugins/user-role-editor/
Knowledge Base » Locking s2Member Roles/Capabilities

– Have multiple free levels with authorize.net forms

You can do it with the free registration pro-form. Video » s2Member (Free Registration On Multiple Levels?)

The free registration will happen only once, if the user is registered. To change from one level to the next free, you’ll need a hack that uses some PHP change the role. Knowledge Base » Changing Roles/Capabilities via PHP

– each free level will have an associated paid level.

The 2 associated levels (1 free, 1 paid) should be associated with each other but mutually exclusive of all other 2 level combinations.

You can have a free registration pro-form to register at each those free levels, and a pro-form to pay each as well.

You could also, if not selling subscriptions (recurring), but a single payment without a trial (buy now), you could sell a custom capability for the paid access.
Video » s2Member (Custom Capabilities)
[hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Capability (Buy Now) Forms[/hilite]

Posted: Saturday Mar 30th, 2013 at 5:17 pm #46166

Marcus, how are you doing it? With the replacement code for the username in the Login Welcome Page redirection URL?

http://www.sitename.com/members/%%current_user_login%%/

When you do that, s2Member doesn’t restrict access to /members/.

Posted: Saturday Mar 30th, 2013 at 4:39 pm #46163

Thanks, got the email.

I’m looking at the IPN log and see a ton of entries with wrong custom attribute, instead of the domain name, it says:

'custom' => '1341081605:3968:1:a819d4fd6687723c5fe75cd910a78b51',

You need to find where that is happening and fix it with the correct domain name, as it given in the shortcode generator for the custom attribute. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> custom[/hilite]

About the subscriptions you told me, the entries for their cancellations include these lines:

‘txn_type’ => ‘recurring_payment_profile_cancel’,
‘initial_payment_status’ => ‘Failed’,
5 => ‘Awake. It\’s Tue Mar 26, 2013 3:26:31 pm UTC. s2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) – or – `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).’,
6 => ‘Member Level/Capabilities demoted to: Subscriber.’,

The problem here is being that the payment is not successful, but PayPal first told s2Member that it’ okay so s2Member proceeds with the signup confirmation.

Could you try changing the setting for the number of attempts, so that instead of twice, it just tries once? [hilite mono]rra="1"[/hilite]. See if that works. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> rra[/hilite]

Posted: Saturday Mar 30th, 2013 at 8:57 am #46130

Ah, I see, sorry I didn’t understand earlier that you were talking about the Membership Options Page.

Well, that page is always visible to everyone, including logged in users. The pro-form is not hidden, and although it won’t be a registration form when the user is logged in, it’d still let the user purchase.

What you’ll have to do, if you don’t want the pro-form visible by logged in users, is hide it with a conditional. See: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

Posted: Saturday Mar 30th, 2013 at 8:43 am #46129

Hi Scott.

When you enter an EOT time manually in their profiles, then that is what’s used and doesn’t get updated by the payment gateway notifications. If you want the subscription to set the EOT time when it ends, you need to leave the EOT field in their profiles empty.

Viewing 25 replies - 1,551 through 1,575 (of 7,376 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.