Require Vendors To Have Stripe?

Home Forums Stripe Commissions & Gateway Support Require Vendors To Have Stripe?

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the forums.

Thank you to all of our customers!


This topic contains 8 replies, has 3 voices, and was last updated by  Anna 1 year, 3 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #49537


    Sorry if this has been addressed… I’m on my phone and was having trouble searching.

    Is there a way to require Vendors to have a Stripe account? From what I read, a vendor having Stripe + use of the WCVendor Stripe Plugin pretty much automates everything.

    Is there a way to require this? Otherwise… it looks like all of the payment goes to the Marketplace owner (no?).

    Thank you!!!




    I have a way in which you can prevent vendors from being able to list a product unless they have connected a Stripe account in their pro dashboard > settings > payments.
    It shows a message that tells them to connect to Stripe, and a link to the dashboard settings.

    In order to use this, you’ll need to modify the product-edit.php template.
    move this template: wp-content/plugins/wcvendors-pro/templates/dashboard/product-edit.php to your theme or child theme.
    I think you’re using OneSocial???
    If so, for onesocial you would move it to: wp-content/themes/onesocial-child/bb-marketplace/wc-vendors/dashboard/product-edit.php
    If not, then: wp-content/themes/your-theme-or-child-theme/wc-vendors/dashboard/product-edit.php

    You can replace the entire file with this, or add the parts I have added, as I’ll explain below what’s been modified so you can add the modification again to the template the future if we have to update the product-edit.php:

    First change:
    lines 24-28, I added this, which checks for the Stripe token of the vendor. If the token exists, then no worries- it shows the product add/edit page:

    $access_token = get_user_meta( get_current_user_id(), '_stripe_connect_access_key', true );
    if ( !empty( $access_token ) ) {

    Second change:
    After , I added this, which shows this message and blocks the product page from showing if the Stripe token is not found:

    } else {
    echo '  <p><strong>WAIT!</strong>   Before you can add products, you must connect to STRIPE, so you can receive the funds from your sales.  To connect to Stripe, <a href="/pro_dashboard/settings/"><strong>VISIT YOUR STORE DASHBOARD SETTINGS</strong></a> and click the <strong>PAYMENTS</strong> tab.</p>';

    I use this on my own site- works great.



    Anna, this is amazing – THANK YOU! Did you code this yourself? Very cool!



    Ahhhhh, I can’t get it to work for me. It seems to always think that the vendor has a stripe key. 🙁



    Weird, as I use this on my site and I just checked and it is working/
    Do you have the OneSocial theme?
    If so, make sure the product-edit.php file has been moved to your child theme with the following path:

    Also- yeah, I wrote it, though I believe I worked this out with Ben’s help as I had trouble at first – it was before I worked here 😀 and I was still building my marketplace.



    When I gave you the file path yesterday I forgot to add the bb-marketplace to the path for the OneSocial theme– make sure you add that in and this should work.




    That was it! 🙂 Thank you again!



    @fervous toss that in a kb article =)


Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Stripe Commissions & Gateway Support’ is closed to new topics and replies.