suineg
Active member
This was post fix like I stated.If your IPN wasn't working, as you outlined, then refunds would not be working either.
This was post fix like I stated.If your IPN wasn't working, as you outlined, then refunds would not be working either.
Server error log
LogicException: Instances of XF\Db\AbstractAdapter cannot be serialized or unserialized src/XF/Db/AbstractAdapter.php:559
Generated by: Unknown account Aug 12, 2018 at 1:17 PM
Stack trace
#0 [internal function]: XF\Db\AbstractAdapter->__sleep()
#1 src/XF/Mvc/Entity/ValueFormatter.php(67): serialize(Array)
#2 src/XF/Mvc/Entity/Manager.php(721): XF\Mvc\Entity\ValueFormatter->encodeValueForSource(65544, Array)
#3 src/XF/Mvc/Entity/Entity.php(1382): XF\Mvc\Entity\Manager->encodeValueForSource(65544, Array)
#4 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#5 src/XF/Repository/UserAlert.php(116): XF\Mvc\Entity\Entity->save()
#6 src/XF/Repository/UserAlert.php(87): XF\Repository\UserAlert->insertAlert(1, 0, '', 'user', 1, 'thdonate', Array)
#7 src/addons/ThemeHouse/Donate/Repository/Donation.php(73): XF\Repository\UserAlert->alert(Object(xenMade\STNS\XF\Entity\User), 0, '', 'user', 1, 'thdonate', Array)
#8 src/addons/ThemeHouse/Donate/Repository/Donation.php(45): ThemeHouse\Donate\Repository\Donation->sendDonationAlert(Object(xenMade\STNS\XF\Entity\User), 10, NULL)
#9 src/addons/ThemeHouse/Donate/Purchasable/Campaign.php(211): ThemeHouse\Donate\Repository\Donation->sendDonationAlerts(10, NULL)
#10 src/XF/Payment/AbstractProvider.php(164): ThemeHouse\Donate\Purchasable\Campaign->completePurchase(Object(XF\Payment\CallbackState))
#11 payment_callback.php(62): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#12 {main}
Request state
array(4) {
["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
["referrer"] => bool(false)
["_GET"] => array(1) {
["_xfProvider"] => string(6) "paypal"
}
["_POST"] => array(33) {
Removed payment data.
}
}
I still don't get this, and I have to rebuild the donation cache every time to get the donations to show up only on the widget. Are you SURE this is working, because it makes no sense that everything else on the website would update, but not this widget.
Mine works fine. Latest XF2, latest add-on version - I suspect you may have a caching issue vs the widget not working.
Widgets options are changed in widget settings.
Are all 4 x payments in the same campaign?
Can anyone confirm if this is an option please?Is there an importer included for the Dragonbyte XF2 Donation mod?
This is strange. I've been through most of this thread looking for people who are linking their website with this add-on installed. Most people are not using the Top Donors widget, so I couldn't check if it was working for them. However I did find one website with this widget, https://www.cozworld.com/donate/ by @CoZmicShReddeR. And his too has not updated properly:
Total donations by CoZmicShReddeR = $231.80 (4 x $57.95)
Top donors widget, CoZmicShReddeR = $115.90
View attachment 181420
So clearly he has the same problem as me. Every other part of the system is calculating the totals correctly, I can see the payment in my XenForo payment provider logs, it is only this widget that doesn't update whether through a member donation or a backend donation.
The only way to get it to update is to manually rebuild the user donation caches.
Thanks - I hope this helps get to the bottom of the issue.
ANOTHER QUESTION
In the TopDonors.php widget, there is a default option for the number of donors to be listed, set to 5 ('limit' => 5). Where can we change this in the options to increase the number? If I manually edit this file it will show the number I wish, but obviously I don't want to be manually editing files every time.
@Redh You are correct but I think the issue @Anthony Parsons is missing is all my donations were added manually by moderator so the math is wrong it must be for just the manually added donations!
I believe we already offer this within the sidebar widgets, here is a screenshot of it. Just navigate to Appearance -> Widgets -> Select [TH] Donate: Campaign from the drop-down > Fill in all the required information -> Select a campaign - > Click save!Just a feature suggestion for future release:
Consider adding in perhaps a countdown timer (months, days, week, hours, etc.) as a ticked option for donation campaigns? Might be of interest - especially if it could nicely format to the sidebar views as it could create a sense of urgency.
I believe we already offer this within the sidebar widgets, here is a screenshot of it. Just navigate to Appearance -> Widgets -> Select [TH] Donate: Campaign from the drop-down > Fill in all the required information -> Select a campaign - > Click save!
I am experiencing the same thing on our beta forum so yes the countdown doesn't work when campaigns are recurring. You'd only be able to use the countdown when doing campaigns that are set manually.See I have that setup on my site ....changed it to say "Help with our server costs" because the campaign names don't show on the widget but even with all the information filled out on this bi-monthly re-occurring donation drive it doesn't show the countdown...is that because its re-occurring versus one time? I am Chernabog on your site, if you want to grab our URL and take a peek @Dalton Prock
I am experiencing the same thing on our beta forum so yes the countdown doesn't work when campaigns are recurring. You'd only be able to use the countdown when doing campaigns that are set manually.
I'll note it down before adding it as a feature suggestion in our issue tracker!Awesome thank you! Maybe that can be a future update.
Any news ?
Thank you very much
We use essential cookies to make this site work, and optional cookies to enhance your experience.