• Resolved massi93

    (@massi93)


    Hi there,

    When I heard about your plugin I inmediately installed it because this is what I need.

    I set up everything, including the sync between licence keys and stock product. Then I added a licence key and I assigned it to a product. Also I enabled “Automatically send license keys when an order is set to ‘Complete'” option.

    I simulated an order of this product, and I changed manually the order to “Completed” to test, but the thing is the licence is not being sent.

    I went to the order details and Licence manager has assigned the licence key I previously added which is great but for some reason it has not been sent.

    I’m using “wp smtp mail” set with google api. All mails are beeing sent via smtp using this pluging. During the fake order, I received every mail including signup and receipt of the order so I’m guessing there must be someting else going on.

    I’m able to send the keys manually by going into the order details and selecting “send keys to customer” but its important to me to have them delivered automatically.

    Do you know how to fix it ? Thanks in advance

    • This topic was modified 4 years, 4 months ago by massi93.
    • This topic was modified 4 years, 4 months ago by massi93.
Viewing 1 replies (of 1 total)
  • Thread Starter massi93

    (@massi93)

    In case there is someone having the same issue here is the fix.

    Thing is, I use my oen child templates to send woocommerce mails, so what I did was edit the one I wanted the keys to be included in.

    What I added is `do_action(‘lmfwc_email_order_license_keys’, $order, $sent_to_admin, $plain_text, $email);’

    and this will print the table with the keys associated to the product/s of the order.

Viewing 1 replies (of 1 total)
  • The topic ‘Licence is not being delivered’ is closed to new replies.