Giter Site home page Giter Site logo

b-douglas / ordergroove-to-cybersource-payment-migration-python Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 44 KB

This repo is a collection of python scripts that can be used to migrate existing Order Groove subscriptions to use CyberSource payment tokens. For old OrderGroove customers, payments are stored as encrypted AES in the database system. Migrating the credit card numbers ensures a higher security level by only keeping the CyberSource Payment Tokens.

License: MIT License

Python 100.00%
cybersource-payment-api cybersource payment credit-card migration-tool ordergroove visa

ordergroove-to-cybersource-payment-migration-python's Introduction

OrderGroove Credit Card Migration to Cybersource Token

Overview

This repo is a collection of python scripts that can be used to migrate existing Order Groove subscriptions to use CyberSource payment tokens. For old OrderGroove customers, payments are stored as encrypted AES in the database system. Migrating the credit card numbers ensures a higher security level by only keeping the CyberSource Payment Tokens.

Scripts

These are the main scripts.

  • src/decodeOrderGroove.py The script was created to decrypt credit card info from OrderGroove and then make the file to be sent to CyberSource for processing
  • src/encodeOrderGroove.py The script was created to encode the CyberSource output file to be processed by OrderGrove file format.
  • src/config.ini.template A sample config.ini file that contains the options needed for each python script. ALL python scripts use the same .ini file for all.

Miscellaneous Scripts

Here are some additional scripts I had to write to diagnose the issues I had with the process.

  • misc/decodeOrderGroove-stripOutOld.py The script is similar to the decrypt credit card; however, it adds a dictionary to strip out existing or duplicate records.
  • misc/extractIdsNoCreditCards.py The script is similar to the decodeOrderGrove, except it does not decrypt the credit card numbers. I needed that to get a list of subscription ids.

Combine Scripts

For another site, I already had the Cybersource Token, so this python just combines what I get from Order Groove.

Documentation

Please read the attached tech-spec to get more details on the design.

ordergroove-to-cybersource-payment-migration-python's People

Contributors

b-douglas avatar

Stargazers

 avatar

Watchers

 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.