• Younes

    (@younescheikh)


    Hi,

    I’m having issues displaying the license keys section’s content, I started debugging to see what wrong with this view.

    I ended up in the controller function getAllCustomerLicenseKeys($userId) which has the main query returns nothing.

    In fact, the query is filtering the meta data by key = 'lmfwc_order_complete' while this key doesn’t exist in my database. I did a selection on all the metadata rows having key like lmfwc and got the following list:

    lmfwc_licensed_product
    lmfwc_licensed_product_delivered_quantity
    lmfwc_licensed_product_use_stock
    lmfwc_licensed_product_assigned_generator
    lmfwc_licensed_product_use_generator

    Is there something wrong with missing key? why it doesn’t exist in database, knowing that I have orders with license keys assigned.

    Is it something related to Manual Generation of License Keys? I’m generating manually the license keys (from offline software) instead of Auto Generation.

    Thanks in advance for your support.

    • This topic was modified 3 years, 1 month ago by Younes. Reason: Added Manual Generation info
Viewing 1 replies (of 1 total)
  • Thread Starter Younes

    (@younescheikh)

    I think ended by find why the license keys are not displayed in the section License Keys on “My Account” page.

    The function update_post_meta($orderId, 'lmfwc_order_complete', 1) is called only when generating automatically the license key, or when license key is imported (from file of clipboard).

    When fulfilling the form manually with a license key, the meta key 'lmfwc_order_complete' is not inserted because the function above is not called.

    I’ll use the import from Clipboard meanwhile.
    Hopefully this will be fixed soon.

Viewing 1 replies (of 1 total)
  • The topic ‘No row with key lmfwc_order_complete’ is closed to new replies.