• Resolved caroltsai

    (@caroltsai)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @caroltsai,

    Thank you for your message! I think this can be view from other perspective which can make things easier for you! ?? You can use our Digital/Downloadable products which allow you to sell digital goods to your customers (like a course!), and the orders will mark as completed right away.

    Alternatively, you could also consider using a full LMS (Learning Management System) here if you want to have more control of how your courses work. We develop one named Sensei LMS (here‘s a quick guide to it with lots of resources, including video resources and courses!). Of course you can also explore many other alternatives if you’d prefer.

    I hope this helps!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? ,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    All the best,
    Omar

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add action (function) after checkout’ is closed to new replies.