Resource icon

Donations by Siropu [Paid] 1.0.2

No permission to buy (€19.99)

Siropu

Well-known member
Siropu submitted a new resource:

Donations by Siropu - Donation widget with goals, donors list and top donors.

Goals
Create multiple goals and receive donations in multiple currencies and convert them to your primary currency.

Display progress bar.
Display expenses list.
Display latest donor.
Display latest donations
Display top donors.
Display donor benefits.

You can automatically add donors to a custom user group and remove from other groups that were added via user promotions.

If no goals are created, a simple widget with a message and a donate button will be displayed.

Donations page...

Read more about this resource...
 

gldtn

Well-known member
Any importers available or are you thinking of adding any? I'm currently using Dragonbytes donation
 

Siropu

Well-known member
Make sure that you haven't enabled the sandbox in admin options. Most likely all the users that tried to donate got the same message.
 

Paul

Well-known member
A few questions if i may please @Siropu :)

1. Is is possible to add people to a custom user group only for a specific period of time (Say 1 year)?
2. Is it possible for only Admins to view the donations list?
3. Is it possible for donations over a certain amount to be added to a different group than others?
4. Is it possible to be able to extract donation list to somewhere please (eg csv)

I'm sure there's another, however cant remember it right now :D

Thanks
Paul
 

W.D

Active member
Works perfect minus this,

1607283930805.png

1607283968617.png

Profile and online show the phrase not proper text. Is this fixable?

EDIT: Also some server errors, setup is PHP 7.4, MariaDB 10.5 XF 2.2.2

ErrorException: [E_NOTICE] Trying to get property 'settings' of non-object src/addons/Siropu/Donations/Entity/Donation.php:93

Generated by: Unknown account Dec 6, 2020 at 8:17 PM

Stack trace

#0 src/addons/Siropu/Donations/Entity/Donation.php(93): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/...', 93, Array)
#1 src/addons/Siropu/Donations/Entity/Donation.php(190): Siropu\Donations\Entity\Donation->getUserGroups()
#2 src/XF/Mvc/Entity/Entity.php(1266): Siropu\Donations\Entity\Donation->_postSave()
#3 src/XF/Mvc/Entity/Entity.php(1312): XF\Mvc\Entity\Entity->save(true, true)
#4 src/addons/Siropu/Donations/Donate/PayPal.php(137): XF\Mvc\Entity\Entity->saveIfChanged()
#5 src/addons/Siropu/Donations/Pub/Controller/Ipn.php(14): Siropu\Donations\Donate\PayPal->validateDonation()
#6 src/XF/Mvc/Dispatcher.php(350): Siropu\Donations\Pub\Controller\Ipn->actionIndex(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('Siropu\\Donation...', 'Index', Object(XF\Mvc\RouteMatch), Object(Siropu\Donations\Pub\Controller\Ipn), NULL)
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\Donations\Pub\Controller\Ipn), NULL)
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#11 src/XF.php(488): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}

array(4) {
["url"] => string(29) "/donations-ipn/?donation_id=5"
["referrer"] => bool(false)
["_GET"] => array(1) {
["donation_id"] => string(1) "5"
}
["_POST"] => array(33) {
["mc_gross"] => string(4) "5.00"
["protection_eligibility"] => string(10) "Ineligible"
["payer_id"] => string(13) "removed"
["payment_date"] => string(25) "12:17:48 Dec 06, 2020 PST"
["payment_status"] => string(9) "Completed"
["charset"] => string(5) "UTF-8"
["first_name"] => string(3) "removed"
["mc_fee"] => string(4) "0.45"
["notify_version"] => string(3) "3.9"
["custom"] => string(1) "5"
["payer_status"] => string(8) "verified"
["business"] => string(25) "removed"
["quantity"] => string(1) "1"
["verify_sign"] => string(56) "removed"
["payer_email"] => string(19) "removed"
["txn_id"] => string(17) "removed"
["payment_type"] => string(7) "instant"
["last_name"] => string(6) "removed"
["receiver_email"] => string(25) "removed"
["payment_fee"] => string(0) ""
["shipping_discount"] => string(4) "0.00"
["receiver_id"] => string(13) "removed"
["insurance_amount"] => string(4) "0.00"
["txn_type"] => string(10) "web_accept"
["item_name"] => string(8) "Donation"
["discount"] => string(4) "0.00"
["mc_currency"] => string(3) "GBP"
["item_number"] => string(0) ""
["residence_country"] => string(2) "GB"
["shipping_method"] => string(7) "Default"
["transaction_subject"] => string(1) "5"
["payment_gross"] => string(0) ""
["ipn_track_id"] => string(13) "removed"
}
}

1607286474937.png
 
Last edited:

Abu Ghaith

Well-known member
I tested the donation without the sandbox and get the same error above

also tested with other PP account and get this

2020-12-06_21-50-33.jpg
 

Siropu

Well-known member
Profile and online show the phrase not proper text. Is this fixable?
Will be fixed in the next release.

also tested with other PP account and get this
Your PP account doesn't support donations according to that PayPal message. That means that the cmd param in the request has to be _xclick and not _donations in your case. It can be changed from src\addons\Siropu\Donations\Donate\PayPal.php line 30.

Test it and let me know. I can add an option for it in admin options.
 
  • Like
Reactions: W.D

Abu Ghaith

Well-known member
Your PP account doesn't support donations according to that PayPal message. That means that the cmd param in the request has to be _xclick and not _donations in your case. It can be changed from src\addons\Siropu\Donations\Donate\PayPal.php line 30.

Test it and let me know. I can add an option for it in admin options.

Great! now it works fine. Thank you.
Note: When deleting some donation the Progress Bar stay in the same amount.
 
Top