Title: Orders not completed
Last modified: December 13, 2018

---

# Orders not completed

 *  Resolved [beanslel](https://wordpress.org/support/users/beanslel/)
 * (@beanslel)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/orders-not-completed/)
 * Currently testing integration with my store in test mode, orders are made and
   payment status is successfully transmitted to the mollie dashboard (I see the
   order status changing from order created, payment pending and paid in the mollie
   dashboard). However, when I complete the order in woocommerce, the “completed”
   status is not transmitted to mollie, it remains in Paid status in mollie, while
   it is completed in woocommerce. I don’t see any error in the logs, and everything
   else is working. There is also no entry in the log when I change the order status
   to completed. The last entry is the redirect after order payment. Any ideas?
 *     ```
       2018-12-13T21:01:17+00:00 DEBUG mollie_wc_gateway_ideal: Start process_payment for order 681
       2018-12-13T21:01:18+00:00 DEBUG getUserMollieCustomerId: Mollie Customer ID (cst_c2HPUtfr5e) found and valid for user 1 on this API key. (test).
       2018-12-13T21:01:18+00:00 DEBUG mollie_wc_gateway_ideal: Order 681 webhookUrl: https://www.annorlunda.be/wc-api/mollie_wc_gateway_ideal/?order_id=681&key=wc_order_5c12c89d6821b
       2018-12-13T21:01:18+00:00 DEBUG mollie_wc_gateway_ideal: Create Mollie payment object for order 681
       2018-12-13T21:01:18+00:00 DEBUG Creating payment object: type Order, first try creating a Mollie Order.
       2018-12-13T21:01:18+00:00 DEBUG setUserMollieCustomerId: Stored Mollie customer ID cst_c2HPUtfr5e with user 1
       2018-12-13T21:01:18+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment object ord_yjawwx (test) created for order 681
       2018-12-13T21:01:18+00:00 DEBUG For order 681 redirect user to Mollie Checkout URL: https://www.mollie.com/payscreen/order/checkout/yjawwx
       2018-12-13T21:02:00+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment object ord_yjawwx (test) webhook call for order 681.
       2018-12-13T21:02:00+00:00 DEBUG mollie_wc_gateway_ideal: Order 681 orderNeedsPayment check: yes, order not previously processed by Mollie gateway.
       2018-12-13T21:02:00+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid called for order 681
       2018-12-13T21:02:01+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid WooCommerce payment_complete() processed and returned to Mollie_WC_Payment_Order::onWebhookPaid for order 681
       2018-12-13T21:02:02+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid processing paid order via Mollie plugin fully completed for order 681
       2018-12-13T21:02:02+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 681: Determine what the redirect URL in WooCommerce should be.
       2018-12-13T21:02:02+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_ideal, order 681: https://www.annorlunda.be/checkout/order-received/681/?key=wc_order_5c12c89d6821b&utm_nooverride=1
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-10992170)
 * Hi,
 * thanks for reaching out. From the logs I am seeing that Mollie can reach the 
   site, and it does process the payment, but there is something else that is blocking
   the order status update.
 * This is the log message I am referring to:
    `2018-12-13T21:02:01+00:00 DEBUG 
   Mollie_WC_Payment_Order::onWebhookPaid WooCommerce payment_complete() processed
   and returned to Mollie_WC_Payment_Order::onWebhookPaid for order 681`
 * Is the status for order 681 not updated to Completed in WooCommerce?
 * Do you have another plugin installed that could be influencing the order status?
 * Kind regards
    David
 *  Thread Starter [beanslel](https://wordpress.org/support/users/beanslel/)
 * (@beanslel)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-10992810)
 * Hi,
 * When payment is completed, the order status is automatically changed from “pending”
   to “processing” in wc. This works fine. Then, when I ship the product I manually
   change it to “completed” in Woocommerce (I don’t handle my shipping through Mollie),
   shouldn’t it also change the order to completed in the Mollie dashboard when 
   I do that? It remains in the “paid” status in the Mollie dashboard. Or is that
   working as intended?
 * I don’t have any plugins that can interfere with order status. Btw I recently
   upgraded to WP Version 5.0.1, running the latest version of the plugin.
 * Edit: just noticed something else: when the order is in “processing” in wc and
   I ship the order from the Mollie dashboard, the order is indeed not changed to
   completed in wc. In the Mollie dashboard it even says the webhook was successfully
   called after shipment, but the order status stays on processing in wc. There 
   are these additional lines in the logs (tested it with a new order):
 *     ```
       2018-12-15T15:33:35+00:00 DEBUG mollie_wc_gateway_bancontact: Mollie payment object ord_jj5l4n (test) webhook call for order 691.
       2018-12-15T15:33:35+00:00 DEBUG Mollie_WC_Gateway_Abstract::handlePaidOrderWebhook - mollie_wc_gateway_bancontact: Order 691 does not need a payment by Mollie (payment ord_jj5l4n).
       2018-12-15T15:33:35+00:00 DEBUG Mollie_WC_Gateway_Abstract::processRefunds called for order 691 / payment ord_jj5l4n
       2018-12-15T15:33:35+00:00 DEBUG Mollie_WC_Gateway_Abstract::processRefunds: No refunds to process for order 691 / payment ord_jj5l4n
       2018-12-15T15:33:35+00:00 DEBUG Mollie_WC_Gateway_Abstract::processChargebacks called for order 691 / payment ord_jj5l4n
       2018-12-15T15:33:35+00:00 DEBUG Mollie_WC_Gateway_Abstract::processChargebacks: No chargebacks to process for order 691 / payment ord_jj5l4n
       ```
   
 * Kind regards
    -  This reply was modified 7 years, 5 months ago by [beanslel](https://wordpress.org/support/users/beanslel/).
    -  This reply was modified 7 years, 5 months ago by [beanslel](https://wordpress.org/support/users/beanslel/).
    -  This reply was modified 7 years, 5 months ago by [beanslel](https://wordpress.org/support/users/beanslel/).
    -  This reply was modified 7 years, 5 months ago by [beanslel](https://wordpress.org/support/users/beanslel/).
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-11002021)
 * Hi
 * Thank you for the information, I now have a clear picture of what I need to review.
   I’ll do that today or tomorrow and get back to you!
 * Kind regards
    David
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-11125439)
 * Sorry for the late reply, missed that I still needed to update you!
 * > Then, when I ship the product I manually change it to “completed” in Woocommerce(
   > I don’t handle my shipping through Mollie), shouldn’t it also change the order
   > to completed in the Mollie dashboard when I do that?
 * Yes, it should.
 * > It remains in the “paid” status in the Mollie dashboard. Or is that working
   > as intended?
 * Where are you looking, in Payments or Orders? There’s a big difference. Only 
   the order will be changed to completed in the Mollie dashboard, the payment will
   stay paid.
 * > when the order is in “processing” in wc and I ship the order from the Mollie
   > dashboard, the order is indeed not changed to completed in wc. In the Mollie
   > dashboard it even says the webhook was successfully called after shipment, 
   > but the order status stays on processing in wc.
 * Correct, there is no order status update in the current version of the plugin.
   Only an order note is added and some internal processing is done.
 * Updated this in 5.1 beta so it does set the entire order to completed, would 
   you like to test it? Then email me at [mollie@paytium.nl](https://wordpress.org/support/topic/orders-not-completed/mollie@paytium.nl?output_format=md).
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-11130346)
 * > when the order is in “processing” in wc and I ship the order from the Mollie
   > dashboard, the order is indeed not changed to completed in wc. In the Mollie
   > dashboard it even says the webhook was successfully called after shipment, 
   > but the order status stays on processing in wc.
 * Actually, I’m reconsidering this. Completed in WooCommerce doesn’t mean the same
   as completed in Mollie:
 * > When all order lines are completed or canceled, the order will be set to this
   > status.
 * See: [https://docs.mollie.com/orders/status-changes](https://docs.mollie.com/orders/status-changes)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Orders not completed’ is closed to new replies.

 * ![](https://ps.w.org/mollie-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3090580)
 * [Mollie Payments for WooCommerce](https://wordpress.org/plugins/mollie-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mollie-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/orders-not-completed/#post-11130346)
 * Status: resolved