Title: Payment methods
Last modified: January 25, 2019

---

# Payment methods

 *  Resolved [silence85](https://wordpress.org/support/users/silence85/)
 * (@silence85)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/payment-methods-15/)
 * Hey there,
 * I got the issue that I can’t choose a payment method after heading to checkout.
 * _Sorry, but there are apparently no payment methods available for your state /
   region. Please contact us if you need help or want to make other arrangements._
 * I got 3 different shipping zones but can’t figure out how to connect the gift
   card to a region.
    -  This topic was modified 7 years, 4 months ago by [silence85](https://wordpress.org/support/users/silence85/).

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

 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/payment-methods-15/#post-11151484)
 * The PW Gift Card product type is a “Virtual” product inside WooCommerce. When
   selling only a virtual product, WooCommerce does not require a shipping address.
 * You can force WooCommerce to require a shipping address for every order by following
   these steps:
 * 1. Download the functions.php from your FTP server at /wp-content/themes/<your
   theme>/functions.php
    2. Keep a backup of functions.php in case there are problems.
   3. Edit functions.php and scroll to the very end and add this code.
 * **Note: if the last line is “?>” then put this code \*above\* that line. Otherwise,
   this code goes at the very end of the file:**
 * `add_filter( 'woocommerce_cart_needs_shipping_address', '__return_true', 50 );`
 * 4. Save the functions.php file and re-upload it to your server.
 * If you have any problems, replace functions.php with your backup file.
 * Let me know if you have any questions!
 *  Thread Starter [silence85](https://wordpress.org/support/users/silence85/)
 * (@silence85)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/payment-methods-15/#post-11151827)
 * Hey. Thanks for the answer.
    The Problem is not the shipping addresss but the
   following message I get on check out:
 * **Sorry, but there are apparently no payment methods available for your state/
   region. Please contact us if you need help or want to make other arrangements.**
 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/payment-methods-15/#post-11153800)
 * By default, WooCommerce will not attempt to get a payment method when the Cart
   Total is zero. It sounds like a payment method plugin for your site isn’t following
   this standard. Unfortunately unless they make a change to allow a checkout with
   a Total balance of zero our plugin won’t work for you.
 * Hopefully you can reach out to the developers of the other plugin and explain
   the situation, that the cart is zero and therefore no payment method is required.
 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/payment-methods-15/#post-11207797)
 * Since we haven’t heard back I’m marking this thread as “Resolved”. However, if
   you need further help just let us know!

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

The topic ‘Payment methods’ is closed to new replies.

 * ![](https://ps.w.org/pw-woocommerce-gift-cards/assets/icon-256x256.png?rev=1809373)
 * [PW WooCommerce Gift Cards](https://wordpress.org/plugins/pw-woocommerce-gift-cards/)
 * [Support Threads](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pimwick](https://wordpress.org/support/users/pimwick/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/payment-methods-15/#post-11207797)
 * Status: resolved