How To Create Donation Button In MB?

Discussion in 'Payment Processing' started by darkvader, Oct 17, 2009.

  1. #1
    Someone told me that I can accept payments in my MB account from people who do not have any MB account by creating a donation button.

    Is that true?

    Can anyone tell me how to create any such button?

    Your help will be much appreciated,

    Thanks
     
    darkvader, Oct 17, 2009 IP
  2. merlinseo

    merlinseo Well-Known Member

    Messages:
    1,686
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Try out with below form, Hope it helps you

    <!–moneybookers form–>
    <form action=”https://www.moneybookers.com/app/payment.pl” method=”post” target=”_blank”>
    <fieldset>
    <legend>Donate with Moneybookers</legend>
    <input type=”hidden” name=”pay_to_email” value=”you@yourdomain.com“>
    Please enter the amount you would like to give<br>
    <input type=”hidden” name=”return_url” value=”http://www.yourdomain.com/gifts/thanks.htm“>
    <input type=”hidden” name=”language” value=”EN”>
    <select name=”currency” size=”1″>
    <option>Select a currency</option>
    <option value=”USD”>US dollar</option>
    <option value=”GBP”>GB pound</option>
    <option value=”EUR”>Euro</option>
    <option value=”JPY”>Yen</option>
    <option value=”CAD”>Canadian $</option>
    <option value=”AUD”>Australian $</option>
    </select>
    <br>amount:
    <!–<input type=”hidden” name=”amount” value=”5.00″>–>
    <input type=”text” name=”amount” value=”5.00″ size=”10″>
    <input type=”hidden” name=”detail1_description” value=”donation to help support anhblog.net“>
    
    <input type=”hidden” name=”detail1_text” value=”donation to help support anhblog.net“>
    <br>
    <br>
    <input type=”submit” alt=”click to make a donation to anhblog.net” value=”Donate!” />
    </fieldset>
    </form>
    
    Code (markup):
     
    merlinseo, Oct 17, 2009 IP
  3. darkvader

    darkvader Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #3
    Thanks for giving me this code, but the fact is that I had already found it by Googling. But I am still facing problems.......when I paste this code on my site ot blog, it says there are HTML errors. And secondly, I'm sure its not to be pasted as it is, where to write my MB ID in it etc.?
     
    darkvader, Oct 17, 2009 IP
  4. mrkool

    mrkool Active Member

    Messages:
    261
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    85
    #4
    Working Donation Code button. Replace 'Your email Address of Moneybookers' with your moneybooker email id.



    <form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
    <fieldset>
    <legend>Donate with Moneybookers</legend>
    <input type="hidden" name="pay_to_email" value="Your email Address of Moneybookers">
    Please enter the amount you would like to give<br>
    <input type="hidden" name="return_url" value="http://www.yourdomain.com/gifts/thanks.htm">
    <input type="hidden" name="language" value="EN">
    <select name="currency" size="10">
    <option>Select a currency</option>
    <option value="USD">US dollar</option>
    <option value="GBP">GB pound</option>
    <option value="EUR">Euro</option>
    <option value="JPY">Yen</option>
    <option value="CAD">Canadian $</option>
    <option value="AUD">Australian $</option>
    </select>
    <br>amount:
    <!–<input type="hidden" name="amount" value="5.00">–>
    <input type="text" name="amount" value="5.00" size="10">
    <input type="hidden" name="detail1_description" value="donation to help support">
    
    <input type="hidden" name="detail1_text" value="donation to help support us">
    <br>
    <br>
    <input type="submit" alt="click to make a donation" value="Donate!" />
    </fieldset>
    </form>
    Code (markup):
     
    mrkool, Oct 18, 2009 IP
  5. darkvader

    darkvader Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #5
    I really thank you for your help. But even with this code an HTML error is being shown. Seems the problem is with the "!" at the end of the code. Any solutions?


     
    darkvader, Oct 19, 2009 IP
  6. mrkool

    mrkool Active Member

    Messages:
    261
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    85
    #6
    Strange no error for me in Firefox, Chrome and Internet Explorer.

    what was the error. Replace 'Donate!' with 'Donate' in
    <input type="submit" alt="click to make a donation" value="Donate!" />
    Code (markup):
    If still error continues, paste the actual error screenshot.
     
    mrkool, Oct 19, 2009 IP
  7. darkvader

    darkvader Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #7
    The exact error was 'HTML Code error" and this part of the code was highlighted:
    <!–<input type="hidden" name="amount" value="5.00">–>

    But anyway I published it anyway, and it seems that it has worked.
    Thanks for your help!

     
    darkvader, Oct 20, 2009 IP
  8. mrkool

    mrkool Active Member

    Messages:
    261
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    85
    #8
    I found the problem. Just removed this line and will be no error.
    <!–<input type="hidden" name="amount" value="5.00">–>

    Error occur because of this
    '->'
    It should be like '-->'
     
    mrkool, Oct 22, 2009 IP