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

Uploaded Source

Built Distribution

sermepa-1.1.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sermepa-1.1.3.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for sermepa-1.1.3.tar.gz
Algorithm Hash digest
SHA256 6acc018b139d034d86e4d7c5f8c941bd42125b4ce01e62c45ecd545d9ac6091c
MD5 5a8d1893aefa35541b5a87abd9952b5a
BLAKE2b-256 bb4c3cfd1a73a76e69357d358a3011c555aef3b7393c19ccd15a3d7ee7963eff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sermepa-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for sermepa-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b32d7357beddbfec7f339a3da31f79dc606fdf9b0579d7d1bc3a5e67a95e5860
MD5 e9f1f5a57b4a3ff785d1d55024096b04
BLAKE2b-256 17dffec779f2b60223860486f7118d4a21f979c8dc4fea6974aa1a6b142380f9

See more details on using hashes here.

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