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 Button Markup disappears

s2Member Plugin. A Membership plugin for WordPress®.

Paypal Button Markup disappears

Postby sruefer » April 25th, 2011, 11:13 pm

Hi,

I am running my test site with s2members installed on my local machine (i.e. localhost); I tried to generate button code through the button generator, for both level 1 access and for upgrading to level 1. When clicking on the "generate button code" button, the new shortcode shows up ok, but the textarea for the code snippet becomes empty. I am also in Paypal Sandbox mode. Did I miss to give some input somewhere?

Thanks, best regards,
Steffen
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Paypal Button Markup disappears

Postby Cristián Lávaque » April 26th, 2011, 12:00 am

Hi Steffen. :)

Try adding this line to your /wp-config.php file:

Code: Select all
define('LOCALHOST', true); 


s2Member has a special routine, which we refer to as the Systematics Routine. It sees your IP address is the same as the server's IP; which is sometimes an issue on a WAMP/MAMP installation.

It's fine so long as your domain is http://localhost/. However, if it's something other than that, you'll need to add that line in your /wp-config.phpfile so s2Member realizes it's running on a localhost installation.

Let me know if that helps.
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

Re: Paypal Button Markup disappears

Postby sruefer » April 26th, 2011, 12:24 am

I added that line and restarted WAMP but it still does the same thing, once I click on the generate button all markup disappears.
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Paypal Button Markup disappears

Postby Cristián Lávaque » April 26th, 2011, 1:12 am

Could you share a screenshot?

I wonder if it's a JavaScript conflict with another plugin's. Have you looked at your Firefox' Error Console? Try disabling other plugins one by one and see if one solves that problem.
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

Re: Paypal Button Markup disappears

Postby sruefer » April 26th, 2011, 2:53 am

It gets stranger now. When using Firefox to check on JS errors, the button markup was generated properly, no errors were shown. After that I tried again to do the same thing with Safari and IE9, and each time the button markup disappears :(
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Paypal Button Markup disappears

Postby sruefer » April 26th, 2011, 3:20 am

I restarted my computer and WAMP, and checked again on all my browsers; conclusion: button markup code generation works ok for Firefox 4 and Chrome 11, but markup simply disappears from the textarea when doing the same with IE9 and Safari.
One of those mysteries I think. Anyway, I can live with 2 browsers that do it :)
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Paypal Button Markup disappears

Postby Cristián Lávaque » April 26th, 2011, 10:15 am

LOL yeah, I wonder why a problem may come from an Internet Explorer browser, mystery. :P

Well, I'm still guessing that it may be a JS conflict with something else. If you're very curious you could try disabling other plugins to find what is causing it.

I'm glad you have two browsers that'll work properly with it, though. Thanks for reporting back! :)
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: No registered users and 4 guests

cron