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 - 601 through 625 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Jun 18th, 2013 at 5:17 pm #52148

Try changing the hack file to s2member-o.php. See the article I linked to earlier, the section on s2Member-only Mode, the tab on how it impacts hacks. Knowledge Base » Hacking s2Member® Via Hooks/Filters

Posted: Tuesday Jun 18th, 2013 at 7:11 am #52096

I see, it’s an upgrade, not a signup. The success attribute only works with signups, not existing users. See: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

Trying to hide aspects of the paypal pro form (username etc) with style sheet, getting nothing on that.

If the user is not logged in, then the pro-form is just for payment, doesn’t show profile fields. Could you show me the shortcode of the pro-form you’re trying?

Posted: Tuesday Jun 18th, 2013 at 7:06 am #52095

Is that the license you have with this account or did you have your own license before and now purchased an upgrade for your client? If the license you have with this account is your client’s, then you can change the profile details and make the account theirs.

Posted: Tuesday Jun 18th, 2013 at 7:00 am #52093

Sorry, I just got to your post.

I’m glad you found the problem. Yes, object and database caching are known to cause random problems and should not be enabled.

Posted: Tuesday Jun 18th, 2013 at 6:58 am #52092

I had not seen this problem before, that I remember. I’m guessing, since wp-login.php is working for you, that you had the problem using the s2Member Pro login widget, is that correct? Do you have the same error if you try other login widgets?

We don’t know our widget to have a problem that’d cause that error, and I can’t reproduce it in my site, so I agree with you that it seems to be specific to WP Engine. If they try logging in using the widget and get the 324, maybe their server logs show what the problem is before the error is returned.

You can also try these in case it helps: Knowledge Base » Common Troubleshooting Tips

Posted: Tuesday Jun 18th, 2013 at 6:50 am #52091

A POST vars error maybe? Try this: Knowledge Base » Unable to Verify $_POST Vars Error

Posted: Tuesday Jun 18th, 2013 at 6:49 am #52089

So you’re importing with a database tool?

If you have the new WordPress running, you can export s2Member’s options and the WordPress users from the old one, and import them into the new one using these tools: [hilite path]Dashboard -› s2Member® -› Import/Export[/hilite]

Those tools don’t migrate WordPress, though.

Posted: Tuesday Jun 18th, 2013 at 6:46 am #52087

Please enable logging and do the test purchase again. I’d like to see the log entries created from it, to see if any errors are mentioned (x’ing out any private info from the entries if you post them here). [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Or you can submit your site’s info after generating the logs from the test, so I can view them there. Just let me know here after you sent the email, thanks! s2Member® » Private Contact Form

Posted: Tuesday Jun 18th, 2013 at 6:42 am #52086

Great, I’m glad you figured it out. Thanks for the update. :)

Posted: Tuesday Jun 18th, 2013 at 6:41 am #52085

No. Try:

[[s2Member-Pro-ClickBank-Button cbp="15" level="4" ccaps="" desc="Hitting Machine Academy" custom="toplaybaseball.com" tp="0" tt="D" rp="1" rt="M" rr="1" image="default" output="anchor" cbskin="5004" /]] 
Posted: Tuesday Jun 18th, 2013 at 6:36 am #52084

There are already quite a few plugins that allow a user to join a website with their FB/Tw/G+ account, but if using s2Member, those plugins create new user accounts on top of the registered s2Member user.

The way I understand it, WordPress still needs the person to have an account in the blog, those services may provide credentials, but they don’t replace the WP account.

If the user already has an account in WP, can he then login with one of those services to get to the previously existing account or is a new one created? Try this with s2Member inactive too, can you reproduce that problem without s2 or does it go away?

A user who doesn’t have an account yet, logs in for the first time using one of those services, logs out, can he then login back in with those services without having yet another WP account created? Try this with s2Member active too, please.

I know that other site owners have successfully implemented these single sign-on plugins in the same site they have s2Member, so it’s either a misunderstanding on how they’re supposed to work, or that particular plugin implements it in a way that isn’t compatible and you can try other plugins of the same kind.

Posted: Tuesday Jun 18th, 2013 at 6:21 am #52081

Thanks.

The ccap button’s shortcode to sell the ccap has an error. You used the accept and accept_via attributes, but that’s for pro-forms only. Please generate a new shortcode: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Capability (Buy Now) Buttons[/hilite]

The registration pro-form’s shortcode looks okay. I wanted to verify that it wasn’t giving the “answers” ccap to the user, and it isn’t.

I just registered at your site (didn’t find the pro-form, the registration link took me to /wp-login.php/?action=register), logged in, tried to download the file protected with the ccap, and was again redirected to the Membership Options Page. The restriction works.

Please try to reproduce the problem you’re reporting, log out from your admin account, clean all the browser cookies for the domain, register and try to download the ccap protected file. If you can reproduce the problem, please give me a step-by-step to follow and reproduce it on my end.

Posted: Tuesday Jun 18th, 2013 at 6:04 am #52080

If you have each chapter at a different level with s2Member, then you can assign each to a different MailChimp list. [hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite]

If the chapters are specified with a custom capability, you may want to use MailChimp’s merge fields, you can try this hack: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15676&p=50550#p50550

If you’re specifying the chapter in a custom profile field, you can modify the hack above. See also: http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

Posted: Tuesday Jun 18th, 2013 at 5:49 am #52078

I see, the redirection in the hack did work in the test I just did. So what you meant is that you still had the session problem when using the link in the powerpoint file? In that case I don’t know what to suggest, since this is really an Office problem…

Could you try a redirection using a URL shortening service? Would like to see if their redirection has a different effect. Try bit.ly, for example, shorten the URL to the protected page, and then use the short URL in your powerpoint, see if that works.

Posted: Tuesday Jun 18th, 2013 at 1:46 am #52071

Jason didn’t mention this, but I’m guessing it’d work, if you use buttons created over at PayPal.com following the instructions to integrate with s2Member, you may also be able to add the cancel_return URL there. These buttons only works for new WordPress signups, not upgrades of existing users. See: Knowledge Base » Using Buttons Generated @ PayPal.com

Posted: Tuesday Jun 18th, 2013 at 1:26 am #52070

fpl said:
As the problem of blank descriptions w/ Payflow only occurs with recurring payments, it would be nice if we could use Payflow for the one-off payments. But apparently it’s all or nothing… Or do you see a way to keep Payflow enabled and bypass it and force Express Checkout for recurring payments?

With the pro-forms, Express Checkout can’t be disabled, but you can disable the other payment options (cards) that are processed through the PayFlow API. If you mean disabling the cards for payments that are subscriptions and leave only Express Checkout, you’d just leave only “paypal” in the [hilite mono]accept[/hilite] attribute of that pro-form. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> accept[/hilite]

Posted: Tuesday Jun 18th, 2013 at 1:19 am #52069

This is what Jason said:

I never received a definitive reply from PayPal on this. I get a big run around everytime I get specific about something and need real tech support. However, my research online and my experience with other vendors integrated this way with PayPal; is that this IS by design.

When s2Member integrates via Payflow Express Checkout and it goes through as a Billing Agreement, there is no description provided by PayPal during checkout; even if we supply one. Nothing we can do about this.

On the PayPal side of things, the site owner is creating an agreement w/ the buyer; and with a Billing Agreement, we can charge anything we want to, and at anytime we like. Thus, PayPal chooses NOT to display a description; they simply state “Future Payment” (e.g. they are VERY vague intentionally).

Posted: Tuesday Jun 18th, 2013 at 1:06 am #52068

This is what Jason said:

The solution to this problem, is to setup multiple ccBill Forms inside your ccBill account. One for each different type of payment you plan to accept. Credit cards are one type; but other types of Forms are made possible by ccBill.

When you setup your ccBill Shortcode w/ s2Member Pro; there is an extra Shortcode Attribute you can use to reference a particular ccBill Form that you want to use (e.g. form=””). This defaults to the one you’ve configured in your ccBill Options for s2Member; but you can change it for each Shortcode.

See: [hilite path]Dashboard -› s2Member® -› ccBill® Buttons -› Shortcode Attributes -> form[/hilite]

Posted: Tuesday Jun 18th, 2013 at 12:55 am #52066

Here’s what Jason said:

There is no shortcode attribute for this presently.

See: s2member/includes/classes/sc-paypal-button-in.inc.php
Specifically this template replacement code: [hilite mono]%%cancel_return%%.[/hilite]

See also: s2member/includes/templates/buttons/paypal/ for all templates that use this replacement code.

What this does? Currently, s2Member simply sets this to the home page of the current site that is implementing the PayPal Button. It’s really NOT an important setting in my view. It’s often excluded completely by many site owners.

If a customer clicks the “Cancel Checkout” link during their checkout experience at PayPal.com, they are returned back to the site where they started from; based on the value of this setting. s2Member returns them back to the home page of the site (e.g. [hilite mono]%%cancel_return%%[/hilite] defaults to [hilite mono]home_url('/')[/hilite]).

With s2Member Pro Forms, this value is established dynamically, and s2Member will return any customer that cancels an Express Checkout transaction; back to the original Pro Form page they started from.

There isn’t a hook for it, though, so you’d have to edit the files directly.

Posted: Tuesday Jun 18th, 2013 at 12:01 am #52063

I just got word back from him. This is what he said:

You can edit this file: s2member-pro/includes/iso-3166-1.txt
removing lines w/ countries you do NOT want to support.

However, I don’t recommend this for two reasons.

– You will have to update this file each time you update s2Member Pro.
– In my experience a customer in a country that you do not support will simply lie when they fill out the form; choosing a country that you DO support; and often times this will still be allowable; depending on your fraud control configuration within PayPal.

A better solution is to wrap your Pro Form Shortcode inside a conditional expression:

<?php if($visitor_country !== 'unsupported-country'){ ?>
   [[s2Member-Pro-PayPal-Form /]]
<?php } else { ?>
   Sorry, we don't offer services to visitors from: unsupported-country.
<?php } ?>

Where [hilite mono]$visitor_country[/hilite] is determined based on IP address. Please consult with your hosting company about how to obtain this information. Some hosting companies will provide details based on IP address in [hilite mono]$_SERVER[/hilite] environment variables. See also: http://www.maxmind.com/en/geolocation_landing

If you don’t know how to implement this, you may want to get a freelancer from a site like jobs.wordpress.net, odesk.com or elance.com.

Posted: Monday Jun 17th, 2013 at 11:54 pm #52061

Found the problem, it’s because those entries have the “fuzzy” attribute, so they’re being ignored and the original string used instead. http://www.gnu.org/software/gettext/manual/html_node/Fuzzy-Entries.html

Jason updated the documentation in s2Member to warn about these. /s2member/includes/translations/translators.txt

FUZZY translation entries: If you’re updating an existing PO file (e.g. recompiling your MO file after changes in a new release of s2Member); please be sure to manually review any “fuzzy” entries. A fuzzy entry can occur as a result of changes from one release of s2Member (or s2Member Pro) to the next; where small changes in text might render your translation invalid (e.g. fuzzy).

Depending on your PO file editor, fuzzy entries may need to be reviewed and changes committed BEFORE you recompile; otherwise fuzzy entries will revert to their default state in your final MO file. Translations that are fuzzy, are NOT compiled into your final MO file. This can lead to much confusion. Please review any fuzzy entries carefully.

Posted: Monday Jun 17th, 2013 at 11:47 pm #52060

This is what Jason said:

I’m not seeing a connection between Signup Tracking Codes (which occur client-side via JavaScript code); and Signup Confirmation Emails which occur server-side behind-the-scene via s2Member’s ClickBank IPN handler. Therefore, I suspect this is perhaps due to a confusion during testing. I’m not aware of any way that Signup Tracking Codes would impact s2Member’s IPN handler for ClickBank.

Regarding the eCommerce tracking code. They are missing some of the code snippet in the instructions I provided in the article. They will need to follow instructions provided by Google on this; and I would ask them to be sure to add an Item as well; because their current implementation is missing the snippet that pushes a transaction Item to the stack. See: http://www.s2member.com/kb/ga-ecommerce-tracking/

Posted: Monday Jun 17th, 2013 at 11:41 pm #52059

This is what Jason said:

Authorize.Net does not allow us to configure a Silent Post URL (aka: IPN URL) for each transaction. Like PayPal Pro, you will need a central IPN processor that forks to each of your installations if you intend to use a single Authorize.Net account with multiple installations of s2Member Pro; or other software apps.

There is an example in the s2m-pro-extras.zip file.
See: /s2m-pro-extras/authnet-central-ipn.php for instructions on how to do this.

You can find the extras zip file in your account page: http://www.s2member.com/account/

Posted: Monday Jun 17th, 2013 at 11:37 pm #52058

Jason reviewed the Amazon key thing and found that although it looks like it’ll be phased out, their API still requires it, so s2Member will keep working the same way. He added a note to the s2Member to help find the key in its new location.

About the XML file, he found it had a problem and fixed it.

He released an update today: s2Member® Unified Changelog » v130617

Thank you very much for your help sorting these out! :)

Posted: Monday Jun 17th, 2013 at 11:27 pm #52056

A new version of s2Member was released earlier today, and it includes some improvements to the IP restriction. Please try updating s2Member to benefit from this and let us know if you see the problem happening again. Thanks! :)

Viewing 25 replies - 601 through 625 (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.