Universal Donation Box is a powerful donation manager for your website. It handles unlimited number of donation campaigns, supports multiple payment gateways (PayPal, Payza/AlertPay, Skrill/Moneybookers, Authorize.Net, InterKassa, Perfect Money, BitPay and Stripe) and can be easily integrated into any website (no more difficult than insert Facebook Like button, check out steps 5-6 in “Installation” paragraph). Universal Donation Box is the easiest and perfect way to monetize your website.
Let’s imagine that you have website
http://www.website.com/ and you want to install script there.
donation-box(use any other name) in root of your domain. Once created it can be reached by URL:
inc/config.phpand set MySQL database parameters.
http://www.website.com/donation-box/using default login/password (login:
admin), configure script on
Settingspage and create at least one campaign on
<link href="//www.website.com/donation-box/css/udb.css" rel="stylesheet">
Campaignspage) in the place where you want to see donation box. Example:
<div class="udb-box" data-id="X"></div>
data-relattribute on step #6. Below you can see available basic values for this attribute:
form– display donation form
form-nourl– display donation form without “URL” field
top-X– display top X donors
recent-X– display recent X donors
<div class="udb-box" data-id="X" data-rel="form,top-10"></div>
<div class="udb-box" data-id="X" data-rel="recent-10,top-5"></div>
<div class="udb-box" data-id="X" data-rel="top-10,form-nourl"></div>
i have problem with script i make new html page icludeed code of script but when i see page i hated becuse is to big form please help im noob this link of new script http://ksaserver.us/donate.html thanks
Hi. Thanks for purchasing the script. You need to add this line at the top of HTML file (before
I've did everything you've mentioned to install properly. The script got installed into the DB. I've set the settings - it got saved into the DB. I've added the campaign, added the code, but nothing showed up. I've spent a day installing and configuring - nothing. Please help, it might be my mistake or other way the script is useless! The pages are: http://uucyc.ru/donate/demo.html http://uucyc.ru/donate/index.php The PHP version is 5.16 MySQL 5+ JQuery 1,8 Thank you, Ivan Privalov
Hi Ivan, Thanks for purchasing the script. You installed everything correctly. It seems there is some problem with JSONP AJAX request to your server. Could you please provide FTP-access to folder "donate" (you can do it through my profile page), I will check what is wrong there. Also please try to replace line: by Also please make sure that you use correct shortcode on this page: http://uucyc.ru/donate/index.php You must take shortcode from Campaigns. Thanks, Ivan Churakov
Replacing to helped. Now it works. What is the difference between those two? How important it is to have JSONP version running? p.s. The Top and Recent Donors boxs description in the campaigns does not support html - it is output as the htmlspecialchars() - http://uucyc.ru/donate/demo.html
Hi. Thanks for letting me know about htmlspecialchars(). I fixed it. About JSONP. It supports cross-domain call. For example, you can install script on domain1.com and display donation box on domain2.com. Version without JSONP must be used on the same domain only.
when a donation is made, the auto generated email that i get does not list the payer_name, it actually puts the payer_email twice? can you explain how this can be fixed?
it also puts the payer_email in for the Thanksgivig e-mail body: where is should be payer_name...please this must be fixed
you had me edit the ajax from a previous post...maybe this has caused the problem?
What payment gateway do you use?
My script uses payer name returned by Stripe. Now Stripe do not ask name on card and return e-mail. If you want to show payer_name which was entered by user in donation form, please edit ajax.php. Find the line:
$vals = array($post['card']['name'], $donor_details['email'], $donor_details['amount'], $donor_details['currency'], $donor_details['campaign_title'], date("Y-m-d H:i:s")." (server time)", "Stripe");and replace it by
$vals = array($donor_details['name'], $donor_details['email'], $donor_details['amount'], $donor_details['currency'], $donor_details['campaign_title'], date("Y-m-d H:i:s")." (server time)", "Stripe");
Hi do you know what causes the css coding to be shown on the payment page for Authorize.net? http://prntscr.com/8qojxd
Hi. Thanks for letting me know. Seems they changed something. I've modified the script, fixed the problem and uploaded new version to CodeCanyon. It is waiting for approval now.
thanks, can you tell me what file is changed?
that file has not changed since Jan -- I noticed I am getting errors in Authorize.net I have had users try to pay but failed Transaction Status: General Error (Processor error - The merchant account is not configured properly with the Credit Card Processor, Global Payments. Contact merchant service provider for resolution.)
Sorry. Correct file is inc/functions.php. Please contact Auth.net regarding this error.
Can I accept bitcoin, PayPal, skrill etc and all the donations will go to my PayPal account?
Hi, I've a problem with the bitcoin payment. It seems that it does not work.
Hi. Please let me know what exactly doesn't work. Do you have a valid BitPay account that allows you to accept payments?
Hi. This is what Stripe send to the script as cardholder name. If you want to use name, that user entered in donation form, please edit ajax.php. Find line #728 which is:
$vals = array($post['card']['name'], $donor_details['email'], $donor_details['amount'], $donor_details['currency'], $donor_details['campaign_title'], date("Y-m-d H:i:s")." (server time)", "Stripe");In this line replace
Thank you.. that worked great.
Hi, Does this script integrate with wordpress or would there be 2 different admin logins? Thanks,
nevermind, I saw the answer
Hi, Can it be used as payment method? I mean, to accept donations as payments as well. Regards,
Hi. All donations are accepted as payments.
How can I install this on WordPress?
If you want to install this script on WP, you need modify WP theme. It is better to use Banner Manager plugin with WP.
After copying the files with db details updated ..../admin.php is coming blank. Please assist
Sent you a PM
Continue button just load , i missing something ?
Please provide URL to see the problem.
Thanks for this product! For whatever reason though, after I create a new campaign and implement the code, the example data is shown. How can I get rid of that?
I need to be able to have the donation box have a few extra fields, ie address state zip. And that info needs to be a part of the confirmation email. What would this cost on a custom basis?
Hi. Unfortunately, the script doesn't have such feature and I'm not available for customization work.
can you recommend someone that can help me with this?
Unfortunately no. Please try to find developer through freelance websites.
LOVE THIS!!! Just sayin... Have one question, I would like to display on the page how much money has been collected. I guess a total amount donated for that event. Can I do this? Thanks, Phil
I read the other post, but it doesn't spell it out for me. Is there a line of code I can put in a certain place on my page that shows the total amount received for that Campaign?
Hi. Thanks for purchasing the script. Unfortunately, there is no such feature.
Where would I find the variable to increase the top 10 donors to let say top 100 recent donors?
Please read customization section on script page: http://codecanyon.net/item/universal-donation-box/2952313 Use shortcode like:
<div class="udb-box" data-id="X" data-rel="form,recent-100"></div>
Ah apologies, thanks for the help. I thought this would be an edit Id have to do in the php.
Hi, its possible to add MobilPay to this script?
Hi. At that moment I don't have such plans.
Hi... can check pls, if the validation of the input fields [ sizeof($name), sizeof($email), sizeof($url), strlen($url) ] works right in demo/ actually uploaded version? I don't get the message in error box... Thx, rigby
Hi. I didn't catch exactly what you mean. I visited your website and check the fields. Validation works. I also checked my demo. It works too.
Ok, example: If I type a name with 100 characters in to the field, I do not get the error message 'Your name is too long.' as written in code. I've just checked again at your demo...
It's clear now. Thank for letting me know. You can replace sizeof() function by strlen(). I also uploaded updated version of the script to CodeCanyon. It is waiting for approval.
Thx a lot, rigby
Nice script, I have a question before I purchased I need to know if it support "Authorize.net" subscription / monthly/quartly/yearly recurring payment ? I need to use it for Website donation. I highly appreciate your answer.
Hi. Thanks for interesting in the script. Unfortunately, it doesn't support recurring payments. Thanks.
Hello, Can you please fix the bitcoin payment system. Bitpay that you are using is currently useless because they keep blocking my account, since they do not accept donations, nor payments through your script for some reason. Can you please look into CoinKite, Blockchain or some other bitcoin payment processor? Thanks
Hi. I have plans to implement Blockchain too. It is in my todo list.
Hey man, I think it's time you added the Blockchain or CoinKite support ? After API 2.0 on Blockchain.info, I think Coinkite makes more sense because of their IPN and easier integration. Thanks
Hi. I still have Blockchain in my todo list. Regarding CoinKite, I'll learn more about such system.