A python client library for sending payment orders to the Sermepa/RedSys payment service.
From pypi.org
pip install sermepa
From source:
pip install .
$ ./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',
)
- Accept all new parameters in specification
- Recover pypi project
- Review error handling
- Production api test should depend on the concrete key