Notes:
Document Plugin is modelled after:
eKomi Official Shopify Plugin for NetComm
Summary:
A plugin that will install itself and have basic config settings.
Plugin purpose will be to launch widgets on.
The plugin captures NetcommId and eKomi Shop details.
Segments:
Shopify install → This is broken down into a number of steps:
DB configuration - new table / entity.
Shopify App Admin config → add apps nav uri’s.
Main Dev steps:
Request from shopify to the app with the hmac and shop.
The app recodes and removes the hmac value, sends authorization request with shop api key or client id and with the redirect url. Then it redirects with callback.Request from shopify with callback while process is still actually in the install method.
app parses request in callback action method, creates a request to shopify to get the access token.
Then the app registers the un-install webhook.Then upon success the app should return the application settings form.
This is where the NetcommId and eKomi details are captured.
Form then validates & saves.Check from start to finish. Shopify has a list of app requirements.
Refactor to include omission of Customer & Store Redaction and privileges for shopify are not needed.
Update to something more like this but include Jira outlines:
https://chatgpt.com/share/5e3dd58f-c441-4606-9683-9b304f7a8034
Add Comment