Topic on Project:Support desk

I need help - DonationInterface extension

17
Davidsmeltzer07 (talkcontribs)

I need help with DonationInterface extension. I'm stuck and can't get it work

Ammarpad (talkcontribs)

If you need help, you have to be more specific on what exactly does not work. See Manual:How to debug

Davidsmeltzer07 (talkcontribs)

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?

Davidsmeltzer07 (talkcontribs)

I'm still waiting for your reply please

Ciencia Al Poder (talkcontribs)

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)

Davidsmeltzer07 (talkcontribs)

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

Davidsmeltzer07 (talkcontribs)

Can you please go through the extension documentation, and help me with what and what to do, please?

MarkAHershberger (talkcontribs)

What do you mean it is not working? Can you link us to your site so we can see what the problem is?

Davidsmeltzer07 (talkcontribs)

https://wikimass.org

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

Ciencia Al Poder (talkcontribs)

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

Davidsmeltzer07 (talkcontribs)

Could it be as a result of using shared hosting instead of VPS? Just thinking...

Davidsmeltzer07 (talkcontribs)

[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:

  1. 0 /home/wikiwoed/public_html/extensions/DonationInterface/DonationInterface.class.php(34): require_once()
  2. 1 /home/wikiwoed/public_html/includes/registration/ExtensionRegistry.php(541): DonationInterface::registerExtension(Array)
  3. 2 /home/wikiwoed/public_html/includes/registration/ExtensionRegistry.php(232): ExtensionRegistry->exportExtractedData(Array)
  4. 3 /home/wikiwoed/public_html/includes/Setup.php(161): ExtensionRegistry->loadFromQueue()
  5. 4 /home/wikiwoed/public_html/includes/WebStart.php(89): require_once('/home/wikiwoed/...')
  6. 5 /home/wikiwoed/public_html/index.php(44): require('/home/wikiwoed/...')
  7. 6 {main}
 thrown in /home/wikiwoed/public_html/extensions/DonationInterface/DonationInterfaceFormSettings.php on line 857
Davidsmeltzer07 (talkcontribs)

And this is what i have in line 857 in DonationInterfaceFormSettins.php

'payment_status' => [ FinalStatus::CANCELLED ],

MarkAHershberger (talkcontribs)

It looks like auto-loading is not working since this code is not being loaded.

Davidsmeltzer07 (talkcontribs)

Thanks, seems I will leave the extension for now. If there is any alternative of DonationInterface extension for accepting donations, kindly suggest

Jonathan3 (talkcontribs)

You can put nearly anything in a wiki page using Extension:Widgets including a PayPal donation button, for instance.

Davidsmeltzer07 (talkcontribs)

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.

Reply to "I need help - DonationInterface extension"