<commit_before>sogenactif
==========

Provides support for the online payment solution provided by la Société Générale.

Please note that this library depends on two closed source binaries `request` and `response` (provided 
by the Sogenactif platform) located in the `lib/` directory. They handle certificates, signing operations 
and provide data in a proprietary format to a remote secure payment server...

For the moment, only binaries for linux/386 and linux/amd64 are available in this repository.

Installation
------------

Use the `sogen` tool to quickly test a configuration:

    go get github.com/matm/sogenactif/sogen
    
which has the following usage:

    Usage: ./sogen [options] settings.conf 

    Options:
      -p="6060": http server listening port
      -t=1: transaction amount
  
Running a demo
--------------

You can run a demo and test a fake transaction of 5 EUR with:

    ./sogen -t=5 conf/demo.cfg
    <commit_msg>README: add link to demo app on heroku<commit_after>sogenactif
==========

Provides support for the online payment solution provided by la Société Générale.

Please note that this library depends on two closed source binaries `request` and `response` (provided 
by the Sogenactif platform) located in the `lib/` directory. They handle certificates, signing operations 
and provide data in a proprietary format to a remote secure payment server...

For the moment, only binaries for linux/386 and linux/amd64 are available in this repository.

Installation
------------

Use the `sogen` tool to quickly test a configuration:

    go get github.com/matm/sogenactif/sogen
    
which has the following usage:

    Usage: ./sogen [options] settings.conf 

    Options:
      -p="6060": http server listening port
      -t=1: transaction amount
  
Running a demo
--------------

You can run a demo and test a fake transaction of 5 EUR with:

    ./sogen -t=5 conf/demo.cfg
    
An online demo is also deployed on Heroku at http://sogenactif.herokuapp.com/
    
{'fraction_non_alphanumeric': 0.0915, 'fraction_numerical': 0.012, 'mean_word_length': 3.1861924686192467, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7068434', 'n_tokens_mistral': 575, 'n_tokens_neox': 530, 'n_words': 257}