Only allow one special payment gateway for all wcfm stores

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Only allow one special payment gateway for all wcfm stores

Viewing 3 reply threads
  • Author
    Posts
    • #32133
      fabeluna
      Participant

      Hello,

      I’m planing to allow only one special payment gateway for all my WCFM-stores. To achieve this I have only this one special gateway activated in my Woocommerce settings. But in the vendor store setup/settings still appears the tab “payment” with the options “paypal” and “bank transfer” (see screenshots). I found two filters in your code to remove this tab from dashboard menu and store setup:

      //remove payment tab from dashboard settings
      add_filter(‘wcfm_is_allow_billing_settings’, ‘__return_false’);

      //remove payment step from store setup
      function unset_payment_step($default_steps ) {
      unset( $default_steps[‘payment’] );
      return $default_steps;

      }
      add_filter( ‘wcfmmp_store_setup_steps’, ‘unset_payment_step’, 0 );

      It seems to work so far, but I’m wondering if there is something else to do to allow only this one special gateway for all my wcfm stores?

      Attachments:
      You must be logged in to view attached files.
    • #32305
      WCFM Forum
      Keymaster

      HI,

      You can remove this tab using WCFM Capability.

      Thank You

    • #32306
      fabeluna
      Participant

      Hello,

      could you give me a hint where I can find this Option?
      I tried to find this option on Capability Tab, but no success (see screenshot).
      Is it only accessible with WCFM Ultimate?

      Thanks,
      Leni

      Attachments:
      You must be logged in to view attached files.
    • #32409
      WCFM Forum
      Keymaster

      Hi,

      Please check this – https://ibb.co/mzz8HU

      Between, do you have WCFM Ultimate?
      Otherwise you will not see this in Capability.

      Thank You

Viewing 3 reply threads
  • The topic ‘Only allow one special payment gateway for all wcfm stores’ is closed to new replies.