Hide payment methods

Home Forums Welcome! Pre-Sales Questions Hide payment methods

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1233742
    Gustavo Alvdes
    Guest

    Hi,
    Our website has more than one payment method. You can hide the other methods of payment when a ticket is included in the shopping cart. You’d have the function (to function.php) to provide case buy the plugings that we have interest?

    Thanks,
    Gustavo Alves

    #1234364
    Brook
    Participant

    Howdy Gustavo,

    That’s a good question. It looks to me like this could be accomplished easily enough using the woocommerce_available_payment_gateways filter. You could tap into the order at some point before that filter fires, and if the order contains tickets hide any payment gatways you don’t want using that filter.

    After purchasing the plugin, if you need assistance with this I’m sure our Premium Support will be able to help a good bit. Just open up a topic in the premium support area to begin.

    Does that answer your question?

    Cheers!

    – Brook

    #1234374
    Gustavo Alvdes
    Guest

    Good morning Brook,
    you have the link of the woocommerce_available_payment_gateways plugin so we can review it? I couldn’t find it on wordpress library.
    Seems like a good alternative.

    Tnks,
    Gustavo Alves

    #1234659
    Brook
    Participant

    Hello again!

    My apologies, I was not speaking clearly before.

    There is no plugin that can do what you need. However, what you want to do should be possible as a customization. This customization will require someone experienced in PHP to write some code that does what you want.

    Our support team is experienced with writing PHP. Once you have a license to one of our plugins, we can assist you or your PHP developer with writing this code.

    Does that make more sense?

    Cheers!

    – Brook

    #1234685
    Gustavo Alvdes
    Guest

    Dear Brook,
    I believe have one solution.
    Do you know if this plugin meets this need: https://docs.woocommerce.com/document/woocommerce-conditional-shipping-and-payments/?_ga=1.80622613.367015149.1481818841.
    The events created (posts) with the plugin of the modern tribe uses the Woocommerce categories to organize them? If Yes, I think it will serve.

    Thanks,
    Gustavo Alves

    #1236064
    Brook
    Participant

    Howdy Gustavo,

    It seems like that should work splendidly! Very nice find.

    When you create a ticket for an event, a “Simple Product” is added to WooCommerce, exactly like the one pictured here. So you should be able to edit this product and add restrictions using that tool.

    Cheers!

    – Brook

    #1251807
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Hide payment methods’ is closed to new replies.