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.2.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sermepa-1.2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file sermepa-1.2.0.tar.gz.

File metadata

  • Download URL: sermepa-1.2.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for sermepa-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e106fafa119d3972a8ce4e985f8cf81ffd00689a67f036a9769b6ce7526f13b9
MD5 9dbf8077fae4a2d7ecad9b8ab2f01335
BLAKE2b-256 5b96c3f07ee1ecbad8325471868e0e2e35145b400aca1af6a59e6d02db2eb6f6

See more details on using hashes here.

File details

Details for the file sermepa-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sermepa-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for sermepa-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3a8fdefa788decd0ea92420a53c92e74d808f3b11a32d8f947255eb8697a624
MD5 032f95d1ad1c31d07abc165a3351a836
BLAKE2b-256 b2eaf2b1b193ee4d0b9b0d55663ec944210656dbd20309e14ca2630292de3e22

See more details on using hashes here.

Supported by

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