Skip to content

EstudioNexos/python-redsys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

==========
redsys-256
==========

This package generate the form parameters for Redsys payment request:
- Ds_MerchantParameters
- Ds_Signature
- Ds_SignatureVersion

The new protocol uses HMAC SHA256 for sign the parameters and JSON format b64 encoded parameters.

This package defines tow Python classes:
- Commerce
- Transaction

The first one allows to define the merchant and the second defines a transaction.

The Commerce class is used to sign the parameters of the transaction created through Transaction class with the function
generate_form_parameters(). This function returns al the required form parameters listed above.

Thanks
------
Thanks to the Python redsys package creators. I use this package to understand the Redsys protocol.

About

Módulo Python para cifrado SHA256

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%