First of all we install the 2 php files in the main folder of eshop.Skroutz

https://github.com/sbzsystems/emdi-eshop-bridges-connectors/blob/gh-pages/emdi_skroutz_webhook.php
https://github.com/sbzsystems/emdi-eshop-bridges-connectors/blob/gh-pages/emdi_skroutz_bridge.php

Copy the apikey to configure the above scripts from the skroutz control panel. We also specify the script address in skroutz in the Webhook URL field.

For example:

https://www.mysite.com/emdi_skroutz_webhook.php

information: https://merchants.skroutz.gr/merchants/support/guidelines/skroutz_cart_integration

 

We create 2 tables in the database:

After we create the database and check that the bridge works, we have to create in the hosting control panel, a cron that runs every hour and calls the script:

We do this to keep orders over 24 hours updated for any cancellations and changes that skroutz may not send via webhook.

Finally we set in the EMDI settings, eshop connection with the corresponding urls, as we do with all bridges.

https://www.sbzsystems.com/el/programmata-efarmoges/emdi-emporiki-diaxeirisi/ypostirixi-emdi-commercial-management/rythmiseis/gefyres-eshop/