Extension talk:DonationInterface

About this board

Unable to configue the donation pages.

1
Skp098 (talkcontribs)

I am running a wiki and I want to implement fundraising for my wiki project.

To start with it, I found this as ideal extension for fundraising. I have used the following configurations but I'm unable to view the donation page. I have used the following steps that have been mentioned in the Git Repo of the extension.

Here is the content for my LocalSettings.php



// Initializing the extension

wfLoadExtension( "DonationInterface" );

// Enabling Payment Gateways

$wgDonationInterfaceAmazonGatewayEnabled = true;

$wgDonationInterfaceAstroPayGatewayEnabled = true;

$wgDonationInterfaceGlobalCollectGatewayEnabled = true;

$wgPaypalExpressGatewayEnabled = false;

// Test mode flag, alters various behavior

$wgDonationInterfaceTest = true;

//choose gateway

$wgDonationInterfaceEnableGatewayChooser = true;

//definining the salt

$wgDonationInterfaceSalt = $wgSecretKey;

/**

* 3D Secure enabled currencies (and countries) for Credit Card.

* An array in the form of currency => array of countries

* (all-caps ISO 3166-1 alpha-2), or an empty array for all transactions in that

* currency regardless of country of origin.

* As this is a mandatory check for all INR transactions, that rule made it into

* the default.

*/

$wgDonationInterface3DSRules = [

'INR' => [], //all countries

];

$language = "en";

$wgDonationInterfaceDefaultAppeal = 'some-name';

$wgDonationInterfaceAppealWikiTemplate = 'LanguageSwitch|2011FR/$appeal/text|$language';

$wgDonationInterfaceCancelPage = 'Donate-error';

# Example PayPal Express Checkout account:

#

$wgPaypalExpressGatewayAccountInfo['test'] = [

'User' => 'pay-pal-email',

'Password' => 'the-password',

// Use either certificate (preferred) OR signature authentication:

'Signature' => 'the-signature',

// 'CertificatePath' => '/absolute path to cert_key_pem.txt',

// TODO: Use parameter substitution.

'RedirectURL' => 'the-redirect-url',

];

$wgPaypalGatewayAccountInfo = array(

'default' => array(

'AccountEmail' => 'pay-pal-email,

),

);

//donation debuging

$wgDonationInterfaceDisplayDebug = true;

$wgIngenicoGatewayUseSyslog = true;

$wgGlobalCollectGatewayMerchantID = "";

$wgDonationInterfaceAllowedHtmlForms = [];

$wgGlobalCollectGatewayAllowedHtmlForms = [];



After that, I'm using {{{ appeal_text }}} on a page to load the appeal text to appear but it seems nothing is happening. It prints the same text rather than parsing it.

I know the variable $wgDonationInterfaceAppealWikiTemplate has something to do with the template to render the view screen of donation. But not sure how the extension uses it.

Please let me know what exactly I'm missing here.

Reply to "Unable to configue the donation pages."

donation to Wikipedia send check to where?

2
Summary by Pcoombe (WMF)

answered

71.175.67.86 (talkcontribs)

where do I send check to donate to Wikipedia mel.perrine @

Pcoombe (WMF) (talkcontribs)
Davidsmeltzer07 (talkcontribs)

How can I get this extension setup?

Reply to "Hello"
Urhixidur (talkcontribs)

Translating the strings has been harrowing. Why are the base strings for country and province names not on translatewiki.net?

Davidsmeltzer07 (talkcontribs)

I seriously need help in installing this DonationInterface extension. I can't seem to get it work.

This is the process I took:

I downloaded this extension, added 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', ), );


I need help please installing this plugin

Reply to "Confusing translation"
Clarkcj12 (talkcontribs)

Can it be possible to add in support for bitcoin or anyother cryptocurrency donations?

Adamw (talkcontribs)
Clarkcj12 (talkcontribs)

Not quite what I meant. I meant that could the extension add support for Bitcoin? I would like to use it on my Wiki but would like to have donationgateway/interface with this that allows giving in BitCoin.

Adamw (talkcontribs)

Are you using DonationInterface on your wiki currently? Please do let us know if that's the case, it would mean a lot to the Fundraising Test tech team to get in touch.

Meanwhile, you should be able to do a donation integration using an URL or small HTML snippet on your wiki, I'd recommend that approach.

Clarkcj12 (talkcontribs)

Hi @Adamw, I am not currently. But plan on doing it shortly actually about to install it today. I have been reading over it. Sure, since I do plan on installing it I wouldn't mind working with you or your Fundraising Test Tech Team. I am a small wiki so it probably wouldn't help much. But any way I can help let me know.

EEggleston (WMF) (talkcontribs)

Hi @Clarkcj12! While we on the Fundraising Tech team are thrilled to have interest in our work from outside the foundation, I'd have to second Adamw's warning above.

The extension is pretty tailored to our needs, and might be over-complex for a simpler use case:

- International fundraising (many countries / currencies / languages)

- A non-wiki backend database to store the actual contribution records (we use CiviCRM with various drupal modules developed in-house)

- Bursts of donation traffic too intense to record in real-time (the DonationInterface front-end sends donations to a queue rather than recording directly to CiviCRM)

- Tracking sources of contributions to analyze effectiveness of our banners: The ContributionTracking table has columns for a lot of utm_ variables that get passed along on the querystring

- PCI SAQ-A compliance. This is the easiest of the PCI levels to acquire, but it is necessary to use any of the credit card processors supported by DonationInterface.

- Deduplication of settings across a variety of web apps. This is a work in progress, but it means that some of the configuration now lives in yaml files in a https://github.com/wikimedia/wikimedia-fundraising-SmashPig configuration directory.

- Redundancy. In case we somehow don't record a donation from the front-end, we listen for instant payment notifications from most of our processors. And in case both of those fail, the CiviCRM modules include jobs to parse nightly audit files and reconcile them with what's in the Civi databse.

If you're still interested, here are some instructions for setting up the whole environment: Fundraising Tech/Donation Pipeline Setup

Reply to "Bitcoin"

Can this be used by a 3rd party?

1
FreedomFighterSparrow (talkcontribs)

That is, can the code be adapted easily or is it tied tightly to Wikimedia's infrastructure? Thanks!

Reply to "Can this be used by a 3rd party?"
There are no older topics