Giter Site home page Giter Site logo

wikimedia / wikimedia-fundraising-smashpig Goto Github PK

View Code? Open in Web Editor NEW
3.0 12.0 3.0 2.52 MB

Github mirror of "wikimedia/fundraising/SmashPig" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

PHP 99.34% Python 0.49% JavaScript 0.08% HTML 0.08%

wikimedia-fundraising-smashpig's Introduction

SmashPig payments library

This project uses Composer [https://getcomposer.org] to manage dependencies.
Upon first install and any upgrade please run composer install.

SmashPig uses two types of configuration files.

Global configuration files define settings shared across all payment providers,
including database and queue settings. Default global configuration values are
located in config/main.yaml. These are overridden by values in
/etc/smashpig/main.yaml, then by values in ~/.smashpig/main.yaml.

Provider configurations files contain settings which may differ between payment
providers, such as account credentials and HTTP request settings. Defaults are
in config/provider-defaults.yaml. They are overridden in a similar cascade by
the same file in /etc/smashpig and ~/.smashpig, then overridden by settings in
subdirectories named for the relevant payment processor. So for example, to
enable debug logging only for paypal, you would add the 'logging:' top-level
key to /etc/smashpig/paypal/main.yaml, then 'log-level: 7' nested under that.

If you need to deploy provider configuration files in a separate directory from
the global /etc/smashpig/main.yaml, set the provider-configuration-directory
key in that global configuration file to point to your alternate directory.

Command-line maintenance scripts have some common options:
    --help
    --memory-limit overrides the limit specified in php.ini
    --config-path specifies a top-priority override configuration file path
    --config-node specifies which processor-specific configuration to use

-- 3rd Party Licences --
The favicon is licenced under CC Attribution. http://creativecommons.org/licenses/by/3.0/legalcode
It was obtained from http://www.iconspedia.com/icon/piggy-bank-icon-37074.html and then modified to fit the favicon
format. The original author was DesignContest, http://www.designcontest.com/.

wikimedia-fundraising-smashpig's People

Contributors

andrewgreen avatar caseydentinger avatar damilare1 avatar eileenmcnaughton avatar ejegg avatar fanwenjun avatar hashar avatar jackgleeson avatar mattofak avatar mepps avatar wikimediawfan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.