Russian  English  All projects

Woocommerce email plugin development



Hi,


Im looking for a Woocomerce plugin developer who can develop a plugin to disable the existing default email sending mechanism and call a mail service POST API endpoint with the appropriate parameters. The Following emails are notifications to be handled:


New order

Processing order

Refunded order

Cancelled order

Completed order

New account

Order on-hold

Failed order

Customer note


Refer https://bit.ly/3837NFR (Compatible order variables) for variables (data) to be sent to the POST API endpoint.


Some additions which are to be included with the payload are:

a language locale has to be sent which is derived from Polylang app.

Type of notification (EMAIL_NEW_ORDER_CONFIRMATION, EMAIL_PROCESSING_ORDER, .....)


New API to send the transactional email would look like:


POST /email/SendTxEmail


{ "accountId": "", "guid": "", // to be auto generated "locale": "", "toEmail": "", "template": "EMAIL_NEW_ORDER_CONFIRMATION", // Based on the type of email "params": { "SHIPPING_FIRST_NAME": "", "SHIPPING_LAST_NAME": "", "ORDER_PRODUCTS": [] } }

Theres also an API key (x-api-key) which needs to be supported.



Dashboard:


The dashboard at a minimum should include options to:

Input the API key

The Input accountId

Option to enable/disable what transactional email need to be sent through this API.

A log of API requests made - should log the request made and the output received from the POST request for future debugging.

Woocommerce already supports re-sending emails. That functionality should work i.e., I could resend an order confirmation email for a particular order.


If things go well, I can provide additional work as well.


Reference:


Plugin would be similar to https://bit.ly/2Vh8OVD. This plugin hits the sendinblue server. Im not exactly sure of its logic though.


But, instead of the sendinblue server, I would like it to hit the API endpoint provided by me. The API payload it sends could be the same.


The backend dashboard would be similar to https://bit.ly/2Vh8OVD


26.06.2020 12:53



 Answers freelancers