Title: Code did not generate automatically. No code.
Last modified: November 22, 2016

---

# Code did not generate automatically. No code.

 *  [rachel](https://wordpress.org/support/users/alamodest/)
 * (@alamodest)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-did-not-generate-automatically-no-code/)
 * First order went through fine and the code was generated
    Second order goes through
   as well but with NO code. What happened?

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-did-not-generate-automatically-no-code/#post-8502565)
 * Hi,
    please pay attention that the gift card code is generated and sent to the
   customer only after the order status is set as completed.

Viewing 1 replies (of 1 total)

The topic ‘Code did not generate automatically. No code.’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-gift-cards/assets/icon-256x256.gif?rev=
   3227932)
 * [YITH WooCommerce Gift Cards](https://wordpress.org/plugins/yith-woocommerce-gift-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-gift-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/code-did-not-generate-automatically-no-code/#post-8502565)
 * Status: not resolved