Page 1 of 1

Generate Button Code Not working

PostPosted: November 23rd, 2011, 2:24 am
by slee2608
Hello

I am running S2member Version 111105 + s2Member Pro v111105 and can't get the Generate Button Code button to modify the Wordpress shortcode or the Paypal Button Code. Pressing the button doesn't do anything.

I have tried the Twenty Eleven theme, and then the S2clean theme, and have disabled all plugins except for the S2member plugin, and it didn't make a difference.

My firefox browser (v8) error console displays the following log:

Error: ws_plugin__s2member_paypalButtonGenerate is not defined
Source File: http://www.mysite.com/wp-admin/admin.ph ... al-buttons
Line: 1

Any tips on what might be going on?

Would appreciate having the shortcode for the below setup in the meantime:
- membership One Time (for 1 year access, non-recurring) for $199

Thanks!

Re: Generate Button Code Not working

PostPosted: November 23rd, 2011, 7:41 am
by Eduan
Take a look into WP Admin -> S2member -> PayPal® Options -> Account Details and see if ALL the fields are correctly filled. It's sometimes this that causes this problem.

This video may also be of interest:
http://www.s2member.com/paypal-options-buttons-video/

Have you tried going over the WP Admin -> s2Member -> PayPal® Buttons -> Shortcode Attributes ( Explained )?
Or if you are using pro-forms then go to WP Admin -> s2Member -> PayPal® Pro Forms -> Shortcode Attributes ( Explained )
It may help clear some things up, just check your button code compared to what's in this section.

Remember to create new buttons with the new info, just to make sure it works.

If all else fails then try changing the theme to the default Twenty Eleven theme (this one always works).

Try disabling all your plugins (don't include s2Member) and then enable them one by one until the problems appear again. You will need to do tests with each plugin you enable until the problem appears again.

Hope this helps. :)
Also remember to report back.
Otherwise you leave me worrying. ;)

Re: Generate Button Code Not working

PostPosted: November 30th, 2011, 5:32 am
by rtrevivian
I am experiencing the same issue, clicking the various Generate Button Code buttons does not update the WordPress® Shortcode or Resulting PayPal® Button Code accordingly.

Instead an 'Uncaught ReferenceError: ws_plugin__s2member_paypalButtonGenerate is not defined' error is generated.

I am new to s2Member but the paypal options appear to be configured correctly, is there anyway for me to test them?

Re: Generate Button Code Not working

PostPosted: November 30th, 2011, 6:04 am
by rtrevivian
Also when I select a non-recurring payment type from the dropdown the trial fields are not removed as shown in the s2Member PayPal Options/Buttons video.