-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6e04f7
commit 5b99d44
Showing
10 changed files
with
40 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
### Picqer Extended Integration for Magento 2 | ||
---- | ||
|
||
|
||
# Picqer Extended Integration for Magento 2 | ||
Magento 2 Extensions for Picqer. | ||
|
||
|
||
---- | ||
### Installation: | ||
|
||
|
||
## Installation: | ||
This project can easily be installed through Composer. | ||
|
||
`composer require picqer/magento2-plugin` | ||
|
||
### Activate module | ||
|
||
## Activate module | ||
1. Log onto your Magento 2 admin account and navigate to Stores > Configuration > Picqer > Webhooks | ||
2. Fill out the general configuration information: | ||
+ Active: Yes | ||
+ Picqer Subdomain: is the prefix of your domain name. If you log on to 'my-shop.picqer.com', then fill in 'my-shop'. | ||
+ Connection Key: can be found in Picqer > Settings > Webshops > Magento shop. Copy and paste in this field. | ||
+ Picqer Domain: is the prefix of your domain name. If you log on to 'test.picqer.com', then fill in 'test'. | ||
|
||
Orders will now be pushed to Picqer immediately. | ||
|
||
Orders updates will now be pushed to Picqer immediately. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,26 +7,23 @@ | |
"picqer", | ||
"magento2" | ||
], | ||
"homepage": "https://github.com/picqer/magento2-plugin", | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=5.6.0" | ||
"php": ">=5.6.0", | ||
"ext-curl": "*", | ||
"ext-json": "*" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/picqer/magento2-plugin" | ||
} | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Casper Bakker", | ||
"name": "Anna van Brecht", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"autoload": { | ||
"files": ["registration.php"], | ||
"psr-4": { | ||
"Picqer\\Webhooks\\" : "" | ||
"Picqer\\Magento2\\" : "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<config> | ||
<default> | ||
<picqer_webhook_options> | ||
<general_settings> | ||
</general_settings> | ||
</picqer_webhook_options> | ||
<picqer_integration_options> | ||
<webhook_settings /> | ||
</picqer_integration_options> | ||
</default> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> | ||
<event name="sales_order_save_after"> | ||
<observer name="picqer_webhooks_sales_order_save_after" instance="Picqer\Webhooks\Observer\SendWebhook" /> | ||
<observer name="picqer_webhooks_sales_order_save_after" instance="Picqer\Magento2\Observer\SendWebhook" /> | ||
</event> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters