parcellab/module-webhook

Magento 2 parcelLab Webhook Extension


Keywords
team-architecture
License
MIT

Documentation

parcelLab Magento 2 Webhook Extension

Please note: This extension is a fork of the excellent Magento 2 Webhook by Mageplaza published under MIT license on Github (see fork source). This fork simply eases to simplify setup for integration with parcelLab by providing appropriate defaults.

🚨 Compatibility notice:

For Magento < 2.6 use plugin version 2.4.21

For Magento >= 2.6 use plugin version 2.4.23 or later

Install & Setup Guide

Important: If you have Mageplaza Webhook already installed, DO NOT INSTALL this extension and follow our setup guide instead: Setup Guide with Mageplaza Webhook

Run the following command in Magento 2 root folder:

composer require parcellab/magento-2-webhook
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

After successful installation and deploy log in to your Admin Backend of Magento.

Navigate to System > parcelLab Webhook > Configuration:

image

Open the section General:

image

In this screen, you will have to enter your parcelLab API credentials. Generate a new parcelLab API Token with write access in the parcelLab Portal and enter this token together with your parcelLab User ID:

image

The extension might be disabled by default system setting. Make sure, setting Enable is set to Yes. You might have to remove the flag to use the system setting 1️⃣ and then switch the setting 2️⃣.

image

This is the correct setting:

image

Navigate to System > parcelLab Webhook > Manage Events:

image

You'll find the 2 required events already preconfigured:

image

If you have entered your parcelLab credentials earlier, you are okay to activate the events:

image

🎉 Your integration is done! 🎉

image

FAQs:

Q: Can I add more events?

A: Due to the tailored use of this extension, the number of events is limited. For more flexible webhooks please use the fork source Magento 2 Webhook by Mageplaza.

Q: Error Mageplaza_Core has been already defined

A: Find the solution here

Q: My site is down, what should I do?

A: Please follow this guide: https://www.mageplaza.com/blog/magento-site-down.html

Q: Where do I find transfer logs?

Navigate to System > parcelLab Webhook > Transfer Logs:

image

You'll find a list of recent transfers and can view details like so:

image

Please share both the Response as well as the Request Body when requesting support:

image

Q: I am unsure whether I have "Magento 2 Webhook" by Mageplaza installed, how can I check?

Run php bin/magento module:status and check whether Mageplaza_Webhook is listed. If it is, please don't install this extension but rather follow our Setup Guide with Mageplaza Webhook.

Q: I already have "Magento 2 Webhook" by Mageplaza installed, how can I integrate with parcelLab?

The easiest way is to follow our setup guide for this extension, which will take you less than 15 minutes to complete:

Setup Guide with Mageplaza Webhook

Credit

This extension is a fork of the excellent Magento 2 Webhook by Mageplaza published under MIT license on Github (see fork source).

It also uses mageplaza/module-core and liquid/liquid