Git Product home page Git Product logo

pay-frontend's Introduction

pay-frontend

GOV.UK Pay Frontend application (Node.js)

Key environment variables

variable required default value Description
PORT X 9200 The port number for the express server to be bound at runtime
SESSION_ENCRYPTION_KEY X key to be used by the cookie encryption algorithm. Should be a large unguessable string (More Info).
CONNECTOR_TOKEN_URL X The connector endpoint to use when validating the one time token.
ANALYTICS_TRACKING_ID X Tracking ID to be used by 'Google-Analytics'.
SECURE_COOKIE_OFF false/undefined To switch off generating secure cookies. Set this to true only if you are running self service in a non HTTPS environment.
NODE_WORKER_COUNT 1 The number of worker threads started by node cluster when run in production mode
WORLDPAY_3DS_FLEX_DDC_TEST_URL X https://secure-test.worldpay.com/shopper/3ds/ddc.html URL for Device Data Collection (DDC) initiation in TEST
WORLDPAY_3DS_FLEX_DDC_LIVE_URL X URL for Device Data Collection (DDC) initiation in LIVE
WORLDPAY_3DS_FLEX_CHALLENGE_TEST_URL X https://secure-test.worldpay.com/shopper/3ds/challenge.html Pointing to Worldpay's TEST 3ds flex challenge URL.
WORLDPAY_3DS_FLEX_CHALLENGE_LIVE_URL X https://centinelapi.cardinalcommerce.com/V2/Cruise/StepUp Pointing to Worldpay's LIVE 3ds flex challenge URL.
CSP_SEND_HEADER false/undefined Apply card payment contest security policy headers.
CSP_ENFORCE false/undefined Browser will block content security policy violations if set to true, default is to only report on violations.
CSP_REPORT_URI URI to receive CSP violation reports.
GOOGLE_PAY_MERCHANT_ID Merchant ID used to identify GOV.UK Pay to Google when making a payment request. This ID is got from the Google Pay Developer Profile.
GOOGLE_PAY_MERCHANT_ID_2 The same as GOOGLE_PAY_MERCHANT_ID, but used to rotate to a new merchant id in a safe way.

Licence

MIT License

Responsible Disclosure

GOV.UK Pay aims to stay secure for everyone. If you are a security researcher and have discovered a security vulnerability in this code, we appreciate your help in disclosing it to us in a responsible manner. We will give appropriate credit to those reporting confirmed issues. Please e-mail [email protected] with details of any issue you find, we aim to reply quickly.

pay-frontend's People

Contributors

acceleanu avatar alexbishop1 avatar brid avatar ckalista avatar danailminchev avatar danworth avatar dependabot-preview[bot] avatar dependabot-support avatar heathd avatar ijmad avatar imranbohoran avatar iqbalgds avatar jonheslop avatar kakumara avatar kbottla avatar maxcbc avatar mcgoooo avatar narinderchana avatar nimalank7 avatar oswaldquek avatar pauloportugal avatar rahul-vinayak avatar rauligs avatar rhowe-gds avatar sandorarpa avatar sfount avatar siliconmeeple avatar simad avatar stephencdaly avatar zadsas 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.