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™

Recurring Payment Button Error

s2Member Plugin. A Membership plugin for WordPress®.

Recurring Payment Button Error

Postby carlingnicole » September 6th, 2011, 11:57 pm

Hi,

We are receiving an error when trying to click through the paypayl button generated by S2 Member for a monthy recurring payment. If I create a button using the S2 button generator that is not for a recurring payment, everything seems to go through fine, however a recurring button produces this error from Paypal:

"Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription."

here is the shortcode that the generator produces:
[s2Member-PayPal-Button level="1" ccaps="" desc="Inversion Class / Unlimited Access" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="kineticvigilantes.com" ta="0" tp="0" tt="M" ra="5.00" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

We've tried the long version of the code also and it produces the same errors.

We are shooting for a monthly recurring charge of $5.00 with no trial period. Any help would be much appreciated! Thank you!
User avatar
carlingnicole
Registered User
Registered User
 
Posts: 1
Joined: September 6, 2011

Re: Recurring Payment Button Error

Postby Cristián Lávaque » September 7th, 2011, 3:49 am

Hi Nicole.

Your theme or another plugin may be interfering with the post's parsing. Could you try the TwentyEleven theme as a test and see if you get the error? Or disable other plugins and see if the error goes.

You may try the TrueEdit plugin with all content filters disabled except do_parsecode and see if that helps. https://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: Recurring Payment Button Error

Postby aysiahw » October 12th, 2011, 8:03 pm

Hi there - I'm having the exact same issue and using another theme is not an option. Any other suggestions? Did you get this issue resolved? Here is the code the S2Member program generated, the long version:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="aysia@chartreusepr.com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://goodebox.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://goodebox.com/" />
<input type="hidden" name="return" value="http://goodebox.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="goodebox.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="Monthly Goodebox Membership" />
<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="19.00" />-->
<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="0" />-->
<!--<input type="hidden" name="t1" value="D" />-->
<input type="hidden" name="a3" value="19.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />
<!-- Displays The PayPal® Image Button -->
<input type="image" src="http://goodebox.com/wp-content/uploads/2011/10/join-now-button-pink7.gif" />
</form>
User avatar
aysiahw
Registered User
Registered User
 
Posts: 1
Joined: October 12, 2011

Re: Recurring Payment Button Error

Postby 5c0tt » December 13th, 2011, 5:05 pm

I had a problem like this with the Striking theme. It has a [raw][/raw] bracketing which solves the issue
User avatar
5c0tt
Registered User
Registered User
 
Posts: 6
Joined: December 13, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron