Title: Fatal error get_payment_method() 4.1.3
Last modified: May 8, 2017

---

# Fatal error get_payment_method() 4.1.3

 *  Resolved [magnusm](https://wordpress.org/support/users/magnusm/)
 * (@magnusm)
 * [9 years ago](https://wordpress.org/support/topic/fatal-error-get_payment_method-4-1-3/)
 * Hi,
 * I got a fatal error on my site on the checkout page. Instead of choosing payment
   method I get the following:
 * “Fatal error: Call to a member function get_payment_method() on boolean in /home/
   jptrssia/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.
   php on line 707”
 * Would love some quick support on this since it’s impossible to do payments and
   I want the fix with pricing for composite products. Everything else is updated
   to latest versions, i.e. 3.0.5 of woocommerce and so on.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [George Botsev](https://wordpress.org/support/users/botzev/)
 * (@botzev)
 * [9 years ago](https://wordpress.org/support/topic/fatal-error-get_payment_method-4-1-3/#post-9113112)
 * Hello and thank you for contacting us.
    As a temporary fix until a new release
   of WooCommerce Multilingual is released, you can change the file: /wp-content/
   plugins/woocommerce-multilingual/inc/class-wcml-emails.php in the function: filter_payment_method_string()
   and replace:
 *     ```
         if( '_payment_method_title' === $meta_key ){
       ```
   
 * With this code:
 *     ```
        if( $object_id && 'shop_order' === get_post_type( $object_id ) && '_payment_method_title' === $meta_key ){
       ```
   
 * Please let me know if this works or not for you.
 *  [George Botsev](https://wordpress.org/support/users/botzev/)
 * (@botzev)
 * [9 years ago](https://wordpress.org/support/topic/fatal-error-get_payment_method-4-1-3/#post-9124003)
 * The error should be resolved in our latest release of WooCommerce Multilingual
   4.1.4
 *  Thread Starter [magnusm](https://wordpress.org/support/users/magnusm/)
 * (@magnusm)
 * [9 years ago](https://wordpress.org/support/topic/fatal-error-get_payment_method-4-1-3/#post-9138013)
 * Issue resolved, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error get_payment_method() 4.1.3’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-multilingual/assets/icon-256x256.png?rev=2937122)
 * [WPML Multilingual & Multicurrency for WooCommerce](https://wordpress.org/plugins/woocommerce-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-multilingual/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [magnusm](https://wordpress.org/support/users/magnusm/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/fatal-error-get_payment_method-4-1-3/#post-9138013)
 * Status: resolved