No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 91.9%
  • HTML 6%
  • Dockerfile 1%
  • JavaScript 0.7%
  • CSS 0.4%
Find a file
Chris Pressland d0efc26da1 Merge branch 'tcain-develop-patch-63389' into 'develop'
Update CODEOWNERS

See merge request Olympus/selene!37
2021-07-21 12:35:18 +00:00
app Merge branch 'fix/invalid-value-error-handling' into 'develop' 2019-02-21 14:49:12 +00:00
docker_root removed used file 2018-11-05 11:11:04 +00:00
environment Add env 2017-11-30 09:16:19 +00:00
.coveragerc refactor create_app and add resource testfor wipe folder 2017-12-21 11:59:38 +00:00
.gitignore Update .gitignore and add fixtures. 2018-10-11 12:01:01 +01:00
.gitlab-ci.yml Upgrade to Python 3.8, Add Aqua testing, switch to Ubuntu 2021-03-02 19:32:01 +00:00
CODEOWNERS Update CODEOWNERS 2021-07-21 12:09:24 +00:00
Dockerfile Upgrade to Python 3.8, Add Aqua testing, switch to Ubuntu 2021-03-02 19:32:01 +00:00
manage.py WIP: converted app to a webapp from an api with file upload and validation. Also added function to save files to Azure blob storage. 2018-09-19 15:04:12 +01:00
Pipfile Fix vulns 2021-03-02 19:45:42 +00:00
Pipfile.lock Fix vulns 2021-03-02 19:45:42 +00:00
README.md Update README 2018-10-09 12:26:02 +01:00
settings.py remove pontus code 2019-01-11 15:44:51 +00:00
setup.py move version into version.py 2018-06-29 11:09:17 +00:00
tox.ini fix flake8 problems 2017-12-13 09:17:33 +00:00
wsgi.py add gitlab ci and docker 2017-12-13 09:08:58 +00:00

Selene

A webapp to upload MID files for processing and generating files for merchant on-boarding.

MIDs Onboarding

The uploaded file is processed, generating files to be sent to each payment card provider (Visa, Amex, MasterCard) in their expected format.

Two files are generated for each provider after processing, one to send to the provider, and a cassandra input file for importing the data into our cassandra database.

The produced files are stored in Azure Blob Storage stored in a folder identified by the timestamp of when they were uploaded in their respective provider folders e.g merchants/amex/081018_043947721

The input file must be a csv format. Formatting details can be found on Bookstack.

MasterCard handback files

For on-boarding merchants with MasterCard, they provide us with a pipe delimited csv file of MIDs. The Selene project can also process these files to generate a cassandra input file. Formatting of this file can also be found on Bookstack.

Not Implemented

The latest version of the app does not yet implement all features of the previous API version. The following features are not currently included:

  • Option to ignore postcode validation (regex check).
  • Automatically send export file via sftp for amex and send emails to visa and master card.
  • Process cassandra input files to import data into cassandra.

Code for these features can be found in the previous version and may be helpful if the requirements to implement any arise in the future.