I need help with DonationInterface extension. I'm stuck and can't get it work
Topic on Project:Support desk
Appearance
If you need help, you have to be more specific on what exactly does not work. See Manual:How to debug
DonationInterface extension not showing up in Special:Version.
This is what I have tried so far:
I downloaded the extension, placed it in a folder in /extension/, added this wfLoadExtension( 'DonationInterface' ); in LocalSettings.php. Then added this also $wgPaypalGatewayEnabled = true;
$wgPaypalGatewayAccountInfo = array( 'default' => array( 'AccountEmail' => 'example@gmail.com', ), );
What else can I do please because it's not working yet?
I'm still waiting for your reply please
If it's not being displayed in Special:Version, the extension isn't installed nor enabled in LocalSettings.php. Be sure you edited the right LocalSettings.php file (on the right server, directory, etc)
I have installed more than 5 extensions with this process and they are all working.
I'm thinking I am not doing something right about DonationInterface
Can you please go through the extension documentation, and help me with what and what to do, please?
What do you mean it is not working? Can you link us to your site so we can see what the problem is?
And I am thinking if a page is needed to be created for the extension to output form. The documentation in the extension is not clear to me. I just need clear steps to follow to make it work
Looks like your php engine is crashing (probably a SEGFAULT). Look at the error logs of your web server and/or php and come with a meaningful error message
Could it be as a result of using shared hosting instead of VPS? Just thinking...
[07-Dec-2020 02:56:26 America/New_York] PHP Fatal error: Uncaught Error: Class 'SmashPig\PaymentData\FinalStatus' not found in /home/wikiwoed/public_html/extensions/DonationInterface/DonationInterfaceFormSettings.php:857 Stack trace:
- 0 /home/wikiwoed/public_html/extensions/DonationInterface/DonationInterface.class.php(34): require_once()
- 1 /home/wikiwoed/public_html/includes/registration/ExtensionRegistry.php(541): DonationInterface::registerExtension(Array)
- 2 /home/wikiwoed/public_html/includes/registration/ExtensionRegistry.php(232): ExtensionRegistry->exportExtractedData(Array)
- 3 /home/wikiwoed/public_html/includes/Setup.php(161): ExtensionRegistry->loadFromQueue()
- 4 /home/wikiwoed/public_html/includes/WebStart.php(89): require_once('/home/wikiwoed/...')
- 5 /home/wikiwoed/public_html/index.php(44): require('/home/wikiwoed/...')
- 6 {main}
thrown in /home/wikiwoed/public_html/extensions/DonationInterface/DonationInterfaceFormSettings.php on line 857
And this is what i have in line 857 in DonationInterfaceFormSettins.php
'payment_status' => [ FinalStatus::CANCELLED ],
It looks like auto-loading is not working since this code is not being loaded.
Thanks, seems I will leave the extension for now. If there is any alternative of DonationInterface extension for accepting donations, kindly suggest
You can put nearly anything in a wiki page using Extension:Widgets including a PayPal donation button, for instance.
Thanks everyone who helped 😊 I am currently customizing a donation Interface of my choice with WordPress. And I just added a donate button to the sidebar of both vector skin and mobilefrontend.