• Resolved kristinubute

    (@kristinubute)


    Hi

    I’m wondering HOW to set an Order to COMPLETE automatically when payment received from paypal ?

    The system always knows when a payment is received it changes to the status to “PROCESSING” anyway.

    I have a client site, where I need orders to be AUTO changed from “PROCESSING” to “COMPLETED” automatically when payment from paypal is received.

    I assume this can be achieved but NOT sure how to.
    Or is another plugin required for this ?

    How can I achieve this ?

    Thanks in advance

    Regards
    kristin

    Then

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @kristinubute,

    I understand that you want to auto-complete the orders for which you have received the payment, and right now, these are being set to the ‘processing’ status.

    This is the expected behavior and has nothing to do with the payment gateway. This is how order management works in WooCommerce. Upon receiving the payment, orders are set to the ‘processing’ status.

    This is useful, as the Store admin now knows that the payment has been received and the order requires processing. So, after shipping the product, the store admin can change the order status to ‘completed’.

    You can read more about ‘Order Statuses’ here: https://woocommerce.com/document/managing-orders/#order-statuses

    Do note that all product orders require ‘processing’, except those that only contain products that are both ‘Virtual and Downloadable’. This is because downloads are automatically made available to the clients right after they make the payment. There is no need for the store owner to specifically ship downloadable products.

    If you want to auto-complete your orders, you can mark your product(s) as virtual/downloadable (if you don’t have a downloadable product(s), there is no need to specify a download file).
    Reference: https://d.pr/i/irX4uD

    But, note that virtual products cannot have shipping data like weight, dimensions, and shipping class associated with them.
    Reference: https://d.pr/i/l4XYcK

    But, if you don’t want to set your products as ‘virtual/downloadable’ products; you can use the WooCommerce Order Status Control extension that allows you to auto-complete all orders whether virtual or not.

    WooCommerce has a 30-day refund policy. If the product doesn’t work the way you need it or you think another product would work better, you can cancel the subscription and get a full refund. You can read more about our refund policy on our website here: https://woocommerce.com/refund-policy/

    If you have questions, let us know.

    Best!

    Thread Starter kristinubute

    (@kristinubute)

    Thank you for your reply.

    My client is only selling courses ONLINE so we just need the requirement when payment received at checkout, that the status goes to COMPLETED, then the Customer can be redirected to the Course. This is what we are trying to achieve.

    Status has to go to COMPLETED in order for Course to be available to Customer.

    We are using LearnDash also with Woocommerce

    Thanks
    Kristin

    Hi Kristin,

    As mentioned previously, feel free to use this extension to auto complete the orders:
    WooCommerce Order Status Control.

    There is an alternative workaround using custom code, to automatically auto complete orders, you can refer to the article below to get more information (Custom code will need to be added in your functions.php file, or you can include it using a plugin, for example Code Snippets).

    https://docs.woocommerce.com/document/automatically-complete-orders/

    I hope this points you in the right direction.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to set an Order to COMPLETE automatically when payment received’ is closed to new replies.