Title: WC Payment Method Issue
Last modified: November 30, 2020

---

# WC Payment Method Issue

 *  Resolved [thewebonly](https://wordpress.org/support/users/thewebonly/)
 * (@thewebonly)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/wc-payment-method-issue/)
 * Hello Guys,
 * I’ve created a payment method plugin and it works as expected for the logged 
   in users.
    However, I can’t make it to work for the guests as well. The main 
   issue is because the fields billing first/last name and email are null and I 
   need those to check them against my web service. For instance, if the shopper
   is eligible I display my payment method. Otherwise it is not. I made this logic
   within the is_available method which is part of the class that extends WC_Payment_Gateway.
 * Any ideas how to gather these values (fname, lname and email) from guests on 
   the checkout page?
 * Thank you so much

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

 *  [Siew](https://wordpress.org/support/users/kosiew/)
 * (@kosiew)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/wc-payment-method-issue/#post-13728409)
 * Hi there,
 * It’s certainly possible with customization.
 * This forum is not the best place for coding specific help though.
 * If you are comfortable writing the code yourself, then you may want to consider
   joining the WooCommerce Developers Slack community:
    [https://woocommercecommunity.slack.com/](https://woocommercecommunity.slack.com/)
 * If you don’t already have an account, you can sign up at the bottom of the following
   page:[https://woocommerce.com/develop-woocommerce/](https://woocommerce.com/develop-woocommerce/)
 * Otherwise, if you needed someone to code this for I would recommend checking 
   somewhere like [http://www.codeable.io](http://www.codeable.io) for skilled third-
   party developers.
 *  [Siew](https://wordpress.org/support/users/kosiew/)
 * (@kosiew)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/wc-payment-method-issue/#post-13762366)
 * Hi there,
 * This thread has been inactive for a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘WC Payment Method Issue’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [payment gateway](https://wordpress.org/support/topic-tag/payment-gateway/)

 * 2 replies
 * 2 participants
 * Last reply from: [Siew](https://wordpress.org/support/users/kosiew/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/wc-payment-method-issue/#post-13762366)
 * Status: resolved