vinhcd / aws-sns
A Magento2 module for pushing message to AWS SNS
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- aws/aws-sdk-php: ~3.147.0
- vinhcd/core: ~1.0
README
AWS SNS pushing service for magento2
Copyright
This project is copyright by VinhCD Co,Ltd. (owned by hungnt)
Contact
User Guide
- Installation
-
It requires AWS PHP SDK to push message into SNS Service:
composer require aws/aws-sdk-php
-
Simply put all files in app/code/ and run setup:upgrade to install it
- Configuration
-
Go to Admin → Stores → Configuration → VinhCD → AWS Configuration
-
Put your AWS Access / Secret key in General. (It’s highly recommend that you put your keys in env file by setting command: config:set vinhcd_aws/general/access_key your_key & config:set vinhcd_aws/general/secret your_secret). Then choose your default region.
-
Choose an event type and topic ARN to push into. Currently it just supports one event type: After Placing Order. There will be more events in future release.
-
Configure max number message send per queue and number of days old it will not be send.
- How it works
-
It works by pushing message asynchronously so it will not affect customer experience when buying your products.
-
The message will be pushed by cronjob belongs to Index group. By default it will run per minute to check and push message if available. You can change cron period for that group in Admin panel.