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™

Paypal Pro Forms do not work

s2Member Plugin. A Membership plugin for WordPress®.

Paypal Pro Forms do not work

Postby qblearning » November 7th, 2011, 10:22 pm

Hi,

The PayPal Pro forms do not work. The Billing Method only shows radio buttons, the password strength indicator doesn't work, and there's some field for Card Start Date (which I've never heard of before).

1. How do I get the billing methods to show up?
2. Why doesn't the password strength indicator work?
3. What is card start date? I've used credit cards my whole life and I've never seen this.

Pro Form URL is:
http://www.qblearning.com/membership-options-page/
User avatar
qblearning
Registered User
Registered User
 
Posts: 6
Joined: October 6, 2011

Re: Paypal Pro Forms do not work

Postby qblearning » November 8th, 2011, 9:14 am

I've also noticed that s2member's Paypal form generator and button generator do not work or "generate" anything.
User avatar
qblearning
Registered User
Registered User
 
Posts: 6
Joined: October 6, 2011

Re: Paypal Pro Forms do not work

Postby qblearning » November 8th, 2011, 11:25 am

Update: I launched the error console in Firefox and did not see any errors or javascript conflicts. I also deactivated all plugins. That didn't work either. I'm using the Pro (paid) version of s2member, so a response would be appreciated.
User avatar
qblearning
Registered User
Registered User
 
Posts: 6
Joined: October 6, 2011

Re: Paypal Pro Forms do not work

Postby qblearning » November 8th, 2011, 11:40 am

I changed my theme to twenty eleven and the form worked properly. Unfortunately, the twenty eleven theme or the s2theme won't cut it for my site. Our site is a video blog and the theme we use is designed specifically for hosting videos. Are there any workarounds or tricks you can recommend to get s2member working with our theme?
User avatar
qblearning
Registered User
Registered User
 
Posts: 6
Joined: October 6, 2011

Re: Paypal Pro Forms do not work

Postby Eduan » November 8th, 2011, 11:56 am

Don't know if this helps but, any theme that's in this link will function correctly with s2Member.

Also, only the multisite license has priority support.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Paypal Pro Forms do not work

Postby Jason Caldwell » November 8th, 2011, 4:18 pm

Thanks for the heads up on this thread.
qblearning wrote:The PayPal Pro forms do not work. The Billing Method only shows radio buttons, the password strength indicator doesn't work, and there's some field for Card Start Date (which I've never heard of before).
I just received your email, and it looks like you resolved this issue? It sounded like you may have had a JavaScript error elsewhere on your site? Was that it?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Paypal Pro Forms do not work

Postby qblearning » November 9th, 2011, 12:25 am

I switched to a different theme, which resolved the issue.
User avatar
qblearning
Registered User
Registered User
 
Posts: 6
Joined: October 6, 2011

Re: Paypal Pro Forms do not work

Postby Cristián Lávaque » November 11th, 2011, 1:01 am

If you really need that theme you had causing the problem, you can tell the developer to look into it and improve it. Or you can try doing it yourself if you know how to do it.

This is part of a conversation I had with Jason some months ago regarding JavaScript conflicts.

Cristián: I still don't understand how the JS conflicts work... If the library is the same in both plugins, why is there a conflict? Same var names?

Jason Caldwell: Well, I call it a conflict. Sometimes it's a conflict in jQuery because of a bad plugin, which attempts to load jQuery on it's own, instead of doing it the WP way. Or sometimes, it just a bad plugin that causes a JavaScript error, which may result in all JavaScript failing ( the nature of JavaScript ). Not really a "conflict" in that case, really an error due to a bad plugin/theme.

Jason Caldwell: I've also see some conflicts between frameworks. That's rare, but there are some plugins that use the ProtoType framework, and combined with another framework like MooTools, there is a possibility for a conflict to arise. Rare though, and it's usually attributed to the way their loaded ( i.e. by a bad plugin/theme ).

Cristián: Does WP load JQuery already? If so, why do plugins load it too?

Jason Caldwell: Yea, WP already loads it. But some plugin authors don't know that, or they just hard code it into their plugin not realizing that. Other times they'll try to include a dependency on jQuery, but they name it wrong, and WordPress gets confused.

Cristián: Does s2Member load it again or uses WP's?

Jason Caldwell: Hmm, not really, because in the Dashboard, it's already loaded by WordPress. s2Member enques scripts that is uses, which rely on jQuery being present. In the call to wp_enqueue_script(), s2Member will list jQuery as a dependency, which forces WP to load it, though it's already loaded in the Dashboard anyway. That's the proper way to handle it.

On the front-end of a site, s2Member will load jQuery if it's not already loaded, but again, using the same technique. A call to wp_enqueue_script() with a dependency on jQuery forces WP to load jQuery. If 10 plugins all do it this way ( i.e. the right way ), WordPress loads jQuery in the proper order and only one time.

Cristián: Ah, got it. I understand WP has a QC team, don't they check this?

Jason Caldwell: Not in my experience. They look mostly for security issues and really bad code. They usually don't catch minute details like this.

Cristián: I see. Well, they do look at how the db is used, iirc.

Cristián: I see, but these details do cause trouble for the users. Maybe it'd be good to write an article about JS conflicts as you explained above and post it in the forums, and then show it to the QC guys for consideration to include in their quality checklist.

Jason Caldwell: Yea, that's a good idea. On the WP side though, they're aware of this problem, and that's why they created the wp_enqueue_script() wp_enqueue_style() functions. Although, I wish this were more prominent in this article: http://codex.wordpress.org/Writing_a_Pl ... uggestions

It is mentioned, but it's all the way at the bottom:

Try not to echo <script> and <style> tags directly - instead use the recommended wp_enqueue_style() and wp_enqueue_script() functions. They help eliminate including duplicate scripts and styles as well as introduce dependency support. See posts by the following people for more info: Ozh Richard, Artem Russakovskii, and Vladimir Prelovac.


I hope it helps you recognize what the theme is doing wrong and fix it. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron