[TH] Donate

[TH] Donate 1.1.8 Patch Level 1

No permission to download
IPN has been working for a long time now.
However, from time to time I receive the following email from Paypal:

Code:
Check your server that processes instant payment confirmations (IPN) from PayPal. IPNs sent to the following URL(s) are not being received:

https://www.my_forum.ch


If you do not know this URL, you may be using a service provider that uses IPN on your behalf. Please contact your service provider with the above information. If this problem persists, it may be that IPNs are disabled for your account.

Where/what settings need to be made?
I have a root server.
 
Do you use PayPal for anything else? It doesn't look like that's related to an XF payment because the URL would include payment_callback.php in it (unless you've redacted the whole URL instead of just the domain).

You can check the server error log to see if there's any issues, but otherwise the processing of payments is handled by core XF the same as it is for things like user upgrades. If there's no errors, it's possible the requests are being blocked by the server which you'd need to investigate, so check if there's anything in the Apache/Nginx error logs.
 
Ah, that's my private Paypal account.
I also use it for other purposes.
Is that the problem?
Then I can ignore this message?
 
You'll want to keep an eye on it because if too many IPNs fail then PayPal will disable it and then none will work. If it's only a handful that fail and the majority work it should be fine, but ideally you'll want to try and stop it sending for payments to a URL that isn't handled.
 
Is it possible for a user to have a recurring donation without having a goal or date limit on a campaign?
 
Is it possible for a user to have a recurring donation without having a goal or date limit on a campaign?
I don't believe this is supported, no.
I would like a feature added so you don't have to run a campaign and just have a donation without a goal or anything.
We don't have any plans to disassociate the donations from a campaign, but the goals are optional. The campaigns are simply the way the donations are listed, there has to be some way to display them. I'm not sure what the real world difference would be between having a single campaign with no goal, and having no campaign at all.
 
I want to remove this
1717078755584.webp
And this
1717078796626.webp

I want to remove accumulated donations from the public profile information.

It would be interesting to have an option where (with permissions) only the administrator - and the donor himself - could see the accumulated donations.

There is a Profile Tab option that is very interesting. But I would like only me (and an administrator with permission) and the member themselves to be able to see their own donations. Or even just me. Would it be possible to add these permission possibilities in the future? I would really appreciate it and I'm testing the addon now. I'm really enjoying it and I'm very happy to know that it will continue to be supported.
 
Very strange issue just randomly started occurring today.

The {campaign}/complete page began erroring this:

Code:
An exception occurred: [InvalidArgumentException] Class ThemeHouse/Donate/Campaign/Complete does not match formatter pattern %s\%s\View\%s in src\XF.php on line 1129

XF::stringToClass() in src/XF/App.php at line 1667
XF\App->XF\{closure}() in src/XF/Container.php at line 234
XF\Container->create() in src/XF/Container.php at line 247
XF\Container->XF\{closure}() in src/XF/Mvc/Renderer/AbstractRenderer.php at line 80
XF\Mvc\Renderer\AbstractRenderer->createViewObject() in src/XF/Mvc/Renderer/AbstractRenderer.php at line 87
XF\Mvc\Renderer\AbstractRenderer->renderViewObject() in src/XF/Mvc/Renderer/Html.php at line 47
XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 460
XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 442
XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 402
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 60
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2485
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20

The issue is solved by changing line 171 of controller/donate.php to:

PHP:
return $this->view('ThemeHouse\Donate:Campaign\Complete', 'thdonate_campaign_payment_complete');

But what's strange is that it just started today, I haven't updated anything - and the issue doesn't occur on my dev machine which has exactly the same config!

Edit: Ah wait, there hasn't been a donation since 2.2.16 PL 2 was released - so I guess that's what caused it.
 
Back
Top Bottom