mollie / mollie-api-python

Mollie API client for Python
http://www.mollie.com
BSD 2-Clause "Simplified" License
113 stars 55 forks source link

Regular expressions might not match API object identifiers #330

Closed whyscream closed 10 months ago

whyscream commented 1 year ago

Related to: https://github.com/mollie/magento2/issues/669

In the linked issue, order identifiers (ord_* ) with a 'new' syntax turned up in production environments, while code was not ready to handle them.

Some parts of the Python client use regular expressions to extract object identifiers (customer and settlement IDs) from URLs, these regular expressions have the same issue as the Magento module. The problem is not that big, since:

whyscream commented 10 months ago

Closing this, we refactored all regular expressions that would break the new forma, for all Mollie object identifiers.

whyscream commented 10 months ago

Resolved in https://github.com/mollie/mollie-api-python/releases/tag/3.6.0