• Resolved langzl

    (@langzl)


    Hey everyone,

    We’re using the new checkout experience with the Woo Stripe Gateway, which looks amazing and works great.

    But we’re having a small issue. We want to hide one of the payment methods, sepa, and all the ways to hide/filter a payment method using the old checkout experience won’t work.

    I’ve also tried using the wc_stripe_elements_styling, wc_stripe_elements_classes and wc_stripe_elements_options filters but was unsuccessful in hiding the sepa_debit-tab. I finally tried CSS/JS/jQuery but also was unsuccessful because it loads inside of an iframe which ofcourse a browser protects agains changing its contents.

    I hope the community can help me, and others that have the same issue???

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @langzl,

    I’ve also tried using the wc_stripe_elements_styling, wc_stripe_elements_classes and wc_stripe_elements_options filters but was unsuccessful in hiding the sepa_debit-tab. I finally tried CSS/JS/jQuery but also was unsuccessful because it loads inside of an iframe which ofcourse a browser protects agains changing its contents.

    May I ask why you’re opting for filters to disbale SEPA payments?

    You can just disbale it from the plugin settings page in WooCommerce > Settings > Payments.


    Link to image: https://d.pr/i/MqoTgp

    Look forward to hearing back from you.

    Thread Starter langzl

    (@langzl)

    Hey Saif,

    Thanks for the swift response.

    We want to hide a payment method based on the product to streamline our checkout.

    Kind regards,

    Dan

    Saif

    (@babylon1999)

    We want to hide a payment method based on the product to streamline our checkout.

    Thank you for clarifying!

    That’s not something the plugin can handle, there is no option for conditional logic whatsoever.

    You can use the Conditional Shipping and Payments extension and restrict payment gateways for certain products.

    All extensions in WooCommerce.com have a 30-day refund policy. If the product doesn’t work the way you need it or you think another product would work better, we are more than happy to provide a full refund.

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Payment Method New Checkout Experience’ is closed to new replies.