Title: Update confirmation_email method
Last modified: April 28, 2020

---

# Update confirmation_email method

 *  [bayuidham](https://wordpress.org/support/users/bayuidham/)
 * (@bayuidham)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/update-confirmation_email-method/)
 * Hello
 * First of all, thank you so much for this plugin. I find it very useful. However,
   there is several issue with this plugin. Mostly when doing checkout. As far as
   i can check, you guys hooked to the ‘woocommerce_checkout_update_order_meta’ 
   action for generating email and also invoice URL via confirmation_email method.
   But looks like you guys write incorrect method to call WooCommerce order object.
   For example, instead using $order->get_id() you guys using $order->id. And it’s
   throwing some notice [http://prntscr.com/s7fb2f](http://prntscr.com/s7fb2f) .
   So for next update, please fix this issue. Thank you in advance.

The topic ‘Update confirmation_email method’ is closed to new replies.

 * ![](https://ps.w.org/woo-xendit-virtual-accounts/assets/icon-256x256.png?rev=
   1923672)
 * [Xendit Payment](https://wordpress.org/plugins/woo-xendit-virtual-accounts/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-xendit-virtual-accounts/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-xendit-virtual-accounts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-xendit-virtual-accounts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-xendit-virtual-accounts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bayuidham](https://wordpress.org/support/users/bayuidham/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/update-confirmation_email-method/)
 * Status: not resolved