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 not showing up

s2Member Plugin. A Membership plugin for WordPress®.

Paypal button not showing up

Postby Peanut » December 21st, 2011, 4:45 pm

Hi - I have set all the parameters for using payments pro but when i paste the short code or the button code into my site i only get the word "paypal" and when you click on that you get an error message "bad request"

any idea what the problem might be?

thanks

peanut
User avatar
Peanut
Registered User
Registered User
 
Posts: 6
Joined: December 21, 2011

Re: Paypal button not showing up

Postby Philly » December 21st, 2011, 9:18 pm

The only problem I can see is that you have not enabled Button Encryption under s2member > PayPal® Account Details > Enable Button Encryption

enable that then generate your buttons again

hopefully that will fix it
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: Paypal button not showing up

Postby Raam Dev » December 22nd, 2011, 4:44 pm

Peanut,

If you still have problems, could you please copy and paste your button shortcode here for us to take look at?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Paypal button not showing up

Postby Jordaninperson » December 31st, 2011, 2:09 pm

Raam Dev wrote:Peanut,

If you still have problems, could you please copy and paste your button shortcode here for us to take look at?


I'm having a similar problem, I can get the button to show up on my page using this shorcode:

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

But then I get this message on the Paypal side:

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

Any thoughts?
User avatar
Jordaninperson
Registered User
Registered User
 
Posts: 4
Joined: December 31, 2011

Re: Paypal button not showing up

Postby Philly » December 31st, 2011, 2:54 pm

Is it something to do with your markup? http://validator.w3.org/check?uri=http% ... ne&group=0 I see lots of closing tags </p> but no opening tags, when you insert the shortcode into the page can you remove the whitespace before it, maybe that will stop the <p> tags being generated
Code: Select all
<p>Signup <a title="Login" href="http://cheapochurch.com/wp-admin">FREE HERE</a></p>
<p>&nbsp;</p>
<p>Register for the Flame Package</p>
<p>&nbsp;<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="jordaninperson@gmail.com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification &#038; Return Page Details --></p>
<input type="hidden" name="notify_url" value="http://www.cheapochurch.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://www.cheapochurch.com/" />
<input type="hidden" name="return" value="http://www.cheapochurch.com/?s2member_paypal_return=1&amp;s2member_paypal_return_tra=fnhlOmUwZjRlZjY0YjA2YzFlOWU5N2NlMDIxZGM2NDNjYmVkfL_Jl8SzkH5zX6-kcHOQar20VIOkjYaBe3dTXpmCgoR3rZVGlMxrWY1lZGeOnV96Y3PK0nVuxHCLkXKYd4DHYml7c6SpdJHAfFpuU296hHh5dW27a4WPacu3U16ZgoGEd2pHX8yTY2J1tahnjp1feWNzr4COpotolHnCxneAx2Joe3Njao3Jh3VfVqOotXiDvI1iglN1kLqTemtFmLqxbJCsX1WTe2JKjrZufI1MjrafwL_BuFWMqZSJho53ebmOnXa3ZqqKh7B0W7JpbG-HfHeEZ3tfiYlplLprW2Bqs7K6nJCXzsZTY8Z9Z3eNTFyqjLaIxLZotWyQvIe4u3qNim-kipiAiruvpodnk5d3eIPG" />
<input type="hidden" name="rm" value="2" />
<!-- Configures Basic Checkout Fields --></p>
<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.cheapochurch.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="the Flame / description and pricing details here." />
<input type="hidden" name="item_number" value="1" />
<!-- Configures s2Member's Unique Invoice ID/Code  --></p>
<input type="hidden" name="invoice" value="4eff5f4b81c26~86.14.153.64" />
<!-- Identifies/Updates An Existing User/Member ( when/if applicable )  --></p>
<input type="hidden" name="on0" value="Originating Domain" />
<input type="hidden" name="os0" value="www.cheapochurch.com" />
<!-- Identifies The Customer's IP Address For Tracking --></p>
<input type="hidden" name="on1" value="Customer IP Address" />
<input type="hidden" name="os1" value="86.14.153.64" />
<!-- Controls Modify Behavior At PayPal® Checkout --></p>
<input type="hidden" name="modify" value="0" />
<!-- Customizes Prices, Payments &#038; Billing Cycle --><br />
<!--<br />
<input type="hidden" name="amount" value="99.00" />&#8211;></p>
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="" />
<input type="hidden" name="sra" value="1" />
<!--<br />
<input type="hidden" name="a1" value="0" />&#8211;><br />
<!--<br />
<input type="hidden" name="p1" value="0" />&#8211;><br />
<!--<br />
<input type="hidden" name="t1" value="D" />&#8211;></p>
<input type="hidden" name="a3" value="99.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="Y" />
<!-- Displays The PayPal® Image Button --></p>
<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>
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: Paypal button not showing up

Postby Jordaninperson » December 31st, 2011, 4:58 pm

I ended up having to make buttons straight from Paypal. The s2Member button generator never went to the correct page... but I think I've got it figure out now...

Thanks!
User avatar
Jordaninperson
Registered User
Registered User
 
Posts: 4
Joined: December 31, 2011

Re: Paypal button not showing up

Postby Cristián Lávaque » January 3rd, 2012, 5:11 am

Jordan, if you use buttons created over at PayPal, you need to follow Jason's instructions so the buttons are integrated with s2Member correctly. viewtopic.php?f=36&t=309#p1333

The problem with your shortcode is in the parsing. Your theme or another plugin is affecting the shortcode parsing and causing you that error. To find which, you can try, as a test, to change the theme to the default and see if the button now works. If that doesn't do it, then remove other plugins one by one testing after each.

You can also try the TrueEdit plugin and disable all filters except the do_shortcode one, see if that fixes the parsing. 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


Return to s2Member Plugin

Who is online

Users browsing this forum: Majestic-12 [Bot] and 0 guests

cron