Title: Cannot process payment
Last modified: June 29, 2023

---

# Cannot process payment

 *  Resolved [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * (@geekcornerwporg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/)
 * Hello everyone.
 * I’m running into an issue where the orders aren’t getting sent to the gateway.
 * Here are the relevant logs:
 *     ```wp-block-code
       2023-06-29T15:02:18+00:00 CRITICAL Uncaught Error: Call to a member function getId() on null in /home/redacted/public_html/wp-content/plugins/zahls-ch-payment-gateway/woo-zahls-gateway.php:258Stack trace:
   
       0 /home/redacted/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): WC_Zahls_Gateway->process_payment()
   
       1 /home/redacted/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment()
   
       2 /home/redacted/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(507): WC_Checkout->process_checkout()
   
       3 /home/redacted/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout()
   
       4 /home/redacted/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
   
       5 /home/redacted/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       6 /home/redacted/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
   
       7 /home/redacted/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()
   
       8 /home/redacted/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
   
       9 /home/redacted/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       10 /home/redacted/public_html/wp-includes/template-loader.php(13): do_action()
   
       11 /home/redacted/public_html/wp-blog-header.php(19): require_once('/home/redacted/…')
   
       12 /home/redacted/public_html/index.php(17): require('/home/redacted/…')
   
       13 {main}
   
       thrown dans /home/redacted/public_html/wp-content/plugins/zahls-ch-payment-gateway/woo-zahls-gateway.php à la ligne 258
       ```
   
 * Can you help me please?
 * Have a nice day

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16858051)
 * [@ivanlouis](https://wordpress.org/support/users/ivanlouis/) “We would have to
   check your installation. ” Just a reminder that you may not ask for a login to
   a user’s site. 🙂
 *  Thread Starter [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * (@geekcornerwporg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16859129)
 * [@ivanlouis](https://wordpress.org/support/users/ivanlouis/) What informations
   do you exactly need? WordPress version, or maybe WooCommerce version?
 *  Thread Starter [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * (@geekcornerwporg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16859496)
 * Edit: Seems there is a [similar issue](https://wordpress.org/support/topic/critical-uncaught-error-call-to-a-member-function-getid-on-null/).
   Since it is marked as resolved, do you know how was the issue solved?
 *  Plugin Author [Ivan Louis](https://wordpress.org/support/users/ivanlouis/)
 * (@ivanlouis)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16859502)
 * Yes, the other case had plugins installed which interfered with our plugin. That’s
   why I ask you to get in touch with [support@zahls.ch](https://wordpress.org/support/topic/cannot-process-payment/support@zahls.ch?output_format=md)
   because it is probably an individual problem in your installation.
 *  Thread Starter [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * (@geekcornerwporg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16877341)
 * Thank you, I’ll send an email soon. (Since the issue is not solved, I removed
   the “solved” mark. I plan to follow up on this thread if I manage to resolve 
   the issue)
 *  Thread Starter [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * (@geekcornerwporg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16877576)
 * After emailing through the provided email, everything works fine. According to
   [@ivanlouis](https://wordpress.org/support/users/ivanlouis/), I picked up the
   wrong model.
 * Thanks for everything

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

The topic ‘Cannot process payment’ is closed to new replies.

 * ![](https://ps.w.org/zahls-ch-payment-gateway/assets/icon-256x256.gif?rev=2661443)
 * [zahls.ch Credit Cards, PostFinance and TWINT for WooCommerce](https://wordpress.org/plugins/zahls-ch-payment-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/zahls-ch-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/zahls-ch-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zahls-ch-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zahls-ch-payment-gateway/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [GeekCorner](https://wordpress.org/support/users/geekcornerwporg/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-process-payment/#post-16877576)
 * Status: resolved