Skip to content
Hard Working Nerd
  • Start Here
  • WooCommerce Book
  • WooCommerce Code Snippet Database
  • Free WooCommerce Course
  • About Us

Payment

How to get the id for a Payment Method in WooCommerce

July 2, 2021 by Ian

If you have access to an order object in WooCommerce then it is possible to call the get_payment_method()function to see what payment method was used for the order. You could use use the call in an if statement to run some logic if a particular payment method was used. Here’s some code to illustrate what … Read more

Categories Code Snippets, Payment, WooCommerce Leave a comment

The Best WooCommerce Authorize.Net Plugins (+Free Options!)

January 20, 2020 by Ian

It goes without saying that when you open a WooCommerce store you want to make some sales and making it easy for customers to purchase things from your store is one of the best ways to keep your sales numbers ticking over. The payment options presented to customer s are one of the key factors … Read more

Categories Authorize.Net, Payment, WooCommerce Leave a comment
© 2025 Hard Working Nerd