• Resolved thewebonly

    (@thewebonly)


    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)
  • 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/

    If you don’t already have an account, you can sign up at the bottom of the following page:https://woocommerce.com/develop-woocommerce/

    Otherwise, if you needed someone to code this for I would recommend checking somewhere like https://www.codeable.io for skilled third-party developers.

    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.