cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal donate button redirect not to checkout but to paypal homepage

SOLVED
Highlighted

PayPal donate button redirect not to checkout but to paypal homepage

As I mentioned above in the title. Would anybody give me an answer to correct this? Also, i can not donate/give my paypal balance from my personal account to this business account. What did I miss? My donate button is here: https://quantumzakat.id/campaigns/sudahkah-kita-terkena-wajib-zakat/ Thanks before.
1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: PayPal donate button redirect not to checkout but to paypal homepage

Hey, the issue here is that the button on your side has no variables being passed over to us, can you try using code like this instead:

 

<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="donations@kcparkfriends.org">

    <!-- Specify a Donate button. -->
    <input type="hidden" name="cmd" value="_donations">

    <!-- Specify details about the contribution -->
    <input type="hidden" name="item_name" value="Friends of the Park">
    <input type="hidden" name="item_number" value="Fall Cleanup Campaign">
    <input type="hidden" name="currency_code" value="USD">

    <!-- Display the payment button. -->
    <input type="image" name="submit"
    src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_donate_92x26.png"
    alt="Donate">
    <img alt="" width="1" height="1"
    src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >

</form>

See here for a full guide: 

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/html_example_do...

3 REPLIES
Moderator

Re: PayPal donate button redirect not to checkout but to paypal homepage

 

Edited

Moderator

Re: PayPal donate button redirect not to checkout but to paypal homepage

Hey, the issue here is that the button on your side has no variables being passed over to us, can you try using code like this instead:

 

<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="donations@kcparkfriends.org">

    <!-- Specify a Donate button. -->
    <input type="hidden" name="cmd" value="_donations">

    <!-- Specify details about the contribution -->
    <input type="hidden" name="item_name" value="Friends of the Park">
    <input type="hidden" name="item_number" value="Fall Cleanup Campaign">
    <input type="hidden" name="currency_code" value="USD">

    <!-- Display the payment button. -->
    <input type="image" name="submit"
    src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_donate_92x26.png"
    alt="Donate">
    <img alt="" width="1" height="1"
    src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >

</form>

See here for a full guide: 

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/html_example_do...

Re: PayPal donate button redirect not to checkout but to paypal homepage

Thanks. It works.