Help - Search - Members - Calendar
Full Version: Donation system problem
HTMLHelp Forums > Web Authoring > Web Site Functionality
Backflip
So, I've got this weird PayPal donation system problem. I don't know is it the code or the email address (though my friend told me everything is just fine) or something else.

As you can see on the pictures, when I click "DONATE NOW!" (picture #1) it just highlights this (picture #2)

IPB Image

IPB Image

Now, here's the code:

CODE
            <div class="container row">
                <div class="sixteen columns left">
                    <h1 class="heading">DONATE</h1>
                    <!-- Static Page Start -->
                    <div class="in-sec nopad-bot">
                        <div class="static">
                  <center>
                  <img src="images/paypal.png" alt="paypal"/><br><br>
                  <form name="donate_paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                <h6 style="color: #1E90FF">DONATION AMOUNT IN $</h6>
                <input type="text" autocomplete="off" id="donate_amount_paypal" value="1" onkeypress="return numericOnly(event)" onkeyup="donationAmountPaypal_changed(this)" />
                <br><br><br>

                <input type="hidden" name="cmd" value="_xclick">
                <input type="hidden" name="business" value="">
                <input type="hidden" name="receiver_email" value="i don't want to highlight the address">
                <input type="hidden" name="item_name" value="Balkan Desire - Donation">
                <input type="hidden" name="amount" id="paypal_price" value="1">
                <input type="hidden" name="no_shipping" value="1">
                <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="currency_code" value="USD">
                <input type="hidden" name="rm" value="2">
                <input type="submit" id="donatePaypal" class="button" value="DONATE NOW!" style="height: 40px; width: 100%; margin-top: -35px; margin-bottom:-10px;" />
            </form>
            </center>
                    </p>
                        <br />
    
                        <div class="clear"></div>
                    </div>
                        </div>
                    <!-- Static Page End -->
                </div>
            </div>
pandy
Well, if PP says there's a problem with the account it probably is.
CharlesEF
Your code doesn't seem to supply any email address or business ID. How does PayPal know who to pay?
pandy
I think Backflip has removed those bits for the forum.
CharlesEF
You could be correct but I thought I would mention it anyway.
pandy
I hope so, 'cause this won't work with PP. happy.gif
CODE
<input type="hidden" name="receiver_email" value="i don't want to highlight the address">
CharlesEF
QUOTE(pandy @ Aug 23 2015, 05:12 AM) *

I hope so, 'cause this won't work with PP. happy.gif
CODE
<input type="hidden" name="receiver_email" value="i don't want to highlight the address">


Also, the receiver isn't the one that gets paid. biggrin.gif Since this is a donation maybe the receiver is the one that gets paid?
pandy
Who is that then? Never used that end of PP.
Christian J
Are you sure the OP's example is the correct PP donate code? The one I've used for years looks like this: https://developer.paypal.com/docs/classic/p...s-donateButton/

In particular I don't need to display my email in a hidden form field, where any spambot can see it...
pandy
Are you asking me? I have no idea how those forms are supposed to look like.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.