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™

Problems with Paypal Payments

s2Member Plugin. A Membership plugin for WordPress®.

Problems with Paypal Payments

Postby linzio » March 24th, 2011, 3:49 am

Hi
I have followed install correctly. Not the first time I have installed S2.
Getting this message at Paypal.
Invalid Regular period. You must specify valid values for the A3, P3 and T3 parameters for a subscription.
Last time this occurred it sorted itself out.
Would like to know if it's me, S2 or Paypal so I can avoid it happening again.
Cheers
Linzio
User avatar
linzio
Registered User
Registered User
 
Posts: 1
Joined: March 24, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » March 25th, 2011, 12:26 am

This means that you have not set a proper billing price/time period.

Here's a reference that shows the allowed values and limits for them https://cms.paypal.com/us/cgi-bin/?&cmd ... 8A6HI00JQU

If you can't solve it with that, could you please show me the code generated for your button? How to post code.
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: Problems with Paypal Payments

Postby wafflehaus » July 1st, 2011, 10:33 am

Hey guys,

Having the same problem.. I've specified my a3, p3 & t3 values but keep getting this error:

http://cl.ly/3O2a261z340p0S2J021V

<input type="hidden" name="a3" value="15.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="Y" />

View the signup page here: http://ctreadingresearch.org/membership-options/

I can post my code or give you login access, just let me know what you prefer as I can't figure out what I'm doing wrong. The weird part is I'm not getting this error in Firefox: http://cl.ly/3G1h0G2t420i05390B06
just chrome right now, and prob IE (assuming that's what my client is using.)

Let me know when you have a minute. Thanks so much- appreciate the help!

Cheers,
Evan
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 1st, 2011, 9:18 pm

Are you using the shortcode or long code for the button?
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: Problems with Paypal Payments

Postby wafflehaus » July 4th, 2011, 7:24 am

am currently using the long code- I'm assuming I should try out the shortcode? i'll give that a shot.
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 4th, 2011, 11:31 am

Yeah, try the shortcode, it's less likely you'll have trouble with that.
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: Problems with Paypal Payments

Postby wafflehaus » July 4th, 2011, 4:10 pm

still not working... here's my shortcode:

[s2Member-PayPal-Button level="1" ccaps="" desc="CARR Annual Membership" ps="paypal" cc="USD" ns="1" custom="ctreadingresearch.org" ta="0" tp="0" tt="D" ra="25.00" rp="1" rt="M" rr="1" image="/wp-content/uploads/2011/01/signupbutton.png" output="button" /]

and here's the link: http://ctreadingresearch.org/membership-options/

any ideas?
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby wafflehaus » July 4th, 2011, 4:11 pm

ps now you'll see there's three buttons, the first one is shortcode generated, the second is from the long code. the third, student memberships, i haven't touched (i.e. long code)
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 4th, 2011, 4:55 pm

The long code is being broken by the visual editor, you need to use the HTML editor and PHP Exec to run the PHP in it, or edit those using the shortcode for those values. WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants (at the bottom of that panel)

I'm not sure about the shortcode, but it could be the theme you're using filtering the content in some way that may be changing some of the HTML comment tags causing those bits showing around the button. Try changing to the TwentyTen theme and test that page again, see if the shortcode's button works then.
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: Problems with Paypal Payments

Postby wafflehaus » July 4th, 2011, 8:23 pm

Hey Cristian, Thanks so much for all of your help. You're right that the theme is causing some sort of conflict- as the shortcodes worked with TwentyTen theme... I'm not sure how to resolve this though. I tried installing exec PHP but with no luck. Any advice? Thanks again!
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 4th, 2011, 11:35 pm

You're welcome! At least now we know what causes the problem. :)

It'd be good that you tell the theme developer about this problem so he can fix it, because it may cause trouble with other plugins as well.

But so you don't wait for that to happen, you could try removing the HTML comments in the long code and, if you don't want to use PHP for the variables in the long code, you can use the shortcode equivalents. WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants

Code: Select all
<input type="hidden" name="on0" value="[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0" /]" />
<input type="hidden" name="os0" value="[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0" /]" />



I hope 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: Problems with Paypal Payments

Postby wafflehaus » July 5th, 2011, 1:02 am

Awesome. Worked perfectly! http://ctreadingresearch.org/membership-options/ I actually had to assign a p1, a1 & t1 value for it to work properly but otherwise it's now working & I'll make sure my client doesn't touch the visual editor on that page :) I sincerely appreciate all of your help & support! Cheers Cristian.
User avatar
wafflehaus
Registered User
Registered User
 
Posts: 6
Joined: July 1, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 5th, 2011, 1:09 am

That's great! I'm glad you got it working. :D

About the visual editor, it may be safe to use it if you removed the HTML comments and PHP from the long code.
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: Problems with Paypal Payments

Postby denvert » July 12th, 2011, 8:46 pm

Hi,

I'm having this same problem. I don't understand how to implement the solution unfortunately.

I'm using the short code. Works fine with standard theme but not with my theme of choice for site.

I can't figure out what this means

"But so you don't wait for that to happen, you could try removing the HTML comments in the long code and, if you don't want to use PHP for the variables in the long code, you can use the shortcode equivalents. WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants"

Thanks
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 13th, 2011, 2:44 am

He's using the button's full code.

Now, for your shortcode to work with that theme, could you try this plugin and tell me if it helps with the issue? https://wordpress.org/extend/plugins/trueedit/ I just found it and would love to know if it resolves this 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: Problems with Paypal Payments

Postby denvert » July 13th, 2011, 7:23 am

This didn't work.

Do you know what settings I should use for the plugin?

I could use the long code, just didn't understand how the fix was implemented.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 13th, 2011, 3:41 pm

OK. Post here the long code you generated for the button with s2Member, please. :)
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: Problems with Paypal Payments

Postby denvert » July 13th, 2011, 4:00 pm

Sorry when I click get shortcode just shows short code and removes the long form, the long form doesn't change to reflect changes before hitting get shortcode button.

Here's the shortcode if that helps,

[s2Member-PayPal-Button level="1" ccaps="" desc="The Video XXXXX Membership" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.xxxxxxxxxx.com" ta="14.99" tp="1" tt="M" ra="14.99" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]


note: xxx's are to insure privacy.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » July 13th, 2011, 7:38 pm

If the long code is not being updated after regenerating the button, there may be JavaScript conflict there.

Hmm... Does your theme have a [raw][/raw] shortcode you could use? I remember someone mentioning his theme had that and it was the solution to the problem you're having here. I guess you should contact your theme developer and tell him the theme is messing with the shortcode, ask him to help you get this to work.
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: Problems with Paypal Payments

Postby loreias » December 29th, 2011, 2:51 am

hey guys im new arround here, firt of all awesome work with the plugin, now back to business, im having the same problem that wafflehau had, i did tryed what u sugested to him, allready talked with the guys in THEMEFUSE wich provide an beutiful theme but they did not help me that much in this matter, so i did tryed use the long code version of the paypal BOTTOM, didnt work, did the changes the Cristián Lávaque sugested, same deal, im runing out of options could some one give me a hand on this, thks
Cheers
DJ
User avatar
loreias
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: Problems with Paypal Payments

Postby loreias » December 29th, 2011, 3:26 am

GUYS thks very much was just matter of taking out the HTML commets as Cristian sugested thks very much..
User avatar
loreias
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » December 29th, 2011, 5:33 am

Glad that fixed it, loreias.

It's still better if you can solve the parsing problem, because it's not ideal to have the button's code unencrypted.

The shortcode parsing problem may be caused by a theme or plugin that messes with the parsing in some wrong way and causes trouble. To find what is doing it, you'd have to change the theme to the default as a test, or daectivate other plugins one by one and check after each to see if the problem is gone.

You can also create the button over at PayPal, which will give it to you already encrypted and no shortcode parsing is involved. Jason explains how to do that so it integrates with s2Member properly: viewtopic.php?f=36&t=309#p1333

I hope 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: Problems with Paypal Payments

Postby loreias » December 29th, 2011, 7:29 am

ones again thks Cristian , im still looking what could be the problem with the THEME, i dont want to replace it be couse allready purches it, ill try the alternative solution for encrypted the paypal bottoms as you sugested, actually im wanderyng if i would have this same problem if i use s2MEMBER PRO, cuz it doesnt use the paypal btns ?.. in the mean time ill try to figurate out what could be the problem with my template ( allready tested with the twentyten theme and it works perfect)
User avatar
loreias
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: Problems with Paypal Payments

Postby Cristián Lávaque » December 29th, 2011, 11:01 pm

Got ya, than you've confirmed it's the theme what's causing the parsing problem. Well, you'll have issues with s2Member Pro as well if the shortcode parsing is weird.

I'm not sure how easy/hard it'd be to fix the theme so it doesn't affect the parsing, but you can try the TrueEdit plugin and leave only the do_shortcode filter enabled. http://wordpress.org/extend/plugins/trueedit/

I hope 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: Problems with Paypal Payments

Postby loreias » December 29th, 2011, 11:16 pm

PROBLEM SOLVE, and one more time thks, with trueEdit pluging, and just leaving option Disable the do_shortcode filter uncheck did the trick, as u suggested, allready purchesed the s2member PRO, exelent plugin and even better support :D thks for the help
User avatar
loreias
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Next

Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 3 guests

cron