Skip to content

Merge fork changes through 2023#20

Draft
systemallica wants to merge 59 commits into
ddiazpinto:masterfrom
systemallica:prepare-upstream-pr-2023
Draft

Merge fork changes through 2023#20
systemallica wants to merge 59 commits into
ddiazpinto:masterfrom
systemallica:prepare-upstream-pr-2023

Conversation

@systemallica

Copy link
Copy Markdown

Context

This PR is the first step toward reuniting systemallica/python-redsys with the original ddiazpinto/python-redsys repository.

It contains only the changes that had accumulated in the fork up to October 2023. The more recent updates made in 2026 are intentionally excluded so this historical set can be reviewed and merged independently. Once this PR is merged, we can evaluate how to bring selected configuration changes forward and integrate the newer work in a separate follow-up PR.

Included changes

  • Replaces the abandoned pycrypto package with pycryptodome.
  • Migrates the project to Poetry and adds development tooling such as pre-commit, Black, isort, and pyupgrade.
  • Refactors and adds tests for request and response handling.
  • Exposes additional response parameters, including Ds_Amount_Euro and unlisted merchant parameters.
  • Adds support for BIZUM payments.
  • Allows order IDs with up to 12 characters.
  • Updates CI, release configuration, dependencies, documentation, changelog, and package metadata through version 1.2.0.

Scope

The branch is based on the current ddiazpinto/python-redsys master branch and ends at the last fork commit from October 2023. It deliberately excludes the 2026 migration to uv, newer dependency and pre-commit updates, the manual release workflow, and the Makefile removal.

Validation

  • uv run pytest
  • 13 tests passed.

systemallica and others added 29 commits June 25, 2026 13:59
Automatically generated by python-semantic-release
Response class __init__() has been modified so that the `Response` can be instantiated even if the payload of the webhook notification includes parameters not listed in the `MERCHANT_PARAMETERS_MAP`
Automatically generated by python-semantic-release
For this new change you have to configure two variables in the Request class

DS_MERCHANT_PAYMETHODS
DS_MERCHANT_BIZUM_MOBILENUMBER
Automatically generated by python-semantic-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants