Adding a Paypal Donate button to header 3.1 Prosilver SE

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by Volksdevil »

You have the form ending </form> in the wrong place. Remove it and place it straight after:
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by Lumpy Burgertushie »

in your overall_header.html file you have this:

Code: Select all

</form>
		<!-- EVENT overall_header_navbar_before -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="HQ2J6KJTDTBEG">
<input type="image" align="middle" src="https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
		<!-- INCLUDE navbar_header.html -->
	</div>
notice that the </form> is out of place and should be at the end of your actual form html code like this:

Code: Select all

<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
also, notice that you have a closing </div> at the end that does not belong there.

fix those two things and see what happens.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by 2600 »

To make life easier, check out the Pages extension. https://www.phpbb.com/customise/db/extension/pages/

I use this and I have a link in the footer and on top of the index for the PayPal button with text. I even added HTML5 audio.

Check it out. It's at the top. You can't miss it. https://systechforum.

Just to let you know. I created a separate PayPal account with my bank account. I called PayPal to make sure I could do that and he said you could and also sent me an E-mail on accepting donations of which I still need to read. So you might be subject to taxes or something. I'm not sure. Might even have to file a 503c. Like I said I still need to read the E-mail.

Edit- Here's the E-mail I got.


Thank you again for taking the time to contact PayPal. Based on our conversation, I wanted to send you some additional information that you may find helpful.

You must have a PayPal Business account to accept donations for your nonprofit organization.

When you sign up for a Business account, you choose a payment solution. Most nonprofits choose PayPal Payments Standard or Express Checkout as their payment solution. These solutions let your donors complete their transactions on the PayPal website.

If your organization generates more than $100,000 in annual income and you're interested in other PayPal payment solutions, call 866-365-6319.

Here's how to open a Business account for your nonprofit:

Go to http://www.paypal.com/ and click Sign Up at the top of the page.
Choose a Business Account and click Continue.
Choose your business solution and complete the basic signup flow.
Select Nonprofit organization when choosing your Business type.

After you have created your account, add a bank account registered in the name of your nonprofit organization. Here's how:

Log in to the PayPal account you have just created.
Click Wallet near the top of the page.
Click +Link a Bank.
Select Checking or Savings and click Agree and Link.

We'll also ask for some information to confirm your organization's status as a nonprofit. We'll ask you to send us:

A description of your organization or a copy of your mission statement.
A voided check that shows the name of your organization or a bank statement that your organization received in the mail within the last 6 months. We do not accept starter checks.
A document that confirms your status as a nonprofit organization.

You can submit documentation via fax to 1-303-395-2862. After you provide this information, it will take 3-5 business days to process your request.

Once you sign up for your account, you can create a Donate button and start to accept donations on your website.

Here's how to learn more about PayPal for nonprofits:

Log in to your PayPal account.
Click Business at the top of the page.
Near the bottom of the page, under Industry Solutions, click Nonprofits.



We know situations like this can be difficult, so thanks for working with us. If you have more questions, visit our Help Center by clicking "Help" in the top right corner of any PayPal page.

Add your mobile number to your PayPal account so we can reach you right away if we ever need to verify account activity with you. Simply log in to your PayPal account, click "Profile" near the top of the page and then click "Update" beside "Phone."

You can also make and receive payments with your mobile phone when you add it to your PayPal account. After your confirm your number and create a PIN, you'll be able to get money, send money, check your balance, or manage your account from your phone using simple text messages.

Sincerely,
Joseph
PayPal Customer Solutions
PayPal

Copyright © 1999-2015 PayPal. All rights reserved.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by mtridersclb »

Volksdevil wrote:You have the form ending </form> in the wrong place. Remove it and place it straight after:
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
Yep that fixed it, thank you very much mate
mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by mtridersclb »

Lumpy Burgertushie wrote:in your overall_header.html file you have this:

Code: Select all

</form>
		<!-- EVENT overall_header_navbar_before -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="HQ2J6KJTDTBEG">
<input type="image" align="middle" src="https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
		<!-- INCLUDE navbar_header.html -->
	</div>
notice that the </form> is out of place and should be at the end of your actual form html code like this:

Code: Select all

<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
also, notice that you have a closing </div> at the end that does not belong there.

fix those two things and see what happens.


robert
Thanks again Robert, now I understand. By having the end div after the INCLUDE, I was making the whole thing a button. Thanks
mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by mtridersclb »

John connor wrote:To make life easier, check out the Pages extension. https://www.phpbb.com/customise/db/extension/pages/

I use this and I have a link in the footer and on top of the index for the PayPal button with text. I even added HTML5 audio.

Check it out. It's at the top. You can't miss it. https://systechforum.
...
Thats amazing, just what I was looking for a while back to make the forum more 'websitey' - amazeballs thank you.
I cant open your site from that link but would like to look
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by 2600 »

Oh, forgot the .net. It's systechforum.net
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by mtridersclb »

John connor wrote:Oh, forgot the .net. It's systechforum.net
Thanks John, thats very useful, I like the 'contact us' page - useful
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by 2600 »

LOL! Yeah, the Contact us was just modified with BBcode. And since I have an HTML5 BBcode for audio I added, "You got freaking mail."
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
thetripperchic
Registered User
Posts: 71
Joined: Wed Jul 05, 2017 12:26 am

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by thetripperchic »

3Di wrote: Sat Jan 30, 2016 3:35 pm Image


using with BBcodes

Code: Select all

[url=https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HQ2J6KJTDTBEG][img]https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif[/img][/url]
This would work on a page tho, wouldn't it.
thetripperchic
Registered User
Posts: 71
Joined: Wed Jul 05, 2017 12:26 am

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by thetripperchic »

janus_zonstraal wrote: Mon Feb 01, 2016 10:07 am Try behind

Code: Select all

<!-- END navlinks -->
in the navbar_header.html from your style (+/- line 105)
I think it would work where i put it in the navbar header, but the button doesn't show up. when i did it, for a moment all the navbar links shifted a bit but the buttons did show.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: Adding a Paypal Donate button to header 3.1 Prosilver SE

Post by Mick »

@ thetripperchic: I believe you’re using 3.2? That being the case you should be posting in 3.2 styles support.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Locked

Return to “[3.1.x] Support Forum”