• Hi there,

    The shop I work for has WooCommerce installed, together with WCFM Marketplace and Mollie for payment handling.

    After a client bought something — using iDeal — in the shop, sometimes the order is not being processed correctly. The two things missing in these orders (in the database) are the values ‘_vendor_id’ and ‘_wcfmmp_order_item_processed’.

    And because the ordered products are not linked to a Vendor’s ID, the vendor doesn’t get an e-mail saying he/she should send out the goods.

    In WooCommerce > Orders I can see two messages one minute apart:
    Mollie – iDEAL payment started (ord_7zo1go).
    and
    Mollie – iDEAL payment started (ord_p6q3qc).
    These are from a real order that went wrong this way.

    Did anyone else ever had this problem?
    I hope anyone can help us out.

    • This topic was modified 4 years, 1 month ago by sidodekker.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated during order processing?

    Thread Starter sidodekker

    (@sidodekker)

    This is the log for that order:

    2020-10-11T20:11:21+00:00 DEBUG mollie_wc_gateway_ideal: Start process_payment for order 8678
    2020-10-11T20:11:22+00:00 DEBUG getUserMollieCustomerId: Mollie Customer ID (cst_abtPT7sCKk) found and valid for user 400 on this API key. (live).
    2020-10-11T20:11:22+00:00 DEBUG mollie_wc_gateway_ideal: Create Mollie payment object for order 8678
    2020-10-11T20:11:22+00:00 DEBUG mollie_wc_gateway_ideal : Order 8678 returnUrl: https://etenvandelelystadseboer.nl/wc-api/mollie_return?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
    2020-10-11T20:11:22+00:00 DEBUG mollie_wc_gateway_ideal : Order 8678 webhookUrl: https://etenvandelelystadseboer.nl/wc-api/mollie_wc_gateway_ideal?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
    2020-10-11T20:11:22+00:00 DEBUG Creating payment object: type Order, first try creating a Mollie Order.
    2020-10-11T20:11:22+00:00 DEBUG Array
    (
        [amount] => Array
            (
                [currency] => EUR
                [value] => 45.01
            )
    
        [redirectUrl] => https://etenvandelelystadseboer.nl/wc-api/mollie_return?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
        [webhookUrl] => https://etenvandelelystadseboer.nl/wc-api/mollie_wc_gateway_ideal?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
        [method] => ideal
        [payment] => Array
            (
                [issuer] => ideal_ABNANL2A
                [customerId] => cst_abtPT7sCKk
            )
    
        [locale] => nl_NL
        [metadata] => Array
            (
                [order_id] => 8678
                [order_number] => 8678
            )
    
        [orderNumber] => 8678
    )
    
    2020-10-11T20:11:22+00:00 DEBUG setUserMollieCustomerId: Stored Mollie customer ID cst_abtPT7sCKk with user 400
    2020-10-11T20:11:22+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment object ord_7zo1go (live) created for order 8678
    2020-10-11T20:11:22+00:00 DEBUG For order 8678 redirect user to Mollie Checkout URL: https://www.mollie.com/payscreen/order/checkout/7zo1go
    2020-10-11T20:12:21+00:00 DEBUG mollie_wc_gateway_ideal: Start process_payment for order 8678
    2020-10-11T20:12:21+00:00 DEBUG getUserMollieCustomerId: Mollie Customer ID (cst_abtPT7sCKk) found and valid for user 400 on this API key. (live).
    2020-10-11T20:12:21+00:00 DEBUG mollie_wc_gateway_ideal: Create Mollie payment object for order 8678
    2020-10-11T20:12:21+00:00 DEBUG mollie_wc_gateway_ideal : Order 8678 returnUrl: https://etenvandelelystadseboer.nl/wc-api/mollie_return?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
    2020-10-11T20:12:21+00:00 DEBUG mollie_wc_gateway_ideal : Order 8678 webhookUrl: https://etenvandelelystadseboer.nl/wc-api/mollie_wc_gateway_ideal?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
    2020-10-11T20:12:21+00:00 DEBUG Creating payment object: type Order, first try creating a Mollie Order.
    2020-10-11T20:12:21+00:00 DEBUG Array
    (
        [amount] => Array
            (
                [currency] => EUR
                [value] => 45.01
            )
    
        [redirectUrl] => https://etenvandelelystadseboer.nl/wc-api/mollie_return?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
        [webhookUrl] => https://etenvandelelystadseboer.nl/wc-api/mollie_wc_gateway_ideal?order_id=8678&key=wc_order_aF9mxRVFQ7gfY
        [method] => ideal
        [payment] => Array
            (
                [issuer] => ideal_ABNANL2A
                [customerId] => cst_abtPT7sCKk
            )
    
        [locale] => nl_NL
        [metadata] => Array
            (
                [order_id] => 8678
                [order_number] => 8678
            )
    
        [orderNumber] => 8678
    )
    
    2020-10-11T20:12:21+00:00 DEBUG setUserMollieCustomerId: Stored Mollie customer ID cst_abtPT7sCKk with user 400
    2020-10-11T20:12:21+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment object ord_p6q3qc (live) created for order 8678
    2020-10-11T20:12:21+00:00 DEBUG For order 8678 redirect user to Mollie Checkout URL: https://www.mollie.com/payscreen/order/checkout/p6q3qc
    2020-10-11T20:12:51+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment object ord_p6q3qc (live) webhook call for order 8678.
    2020-10-11T20:12:51+00:00 DEBUG Mollie_WC_Gateway_Abstract::orderNeedsPayment mollie_wc_gateway_ideal: Order 8678 orderNeedsPayment check: yes, order not previously processed by Mollie gateway.
    2020-10-11T20:12:51+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid called for order 8678
    2020-10-11T20:12:55+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid WooCommerce payment_complete() processed and returned to Mollie_WC_Payment_Order::onWebhookPaid for order 8678
    2020-10-11T20:12:55+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid processing paid order via Mollie plugin fully completed for order 8678
    2020-10-11T20:12:55+00:00 DEBUG Mollie_WC_Payment_Order::onWebhookPaid updated payment with webhook and metadata 
    2020-10-11T20:12:56+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 8678: Determine what the redirect URL in WooCommerce should be.
    2020-10-11T20:12:56+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_ideal, order 8678: https://etenvandelelystadseboer.nl/checkout/order-received/8678/?key=wc_order_aF9mxRVFQ7gfY&utm_nooverride=1
    Thread Starter sidodekker

    (@sidodekker)

    I don’t know. Is there an error? I’m a front-end developer. Please let me know what you think could be the problem.

    I have exactly the same problem, in some orders the meta_data attribute of the products which contains the key vendor_id is null. I notice this happens when in the order there is a variable product, this product contains information regarding the variation in the meta_data attribute but skips the vendor_id key and the other simple products also doesn’t have it. It could be something else, I am not sure. This key and its value is capital to process the data of my WooCommerce site.

    Happening same error. this happens only when user do following process,
    1. come to checkout & clcik to payment gateway with any method.
    2. once the payment gateway opens user go back to checkout page
    3. then again go to payment method & finish payment.
    & this ERROR happens result of that.

    solved it using add_filter( 'wcfm_is_allow_repair_order_item', '__return_true' );

    • This reply was modified 3 years, 3 months ago by broinfo101.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘_vendor_id and _wcfmmp_order_item_processed missing in order’ is closed to new replies.