Send woocommerce order notification to Line notify API.
You can customize message pattern and notify to your chat room or your chat group in your pattern.
https://wordpress.org/plugins/woo-line-notify
- Add line token.
- Message pattern with order short code supported.
- Send notify to line group or user.
- Send notify when have order activity.
- Multi language support.
- API to send message with basic authen security for developer.
- Static method to send message for developer.
- Debug mode option.
- Dynamic fields to unlock your need.
- Dashboard widget.
- Can use without Woocommerce.
[order_status]
[order_id]
[order_time]
[order_total]
[order_payment]
[order_address]
[order_customer]
[order_phone]
[order_company]
[order_note]
[order_province]
[order_url]
[order_postcode]
[products] <-- List of product in order.
[shipping *]
[billing *]
[customer *]
[order *]
[meta *]
first_name [custoemr first_name]
last_name [custoemr last_name]
email [custoemr email]
phone [custoemr phone]
company [shipping company]
address_1 [shipping address_1]
address_2 [shipping address_2]
city [shipping city]
state [shipping state]
postcode [shipping postcode]
country [shipping country]
address_index [shipping address_index]
company [billing company]
address_1 [billing address_1]
address_2 [billing address_2]
city [billing city]
state [billing state]
postcode [billing postcode]
country [billing country]
email [billing email]
phone [billing phone]
address_index [billing address_index]
order_key [order order_key]
customer_user [order customer_user]
payment_method [order payment_method]
payment_method_title [order payment_method_title]
transaction_id [order transaction_id]
customer_ip_address [order customer_ip_address]
customer_user_agent [order customer_user_agent]
created_via [order created_via]
date_completed [order date_completed]
completed_date [order completed_date]
date_paid [order date_paid]
paid_date [order paid_date]
cart_hash [order cart_hash]
order_currency [order order_currency]
cart_discount [order cart_discount]
cart_discount_tax [order cart_discount_tax]
order_shipping [order order_shipping]
ordertax [order ordertax]
order_tax [order order_tax]
order_total [order order_total]
order_version [order order_version]
prices_include_tax [order prices_include_tax]
download_permissions_granted [order download_permissions_granted]
recorded_sales [order recorded_sales]
recorded_coupon_usage_counts [order recorded_coupon_usage_counts]
order_stock_reduced [order order_stock_reduced]
edit_lock [order edit_lock]
edit_last [order edit_last]
Just use [meta your_meta_name]
to take custom order meta by get_post_meta()
function.
To send message via static method just put your message to the method like below.
WooLineNotify::Send_Line_Notify( 'Some message to send' );
- URL:
domain/wp-json/woo-line-notify/v1/notify
- METHOD:
POST
- PARAMETERS:
message <Your message to send>
- Authentication:
Basic Authen
- USERNAME/PASSWORD:
<API Key>:<API_Key>
Send post request to http://localhost/wp-json/woo-line-notify/v1/notify
you must be send parameter message
by form/data and add Authenticate to header with value Basic base64_encode( some_api_key_from_api_option:some_api_key_from_api_option )
- Upload the entire wc_linenotify folder to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
To understand what we do with your data and compile with The EU General Data Protection Regulation (GDPR)This plugin is call to external service Line Messaging API it use to be send an order data such as
Order Id, Order customer name, Order Total, Order Product, Order timestamp, Order payment method
depend on your settings to your Line Messager account or Line group related with your Token ID.
We send a transaction to this domain https://notify-bot.line.me
Privacy Policy rules of Line Messaging https://terms.line.me/line_rules?lang=en
- Message pattern for selected status.
- Multiple token id support for message broadcast.
Thank you for your suggestion and support to the project. I very happy to help and give the thing I can do to the world. If you can help me to develop this plugin or join as a team members please follow below. I'll add your name to contributor members if you've joined.
- Fork this repo on development branch and sync to your local.
- run
php composer install
- Make change to the project.
- Push & commit update to your branch.
- Create pull request with update details to developer.
- Waiting for approved.
- Change admin ui
- Change class name duplicate.
- Multi language support.
- API
- Add postcode shortcode.
- Direct method
- Debug option.
- Dynamic fields
- Dashboard widget
- Can use without Woocommerce
- Email: [email protected]
- LineID: iamapinan
- Facebook: facebook.com/9apinan