Skip to main content

Export of Volkanos checkout orders, payments and shipments to the Magento 2 API

Project description

entirius-django-checkout-export-to-magento-api

Exports django_checkout orders, payments (as invoices) and shipments to a Magento 2 instance via its REST API. Part of the Volkanos e-commerce module family.

Installation

pip install entirius-django-checkout-export-to-magento-api

Configuration

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

Optional mappings (see src/django_checkout_export_to_magento_api/settings.py for defaults): MAPPING_PAYMENT_METHODS, MAPPING_SHIPPING_METHODS, SEND_FIELD_EXTENSION_ATTRIBUTES, MAGENTO2_EXPORT_GROUND_DATETIME.

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_export_to_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_export_to_magento_api-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_django_checkout_export_to_magento_api-2.0.0.tar.gz
  • Upload date:
  • Size: 152.8 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_export_to_magento_api-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1ca29bedd3a271e28c59fd22a927da8da330f13a40c9e6310b727bd7399370c6
MD5 92f160dd918df9f4617a908c880e90df
BLAKE2b-256 ded0ac4cc432722fa972563919b15553dd052856930f375df8bd756c8d4ebfd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: entirius_django_checkout_export_to_magento_api-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.2 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_export_to_magento_api-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cbaddae40bba85da4bf521f8bf29afdd162bd3f92b993831a4bb2b8a48fa179
MD5 c85c9fc3268227ab9b2cab2bdb246ba1
BLAKE2b-256 20f75fcfb2b93f86d793f9992b7b281f7a756016a637a8ece0c41d92f74b5216

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