Skip to main content

entirius-django-checkout-import-from-magento-api

Imports order statuses from a Magento 2 instance back into django_checkout via the Magento REST API. Only orders whose Magento status is ON_HOLD, CANCELED or COMPLETE are updated. Part of the Volkanos e-commerce module family.

Installation

pip install entirius-django-checkout-import-from-magento-api

Configuration

MAGENTO2_URL_FOR_CHECKOUT_EXPORT = "https://your-magento-host/rest/"
MAGENTO2_TOKEN_FOR_CHECKOUT_EXPORT = "<api-token>"

Development

make install   # uv sync (incl. extras)
make test      # run tests
make check     # ruff lint + format-check

Process Logging

Commands can save logs into process.log. Add the following to the host service settings.py (assuming a process handler with a JSON formatter is already configured):

LOGGING["loggers"]["django_checkout_import_from_magento_api"] = {
    "handlers": ["process"],
    "level": "DEBUG",
    "propagate": False,
}

Commands

See docs/commands/ for the management command reference.

License

MPL-2.0

Metadata

Release files for entirius-django-checkout-import-from-magento-api 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entirius-django-checkout-import-from-magento-api 2.0.0
File Size Uploaded
entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz 146.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for entirius-django-checkout-import-from-magento-api 2.0.0
File Interpreter ABI Platform
entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 165.8 kB

Release files / entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz

Download URL entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz
Size 146.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d43b8409f95ff7e0eecbf3a68b6ef966bd1fadaf39c3a3e57a9baf17d4a50920
BLAKE2b-256 checksum
How to use checksums
91506f17057d0897df93f5372e39eb7d0fe080a00d4c55b7afee0ac2ca7f9fe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl

Download URL entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7e3232977dca5205c177bdb4fc7a8634b8680b6d0ef7c2afb8a1946c47b2401
BLAKE2b-256 checksum
How to use checksums
31c6473f9af84e7d8e5c9f4d63bd58225687f8116c103872d3ef0b455234122a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page