- storage format of empty taxation messages
- circular import issues
- add proxy and timeout settings
- add type annotations
- migrate SOAP client from instrumented-soap to zeep
- deps: update dependency django to ^4.2.18
- deps: update dependency django to ^4.2.17
- deps: update dependency django-oscar to v3.2.5
- pin django-oscar version due to breaking changes in patch versions
- deps: update dependency django to ^4.2.16
- deps: update dependency instrumented-soap to ^2.1.2
- deps: update dependency django to ^4.2.15
- deps: update dependency django to ^4.2.14
- deps: update dependency django to ^4.2.13
- deps: update dependency django-oscar to v3.2.4
- deps: update dependency django to v4.2.13
- Add support for django-oscar 3.2.2
- Add support for django 4.2
- Oscar 3.1 Compatibility
- Oscar 3.0 Compatibility
- Add support for calculating taxes on shipping charges.
- Handle case when CCH returns an error code during order placement.
- Remove StatsD counters and timers.
- Add ability to pass in a
pybreaker.CircuitBreaker
instance into theCCHTaxCalculator
constructor. This allows implementing the CircuitBreaker pattern, thus enabling better handling of CCH web service outages. See thepybreaker <https://github.com/danielfm/pybreaker>
_ documentation for implementation details.
- Add support for django-oscar 2.x.
- Drop support for django-oscar 1.x.
- Internationalization
- Fix a few more Django 2.0 deprecation warnings that were missed in
2.2.7
.
- Fix Django 2.0 Deprecation warnings.
- Add support for Oscar 1.5 and Django 1.11.
- Detect 9-digit ZIP codes in shipping a warehouse addresses and, instead of truncating the last 4 digits, send them in the
Plus4
field of the SOAP request.
- [Important] Fix bug causing order lines to get deleted is the corresponding basket or basket line is deleted.
- Handle bug occurring when a basket contained a zero-quantity line item.
- Upgrade dependencies.
- Simplified retry logic and fixed infinite loop issue.
- Improved documentation.
- Added ability to retry CCH transactions when requests raises a ConnectionError, ConnectTimeout, or ReadTimeout.
- Added new setting,
CCH_MAX_RETRIES
, to control how many retries to attempt after an initial failure. Defaults to 2.
- Added new setting,
- Remove caching functionality from CCHTaxCalculator.estimate_taxes since miss rate was almost 100%.
- Fix bug in tax calculation causing taxes to be calculated based on pre-discounted prices instead of post-discounted prices.
- Add optional basket line quantity override by checking for property
BasketLine.cch_quantity
. Falls back to standard quantity if property doesn't exist.
- Renamed package to
oscarcch
for consistency. Setdb_table
option on models to prevent requiring table rename. - Move tests inside
oscarcch
package.
- Fix bug where calculator could throw exception even when
ignore_cch_error
flag was set.
- Add the ability to set CCH product SKU, item, and group per-product in addition to globally.
- Add
CCH_TIME_ZONE
setting. - Send time zone aware ISO format date as CalculateRequest InvoiceDate node. Formerly just sent the date.
- Truncate ZIP coes so that CCH doesn't choke when the user supplies a full 9-digit ZIP code.
- Improve unit tests by mocking all requests and responses. This allows running tests without a connection to an actual CCH server instance.
- Fixed bug where floats from SOAP response weren't properly converted into quantized decimals when saving
OrderTaxation
andLineTaxation
models.
- Made
instrumented-soap
dependency optional. - Moved gitlab testing from the shell executor to the docker executor.
- Added better usage documentation.
- Fixed an exception when
raven
isn't installed.
- Initial release.