Add action (function) after checkout
-
Hi,
I’m quite new to woocommerce, and right now I’m working on a site. My site is selling a virtual item (like a course). As what I tested from my system, I know that after customer placed an order, it will goes to checkout page, and upon placing the order, the system will automatically goes to payment page (from the payment gateway). Once payment completed, woocommerce admin site will show an new order and the status of the order is called processing.
Right now, I want to create a function to make some automatically emailing the course module (for instance: a link) to the billing address once payment is completed. Upon emailing sents out, the system should automatically change the status of the order to completed.
May I know what hooks I can use?
- The topic ‘Add action (function) after checkout’ is closed to new replies.