Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-19T05:38:22-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16340 2011-12-19T05:38:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56901#p56901 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
Restore s2member-o.php to its original and then test changing the theme to the default, see if get the error in the console then. If still, then deactivate other plugins one by one and see if the error happens after each or left with 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!

Statistics: Posted by Cristián Lávaque — December 19th, 2011, 5:38 am


]]>
2011-12-18T01:55:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56793#p56793 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
I checked in Console and it was giving me a 500 error on s2member-o.php. I checked through and this line of PHP was causing the 500 error
Code:
eval ("?>" . /* Settings after ``SHORTINIT``. */ $ws_plugin__s2member_o["wp_settings_as"]);


I removed that and everything works good now.

Statistics: Posted by durge — December 18th, 2011, 1:55 am


]]>
2011-12-17T16:44:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56778#p56778 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]> https://www.complianceupdater.com/test-payment-gateway/

Statistics: Posted by durge — December 17th, 2011, 4:44 pm


]]>
2011-12-17T08:29:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56760#p56760 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]> Statistics: Posted by Eduan — December 17th, 2011, 8:29 am


]]>
2011-12-17T03:42:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56731#p56731 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
I generated the code for Level #1 access.
I offer the first 0 Days @ 0.00
Then, I want to charge $9 / Monthly (recurring charge for ongoing access)
Checkout Page Style: paypal USD

Any idea?

Statistics: Posted by durge — December 17th, 2011, 3:42 am


]]>
2011-12-16T13:18:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56691#p56691 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]> colinp386 is right actually.
Could you go under WP Admin -> s2Member -> PayPal Pro Forms and create a form there and see if it does work like you want it to?

If you want to customize the form further you can check under WP Admin -> s2Member -> General Options -> Registration/Profile Fields & Options and configure everything there.

Hope this helps. :)

Statistics: Posted by Eduan — December 16th, 2011, 1:18 pm


]]>
2011-12-16T12:05:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56683#p56683 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]> Statistics: Posted by colinp386 — December 16th, 2011, 12:05 pm


]]>
2011-12-15T22:22:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56643#p56643 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
Here is my page - https://www.complianceupdater.com/test-payment-gateway/

Statistics: Posted by durge — December 15th, 2011, 10:22 pm


]]>
2011-12-15T13:13:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56600#p56600 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]> Statistics: Posted by durge — December 15th, 2011, 1:13 pm


]]>
2011-12-15T12:41:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56596#p56596 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
Hope this clears something up.

Statistics: Posted by Eduan — December 15th, 2011, 12:41 pm


]]>
2011-12-15T12:22:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56593#p56593 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
Is the plugin supposed to send everything to PayPal pro in the background and not even go to the PayPal screen?

Statistics: Posted by durge — December 15th, 2011, 12:22 pm


]]>
2011-12-15T05:34:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56581#p56581 <![CDATA[Re: PayPal Pro Billing Information Not Populated]]>
Maybe I'm not understanding the question properly, could you explain some more?

Thanks!

Statistics: Posted by Cristián Lávaque — December 15th, 2011, 5:34 am


]]>
2011-12-13T23:48:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16340&p=56474#p56474 <![CDATA[PayPal Pro Billing Information Not Populated]]> Statistics: Posted by durge — December 13th, 2011, 11:48 pm


]]>