I am also interested in this. A few months ago I posted a topic asking for help as to how make it into a custom bbCode. But never got any help. If you know please post the bbcode. Many thanks.battye wrote:Have you tried making it into a custom bbCode?
I read the page there was nothing about paypal just how to add video.I would like to add paypal buttons!battye wrote:There is a topic dedicated to it
http://www.phpbb.com/community/viewtopi ... 6&t=579376
Thanks for the help. I remember reading it many times. It really does not pertain to Paypal. I also remember reading many other posts wherein many other members had the same inquiry.battye wrote:There is a topic dedicated to it
viewtopic.php?f=46&t=579376
http://www.phpbb.com/kb/article/adding- ... in-phpbb3/Bruce00 wrote:I read the page there was nothing about paypal just how to add video.I would like to add paypal buttons!battye wrote:There is a topic dedicated to it
http://www.phpbb.com/community/viewtopi ... 6&t=579376
the code is created at the PayPal merchant account it is html code but the button dos not show up just the PayPal html code.I dont no how to chaing it to bb code.the buttons are coded for prices and subscriptions.If there is a code that can be added to the board like code Quote so on that would make adding PayPal.I would be thanking you kindly for it
Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----*2652 characters here - personalized for your PayPal account*-----END PKCS7-----
" />
</form>
calebrw wrote:Okay, here is a simple example
In Custom BBCode:
BBCode usage: [paypal]{EMAIL}[/paypal]
HTML replacement:Help line:Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="{EMAIL}" /> <input type="hidden" name="item_name" value="Donation" /> <input type="hidden" name="no_shipping" value="0" /> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="currency_code" value="USD" /> <input type="hidden" name="tax" value="0" /> <input type="hidden" name="lc" value="US" /> <input type="hidden" name="bn" value="PP-DonationsBF" /> <input type="image" src="https://www.paypalobjects.com/WEBSCR-485-20071006-1/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" /> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /> </form>
Donate via Paypal.
Display on posting page: Checked
You need to have a valid email address.
NOTE:
This custom BBCode is still under development and shouldn't be used on a live board.
In addition, the image used here is taken of PayPal's site you may chose to use a different image to suite your needs.
Note to Developers:
This becomes [paypal]$this->bbcode_specialchars('[email protected]')[/paypal] where [email protected] is your PayPal email address. It will not process correctly. Maybe something is not being delimited as needed for phpBB parsing.
"$this->bbcode_specialchars(<!-- e --><a href=" is what ends up being returned (no quotes)
"'[email protected]')" />[image_here]" [image_here] is the image as specified in the code (https://www.paypalobjects.com/WEBSCR-48 ... now_LG.gif)
Clearly you're right. The encrypted button works.Bruce00 wrote:login to your PayPal account go to merchant tools and you can create all different kinds of button codes
for website and make email buttons as well.I used the encrypted for that button by it buttons subscription buttons the merchant account at PayPal is simple to use.Can be placed on eney page into dividers.I would give your one of my simple html pages with buttons but they are very strict about spaming! here at phpbb
Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----*2652 characters here - personalized for your PayPal account*-----END PKCS7-----
" />
</form>