Skip to main content

A client to submit payment orders to the Sermepa service.

Project description

Sermepa client

CI Status PyPi Downloads Coverage Status

A python client library for sending payment orders to the Sermepa/RedSys payment service.

Installation

From pypi.org

pip install sermepa

From source:

pip install .

Running tests

$ ./setup.py test

If you want to test your own keys create file config.py with:

# This one should be your private one
redsys = dict(
   merchantcode = '123456789',
   merchantkey = 'blablablablablablablablablabla',
)

# This is a common one but you can have your own test key
redsystest = dict( # Clave para tests
   merchantcode = '999008881',
   merchantkey = 'sq7HjrUOBfKmC576ILgskD5srU870gJ7',
)

Changelog

CHANGES.md

TODO

  • Accept all new parameters in specification
  • Recover pypi project
  • Review error handling
  • Production api test should depend on the concrete key

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sermepa-1.1.2.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

sermepa-1.1.2-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page