Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.4k views
in Plugins by

I want to give user an option to add PayPal donate button to their profile page. I want to be able to give this option as a privilege based on points or user type. So, once the user has reached certain point level then there will be a box available on their account detail page where they can enter their paypal email ( or button code they have generated ) and once they have done so the donate button will appear on their profile page.

Can plugin like that be done and if so, would it be a major job?

Q2A version: 1.5
by
I thought of this once, but did not develop it because the email address will be revealed. And many of my users take privacy quite important, as me.

I could develop such a plugin, what is your budget on that?

2 Answers

+1 vote
by
edited by

Hi, 

Sorry to be late IoI, i not really expert about the code, but i find this way. Maybe also the idea can be show on the profile donator, but i don't know how to do ;)

 

1- download this plugin : https://github.com/svivian/q2a-widget-anywhere
than you can choose where you want to show your button

2- add this code inside the widgets when you activate the plugin and remplace the red text

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <!-- Identify your business so that you can collect the payments. -->
    <input type="hidden" name="business"
        value="xxxxxxxxxx@xxxxx.com"> // your email here
    <!-- Specify a Donate button. -->
    <input type="hidden" name="cmd" value="_donations">
    <!-- Specify details about the contribution -->
    <input type="hidden" name="item_name" value="add you title here"> // Header title
    <input type="hidden" name="item_number" value="add the reason here"> // Slogan
    <input type="hidden" name="currency_code" value="USD"> // Currency
    <!-- Display the payment button. -->
    <input type="image" name="submit" border="0"
    alt="PayPal - The safer, easier way to pay online">
    <img alt="" border="0" width="1" height="1"
</form>
 
That it !

Claude

0 votes
by
Sorry for giving it as a seperate answer, I just wanted to follow up with you and others to see if anyone got this paypay integration working yet
...