disable Stripe on field value selected?

[ad_1]

Hello all,

I set a CFF with stripe payment but now the customer want to add a DIRECT DEBIT payment field.

So, I need to create a field with “payment method” selection with two values:

  • item 1: payment with Stripe
  • item 2: payment with DIRECT DEBIT

When the user selects item 2, a new field should display with DIRECT DEBIT bank info AND the stripe payment should be disabled.

I have no problem making DIRECT DEBIT info field to display on user selection, but how can I disable the stripe payment on runtime?

Stripe payment is handled with CFF addon, so it’s ON or OFF.

Is there a way to disable stripe payment on the form?

TIA

tony

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer