Paypal in post rc5

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Bruce00
Registered User
Posts: 38
Joined: Thu Jul 12, 2007 11:33 pm
Contact:

Paypal in post rc5

Post by Bruce00 »

Hello I have be trying to put PayPal buttons into the post function.All I get is the code showing up in the post.
Is there a way to put PayPal into the post function that would be user friendly. :mrgreen:
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 11048
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: Paypal in post rc5

Post by battye »

Have you tried making it into a custom bbCode?
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
t-p
Registered User
Posts: 311
Joined: Wed Jun 13, 2007 12:51 am
Location: California, USA

Re: Paypal in post rc5

Post by t-p »

Hi battye,
battye wrote:Have you tried making it into a custom bbCode?
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.

-tp
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 11048
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: Paypal in post rc5

Post by battye »

Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
User avatar
Bruce00
Registered User
Posts: 38
Joined: Thu Jul 12, 2007 11:33 pm
Contact:

Re: Paypal in post rc5

Post by Bruce00 »

battye wrote:There is a topic dedicated to it :)
http://www.phpbb.com/community/viewtopi ... 6&t=579376
I read the page there was nothing about paypal just how to add video.I would like to add paypal buttons!
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 8-)
t-p
Registered User
Posts: 311
Joined: Wed Jun 13, 2007 12:51 am
Location: California, USA

Re: Paypal in post rc5

Post by t-p »

Hi battye,
battye wrote:There is a topic dedicated to it :)
viewtopic.php?f=46&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.
Thanks again.

-tp
User avatar
calebrw
Registered User
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota
Contact:

Re: Paypal in post rc5

Post by calebrw »

Bruce00 wrote:
battye wrote:There is a topic dedicated to it :)
http://www.phpbb.com/community/viewtopi ... 6&t=579376
I read the page there was nothing about paypal just how to add video.I would like to add paypal buttons!
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 8-)
http://www.phpbb.com/kb/article/adding- ... in-phpbb3/
Has more information on how to do it.

These guides are not specific, they just need to be customized with the correct code.

What is the code you're trying to add?
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com
t-p
Registered User
Posts: 311
Joined: Wed Jun 13, 2007 12:51 am
Location: California, USA

Re: Paypal in post rc5

Post by t-p »

Thanks again for your help.

Here is the Paypal Html code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="My [email protected]">
<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="http://Mydomain/donate.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>

Many thanks for the help.

-tp
Brian_RTL
Registered User
Posts: 43
Joined: Fri Jul 07, 2006 11:37 pm
Location: California
Contact:

Re: Paypal in post rc5

Post by Brian_RTL »

Another vote for some help with writing the custom BBCode. That would be a big help!
User avatar
calebrw
Registered User
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota
Contact:

Re: Paypal in post rc5

Post by calebrw »

PayPal Donate Buttom v 1.0.0

Here is a simple example to create a PayPal Donate button in your post via Custom BBCode.

ACP > Posting > Messages :: BBCodes > Add a new BBCode

In Custom BBCode:
BBCode usage: [paypal][/paypal]

HTML replacement:

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>
Help line:
Donate via Paypal.

Display on posting page: Checked

NOTE:
This custom BBCode is under development and shouldn't be used on a live board without further testing.
In addition, the image used here is taken of PayPal's site you may chose to use a different image to suite your needs.
Last edited by calebrw on Mon Oct 08, 2007 2:44 am, edited 3 times in total.
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com
User avatar
Bruce00
Registered User
Posts: 38
Joined: Thu Jul 12, 2007 11:33 pm
Contact:

Re: Paypal in post rc5

Post by Bruce00 »

calebrw wrote:Okay, here is a simple example

In Custom BBCode:
BBCode usage: [paypal]{EMAIL}[/paypal]

HTML replacement:

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>
Help line:
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)

some help for you when I use the PayPal account to create the buttons I use encrypted buttons.Both incrypted
and not have no email in the code.The email info is given to PayPal after byre clicks the button and is filling out payment.My account is incoded to the button code!
Hope tis helps :D
User avatar
Bruce00
Registered User
Posts: 38
Joined: Thu Jul 12, 2007 11:33 pm
Contact:

Re: Paypal in post rc5

Post by Bruce00 »

Here is one of my PayPal subscriptions code for example


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">&nbsp;
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" style="z-index: 101; left: 0px; position: absolute; top: 0px">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIH6QYJKoZIhvcNAQcEoIIH2jCCB9YCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1U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BoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwOTE3MDEyMTQyWjAjBgkqhkiG9w0BCQQxFgQUd3ZOdBdQFAoA4TW36IHIx34WcIIwDQYJKoZIhvcNAQEBBQAEgYBXa5+J4JhN7gKWHMpebPoZV2BgqxrAnZsf0/kro3vQ7IidiDpEjDZaB+nbKrMItYLMriAbwPH1TYMKLRi3vc8YplcEeW7rl7vbxUfO76wM/Niy0jgxy9bVIQOZGWwS7PwxK2Xe3C/MSeJZVZ22efB7X7GH+39pxNqTmC9PIpJtKQ==-----END PKCS7-----
">

</form>
t-p
Registered User
Posts: 311
Joined: Wed Jun 13, 2007 12:51 am
Location: California, USA

Re: Paypal in post rc5

Post by t-p »

Hi Bruce,

I posted my paypal code few posts before you. As you see, I have my email in it. However, I do not see your email in it. is this represent your email: PKCS7-----MIIH6QYJKoZIhvcNAQcEoIIH2jCCB9YCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYB49/jrhdimg3S24Lcwhy0i3HbbXut7Ik10FUFuQKyzECj1NKqvy6awATfLgpnYGLTKeYozwnY8sn/OzEVG+2S+vgpO1NHEzY/o6q/7qQWLgE96eNmiYi93Z11QCR5OXj1CYEuDU7KEoYtDrp/o+uqc7vlt9Uwb+NA5nAav7LujNzELMAkGBSsOAwIaBQAwggFlBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECA3DRbLyDw+SgIIBQLjErJV8QyAwXVFZ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Xe3C/MSeJZVZ22efB7X7GH+39pxNqTmC9PIpJtKQ==-----END PKCS7-----?

My code does not have anything like this. If the above represent your email, my question is how can I convert my email into similar characters? The problem with having the real email is the spammers. Please point me in right direction. Many thanks.

--tp
User avatar
Bruce00
Registered User
Posts: 38
Joined: Thu Jul 12, 2007 11:33 pm
Contact:

Re: Paypal in post rc5

Post by Bruce00 »

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
:D :D :D :D :D :D :D :D :D
User avatar
calebrw
Registered User
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota
Contact:

Re: Paypal in post rc5

Post by calebrw »

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
:D :D :D :D :D :D :D :D :D
Clearly you're right. The encrypted button works.

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>
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com
Locked

Return to “[3.0.x] Support Forum”