Puppet Class: payments::donation_interface

Defined in:
puppet/modules/payments/manifests/donation_interface.pp

Overview

Class: payments::donation_interface

Configure the DonationInterface extension



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'puppet/modules/payments/manifests/donation_interface.pp', line 4

class payments::donation_interface {

  mediawiki::extension { 'payments:DonationInterface':
    settings     => {
      wgGlobalCollectGatewayEnabled                    => true,
      wgIngenicoGatewayEnabled                         => true,
      wgAdyenGatewayEnabled                            => true,
      wgAmazonGatewayEnabled                           => true,
      wgAstroPayGatewayEnabled                         => true,
      wgPaypalGatewayEnabled                           => true,
      wgPaypalExpressGatewayEnabled                    => true,
      wgDonationInterfaceEnableFormChooser             => true,
      wgDonationInterfaceEnableBannerHistoryLog        => true,
      wgDonationInterfaceEnableQueue                   => true,
      wgDonationInterfaceEnableSystemStatus            => true,
      wgDonationInterfaceEnableFunctionsFilter         => true,
      wgDonationInterfaceEnableMinfraud                => false,
      wgDonationInterfaceEnableReferrerFilter          => true,
      wgDonationInterfaceEnableSourceFilter            => true,
      wgDonationInterfaceRapidFail                     => true,

      wgDonationInterfaceTest                          => true,

      wgAdyenGatewayAccountInfo                        => {
        'test' => {
          'AccountName'  => 'test',
          'SkinCode'     => 'test',
          'SharedSecret' => 'test',
          'PublicKey'    => 'test',
        },
      },
      wgDonationInterfaceAdyenPublicKey                => '10001|9C916360EC9BD4530A9BCF8367069EDD88E48E0569310B8653452723372B1635035E3DE63D1EF882D17918E0E6EA73D8248815C2D95E8D2EAE6F65A0D8359E903AB84024A3230F6A05797C9116FA0264FCD00E5ED3A2BC0FA897E74DAA4496337318507659EF5D03974D92204C9464C197B1E11FA7814442751EA069EFC2E470A9E82A8E621D899A02C4173B4019F74F16A59B22336421639BAC1513644EEE47298CCBAA681C1E8F0B00B0BC18638BA7FEA22FC394972ACE4BD7038E866CF3FFBF20FB860669137083EE73DD53DE5934ADC6378B9',

      wgGlobalCollectGatewayAccountInfo                => {
        'test' => {
          'MerchantID' => 'test'
        }
      },

      wgPaypalGatewayURL                               => 'https://www.sandbox.paypal.com/cgi-bin/webscr',

      wgDonationInterfaceMemcacheHost                  => 'localhost',

      wgDonationInterfaceUseSyslog                     => true,

      wgDonationInterfaceVariantConfigurationDirectory => '/vagrant/mediawiki-fr/extensions/DonationInterface/form_variants',
      wgIngenicoGatewayHostedFormVariants              => {
        'iframe'   => 102,
        'redirect' => 101,
      },

    },
    needs_update => true,
  }
}