latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Alex Kiziah

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Paypal – Invalid Regular period?

By:  Roger in: Community Forum

voices: 3
replies: 5

3 years, 8 months ago  Christopher

Paypal Button Issue

By:  Alex Kiziah in: Community Forum

voices: 3
replies: 11

3 years, 9 months ago  Michael Franks

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Paypal Button Issue

By:  Alex Kiziah in: Community Forum

voices: 3
replies: 11

3 years, 9 months ago  Michael Franks

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Tuesday Jan 22nd, 2013 at 2:05 pm #38996

oh…well I just figured it out thanks to a support forum on my theme’s site.

Most ironic part is s2member uses a modified version of the them they recommend and that I’m using called inFocus from mysitemyway.com

turns out, all you have to do is put

at the start of your button shortcode and

at the end…

anyway, just thought i’d share since I struggled for hours on it like you did as well i assume

What did you switch to if you don’t mind me asking?

Posted: Tuesday Jan 22nd, 2013 at 1:59 pm #38994

okay not sure why that went through in a weird way. basically just put

open bracket + raw + closed bracket at the start of your short code, followe by open bracket + /raw + closed bracket at the end of your shortocde.

Didn’t display right in the above example for some reason.

Oh and thanks Alec for sticking with me and helping out a ton.

Hope this helps anyone else who comes across this same problem!

Posted: Tuesday Jan 22nd, 2013 at 1:56 pm #38992

Wow! so I found another thread online (through mysitemyway.com which s2member recommends) and it turns out, that despite s2member recommending the theme I’m using from them and using a modified version themselves (inFocus), the two are incompatible for this one part.

Turns out, all you have to do is place this around the button shortcodes

Here’s an example (the part I fixed):

[s2Member-PayPal-Button level="1" ccaps="" desc="Motivated Member / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.stillmotivated.com" ta="0" tp="14" tt="D" ra="9.95" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

Oh and it fixed my spacing problem! Woohoo!
No need to switch themes and mess with plugins, just do that and your good to go.

Posted: Tuesday Jan 22nd, 2013 at 1:47 pm #38988

I’m having this exact same issue. Were you able to resolve it and if so how?

Posted: Tuesday Jan 22nd, 2013 at 1:39 pm #38986

Not sure I understand. Do I need to give you access to make changes to the site and play around with it yourself? If so I think I can do that. I just need to go into wordpress and make an account for you I believe.

If that works, lemme know and I’ll go do that.

Posted: Tuesday Jan 22nd, 2013 at 12:52 pm #38977

I triple checked everything in the setup. Went through every step again, watched the youtube videos as well just to make sure I was doing it right.

I’ll fix the visual aspect later if I can get the functionality of it fixed.

Any ideas what I should try next?

When I generate the shortcode it says this snippet of code will eventually generate this (or something like this depending on parameters I’m allowed to choose)

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="business" value="alexk@stillmotivated.com" />
 <input type="hidden" name="cmd" value="_xclick-subscriptions" />
 <!-- Instant Payment Notification & Return Page Details -->
 <input type="hidden" name="notify_url" value="http://www.stillmotivated.com/?s2member_paypal_notify=1" />
 <input type="hidden" name="cancel_return" value="http://www.stillmotivated.com/" />
 <input type="hidden" name="return" value="http://www.stillmotivated.com/?s2member_paypal_return=1" />
 <input type="hidden" name="rm" value="2" />
 <!-- Configures Basic Checkout Fields -->
 <input type="hidden" name="lc" value="" />
 <input type="hidden" name="no_shipping" value="1" />
 <input type="hidden" name="no_note" value="1" />
 <input type="hidden" name="custom" value="www.stillmotivated.com" />
 <input type="hidden" name="currency_code" value="USD" />
 <input type="hidden" name="page_style" value="paypal" />
 <input type="hidden" name="charset" value="utf-8" />
 <input type="hidden" name="item_name" value="Motivated Member / description and pricing details here." />
 <input type="hidden" name="item_number" value="1" />
 <!-- Configures s2Member's Unique Invoice ID/Code  -->
 <input type="hidden" name="invoice" value="<?php echo S2MEMBER_VALUE_FOR_PP_INV(); ?>" />
 <!-- Identifies/Updates An Existing User/Member ( when/if applicable )  -->
 <input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
 <input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
 <!-- Identifies The Customer's IP Address For Tracking -->
 <input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
 <input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" />
 <!-- Controls Modify Behavior At PayPal® Checkout -->
 <input type="hidden" name="modify" value="0" />
 <!-- Customizes Prices, Payments & Billing Cycle -->
 <!--<input type="hidden" name="amount" value="9.95" />-->
 <input type="hidden" name="src" value="1" />
 <input type="hidden" name="srt" value="" />
 <input type="hidden" name="sra" value="1" />
 <input type="hidden" name="a1" value="0" />
 <input type="hidden" name="p1" value="14" />
 <input type="hidden" name="t1" value="D" />
 <input type="hidden" name="a3" value="9.95" />
 <input type="hidden" name="p3" value="1" />
 <input type="hidden" name="t3" value="M" />
 <!-- Displays The PayPal® Image Button -->
 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>

and though I’m no coding master, it seems clear to me that there are a3 p3 and t3 values in there when buttons are generated.

What’s also ironic is I’m using the same theme that s2member is using / recommended and I’m still having problems haha. Oh well.

Thanks for all your help so far, hopefully we’ll get through this.

Posted: Monday Jan 21st, 2013 at 8:00 pm #38755

Okay so I decided to stick the paypal buttons on a separate page. When users get here: http://www.stillmotivated.com/membership-options/

Any of the three buttons redirect them to this page:
http://www.stillmotivated.com/membership-registration/

However, when they click a paypal button, they get to a paypal page with this error “Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.”:
https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=xfNxXoLvK1I18bwY8WV6F6PHz6UMJX94zUqdtME2o75hBhakiGBN93zj3Ui&dispatch=5885d80a13c0db1f8e263663d3faee8d0b7e678a25d883d0fa72c947f193f8fd

In addition, on the membership registration page, there is a ton of space between my text and my paypal button, even though I put the shortcode for the button right under the paragraph text in both cases. See my shortcode (which I placed in the text editor) here:
————————

<h1>Free Members:</h1>
<h4>Sign up for free <a href="http://www.stillmotivated.com/wp-login.php?action=register">HERE</a></h4>

<h1>Motivated Member:</h1>
<strong>First 2 Weeks Free!</strong>
(Credit Card Payments Coming Soon)
[s2Member-PayPal-Button level="1" ccaps="" desc="Motivated Member / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.stillmotivated.com" ta="0" tp="2" tt="W" ra="9.95" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

<h1>Motivated Supertar:</h1>
<strong>First 2 Weeks Free!</strong>
(Credit Card Payments Coming Soon)
[s2Member-PayPal-Button level="2" ccaps="" desc="Motivated Superstar / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.stillmotivated.com" ta="0" tp="2" tt="W" ra="24.95" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

—————————————
Hopefully you can help me fix this :/ Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.