WooCommerce is one of the popular WordPress plugin and is widely used as a eCommerce platform.
To start with, once you have setup WooCommerce plugin in your WordPress admin side, go to settings and Webhoocks section as below:
Topic field contains list of actions, which triggers the Delivery URL. You need to create each Webhook per Topic. There are predefined list of Topics in the list.
Delivery URL field should have Full URL of APEX REST Webservice.
Configure your REST web service as below in APEX:
Following is the sample source code of REST Web service to read the data from Order JSON sent by WooCommorce:
DECLARE
V_BODY BLOB;
V_BODY_C varchar2(32000);
BEGIN
V_BODY := :body;
V_BODY_C := UTL_RAW.CAST_TO_VARCHAR2(V_BODY);
INSERT INTO ORDER_JSON(CLOB_INFO) VALUES(V_BODY_C);
COMMIT;
END;
Hope this helps.
Jaydip Bosamiya
jbosamiya@gmail.com
4 Comments
woocommerce quickbooks integration
Looking for woocommerce Rest API Integration for your online store? Hire our developers & programmers for your custom API and extensions … +91-9806724185 or Contact@expresstechsoftwares.com
Intelicle is offering custom ecommerce solutions to help you to reach maximum number of online customers. We take pride in providing secure and trustworthy ecommerce solutions.
custom ecommerce solutions
Bespoke ecommerce solutions
Woocommerce extension plugins provide the best features to keep your store competing on many different levels.