Home Forums Stripe Commissions & Gateway Support Bought Stripe | Does not work, managed accounts

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 Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22977
    A
    Participant

    Today i tought about to invest in my store and purchase the wc vendors stripe plugin. Since i am already have a store (which is not using wcvendors) i already have installed a stripe plugin. I was pretty satisfied with stripe, well however.
    I bought the wc vendors stripe plugin and installed it. I entered the secret key and publishing key in the woo commerce settings like described in the instruction on the wc vendors page. Then i saw you have another field which i did not saw in my other stripe plugin of my other store. Its called client ID. I think it has something to do with the vendors right? However, i followed the instruction again, created the app “connect->platform settings”, entered the client id in my stripe in woocommerce settings and tried out the plugin. It does not work at all. The vendors can not connect, get always a 500 error. I was confused and checked out the instruction again, since i tought it was my mistake. But then i saw that the “Managed accounts” slider is activated in your instruction, but for me its deactivated and i can not activate it because it is not available in my country (i dont know why, i am from Germany). Well, this makes the whole plugin totally useless for me, because then i just could use my another stripe plugin for the payments…. Well, i also tried to click on “Test the OAuth flow” (check the second image). I gets redirected to the connection page, and when i click on connect i get an error. I want a refund. Also please write that “managed accounts” should be activated/enabled in the country on the products page of the wc vendors stripe plugin, for future customers from Germany or other countrys.

    Order Number: #22974

    Image 1:
    image1

    Image 2:
    image2

    The guide i used on your page: https://www.wcvendors.com/kb/stripe-commissions-gateway-setup/

    #22979
    WC Vendors Support
    Participant

    Hi @agrun124 — Thanks for your support by buying our Stripe gateway!

    You’re right, managed accounts is “available” in the screenshot, but it’s not actually used for anything. You don’t “manage” the vendors accounts, the vendors “connect” their own accounts to your site. You can safely ignore that, as it has no impact on anything whatsoever. Just pretend you never saw it. 🙂

    An Internal Server Error 500 is important, and that means something is crashing. That error is particularly annoying, because it doesnt tell you want the problem actually is. Fortunately, your webserver will, because your webserver logs all errors to the error_log. Every webhost has the error_log file in a different place, but once you find it (if you can’t, call your webhosting company and ask them) all you have to do is look at the last few lines of the error_log and it’ll tell you what the error was, and what file is causing the errors.

    1.) Find the error_log

    2.) Make the site crash

    3.) Immediately open the error_log file and copy/paste the last 10 lines from it here, and we can debug what the problem is. The problem could be Stripe, the problem could be WordPress, the problem could be something entirely different, we just won’t know till we see what the error is 🙂

    Cheers

    #22986
    A
    Participant

    Hello ben. Thank you for the fast reply. I opened the error_log on my server, i copied the last entries:

    Stack trace:
    #0 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php(174): StripeOAuth->getTokens('ac_7qZQxvbs1Lq3...', false)
    #1 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/gateway-stripe.php(155): StripeOAuth->getAccessToken('ac_7qZQxvbs1Lq3...')
    #2 [internal function]: stripe_check_connect('')
    #3 /home/anton9gr/public_html/shopfiles/wp-includes/plugin.php(503): call_user_func_array('stripe_check_co...', Array)
    #4 /home/anton9gr/public_html/shopfiles/wp-settings.php(353): do_action('init')
    #5 /home/anton9gr/public_html/shopfiles/wp-config.php(88): require_once('/home/anton9gr/...')
    #6 /home/anton9gr/public_html/shopfiles/wp-load.php(37): require_once('/home/anton9gr/...' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php on line 346
    [04-Feb-2016 18:55:46 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error making StripeOAuth request: (400) Bad Request' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php:346
    Stack trace:
    #0 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php(174): StripeOAuth->getTokens('ac_7qZSFVb2umCP...', false)
    #1 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/gateway-stripe.php(155): StripeOAuth->getAccessToken('ac_7qZSFVb2umCP...')
    #2 [internal function]: stripe_check_connect('')
    #3 /home/anton9gr/public_html/shopfiles/wp-includes/plugin.php(503): call_user_func_array('stripe_check_co...', Array)
    #4 /home/anton9gr/public_html/shopfiles/wp-settings.php(353): do_action('init')
    #5 /home/anton9gr/public_html/shopfiles/wp-config.php(88): require_once('/home/anton9gr/...')
    #6 /home/anton9gr/public_html/shopfiles/wp-load.php(37): require_once('/home/anton9gr/...' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php on line 346
    [04-Feb-2016 18:56:00 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error making StripeOAuth request: (400) Bad Request' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php:346
    Stack trace:
    #0 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php(174): StripeOAuth->getTokens('ac_7qZSFVb2umCP...', false)
    #1 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/gateway-stripe.php(155): StripeOAuth->getAccessToken('ac_7qZSFVb2umCP...')
    #2 [internal function]: stripe_check_connect('')
    #3 /home/anton9gr/public_html/shopfiles/wp-includes/plugin.php(503): call_user_func_array('stripe_check_co...', Array)
    #4 /home/anton9gr/public_html/shopfiles/wp-settings.php(353): do_action('init')
    #5 /home/anton9gr/public_html/shopfiles/wp-config.php(88): require_once('/home/anton9gr/...')
    #6 /home/anton9gr/public_html/shopfiles/wp-load.php(37): require_once('/home/anton9gr/...' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php on line 346
    [04-Feb-2016 19:11:27 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error making StripeOAuth request: (400) Bad Request' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php:346
    Stack trace:
    #0 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php(174): StripeOAuth->getTokens('ac_7qZhbSy8GCH6...', false)
    #1 /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/gateway-stripe.php(155): StripeOAuth->getAccessToken('ac_7qZhbSy8GCH6...')
    #2 [internal function]: stripe_check_connect('')
    #3 /home/anton9gr/public_html/shopfiles/wp-includes/plugin.php(503): call_user_func_array('stripe_check_co...', Array)
    #4 /home/anton9gr/public_html/shopfiles/wp-settings.php(353): do_action('init')
    #5 /home/anton9gr/public_html/shopfiles/wp-config.php(88): require_once('/home/anton9gr/...')
    #6 /home/anton9gr/public_html/shopfiles/wp-load.php(37): require_once('/home/anton9gr/...' in /home/anton9gr/public_html/shopfiles/cnt-files/plugins/wc-vendors-gateway-stripe-connect/classes/lib/StripeOAuth.class.php on line 346
    

    I hope they are helpful.

    #22988
    WC Vendors Support
    Participant

    Perfect, thanks. The important parts are:

    PHP Fatal error: Uncaught exception 'Exception' with message 'Error making StripeOAuth request: (400) Bad Request'

    I would check your Stripe settings, make sure you’re API Keys and such are all correctly filled out. Stripe is causing the error by stating it’s a Bad Request, rather than it being an error within the plugin.

    #22997
    A
    Participant

    I entered the information already two times before creating this threads. Check the picture below, thats how i entered the information for the client id. I also switched the client ids out (in the stripe dashboard settings are two client ids, one development clied id and production client id), but still i get an error. The secret and publishable key is 100% right, since i checked it now the third time.

    stripe settings

    #22998
    A
    Participant

    Ben, it is working now. I DONT KNOW why, but its working. I just re-rolled all the keys in my stripe dashboard and entered all the new keys in woocommerce. Thanks for the support. I hope everything works now.

    #23001
    WC Vendors Support
    Participant

    So, what you’re saying, is third time’s a charm? 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Stripe Commissions & Gateway Support’ is closed to new topics and replies.