chameleon-system/idealo-checkout-bundle

Connects the idealo checkout via REST with the Chameleon Shop

7.1.5 2023-06-14 14:05 UTC

README

Imports orders created via idealo into Chameleon and exports order status changes back to idealo.

Configuration

You can use app/console config:dump-reference chameleon_system_idealo_checkout to view the configuration for the bundle.

Order Import

The order import will send the order notification email that is sent whenever a user creates an order. For this to work, the script that creates the order needs to be called from the correct domain via the frontend. The url of this script is /api/idealo-checkout/import-orders. The script is protected via HTTP basic authentication with the user/password defined via chameleon_system_idealo_checkout.import_url_user and chameleon_system_idealo_checkout.import_url_password. If you fail to set either chameleon_system_idealo_checkout.import_url_user or chameleon_system_idealo_checkout.import_url_password, calling the page will result in an exception.

To run the import, you will need to call the frontend script via a regular system cron job:

https://MYUSER:MYPASSWORD@www.my-site.com/api/idealo-checkout/import-orders

Logging

The bundle logs to the channel "idealo_checkout".