Skip to main content

Import of order statuses from the Magento 2 API back into Volkanos checkout

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz
  • Upload date:
  • Size: 146.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for entirius_django_checkout_import_from_magento_api-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d43b8409f95ff7e0eecbf3a68b6ef966bd1fadaf39c3a3e57a9baf17d4a50920
MD5 4915545782a74e6a731854197d8b56c3
BLAKE2b-256 91506f17057d0897df93f5372e39eb7d0fe080a00d4c55b7afee0ac2ca7f9fe3

See more details on using hashes here.

File details

Details for the file entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for entirius_django_checkout_import_from_magento_api-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7e3232977dca5205c177bdb4fc7a8634b8680b6d0ef7c2afb8a1946c47b2401
MD5 de28a110f6e23fd36b308d4548f6eab6
BLAKE2b-256 31c6473f9af84e7d8e5c9f4d63bd58225687f8116c103872d3ef0b455234122a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page