Home Forums WC Vendors Pro Support Question on 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 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 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #44464
    Jumper
    Participant

    Hi,

    I know this is in the wrong forum (apologies) but I can see the question has been asked recently. But, the last answer is a little old – so I was wondering if this has changed since.

    Auth/Capture is supported by Stripe, can I utilise this in the Stripe Commissions gateway? Or do I have to custom build on to it – to utilise this feature through your plugin?

    Thank you

    Any guidance would be most appreciated.

    #44466
    WC Vendors Support
    Participant

    There’s no auth/capture support built into our Stripe gateway, because it would be impossible to manage that feature with multiple vendors products in a single order. So, none of that was ever written or considered, and you’d have to code it separately. If your code was suitable for a pull request, we’d be happy to honor it!

    #44468
    Jumper
    Participant

    Thanks Ben – really appreciate the prompt answer. I will run it past my guys

    #44476
    Jumper
    Participant

    Hi Ben,

    One further clarification.

    If we create an Auth/Capture via Stripe. We will need our custom code to run while in checkout, and add a set capture parameter to false.

    Do we have hooks implemented in the Stripe Gateway plugin where we can add this additional code?

    Thanks

    #44532
    Jumper
    Participant

    Hi Ben,

    Not sure if you saw my last message. Can you please let me know when you get a chance thanks

    #44622
    Jumper
    Participant

    Bumping this up. May have been missed. Thank you

    #44660
    WC Vendors Support
    Participant

    Sorry, I dont actively monitor the boards, I just saw your topic and replied and went about other things. My bad! πŸ™‚

    Any place you need hooks, and there isnt one, just let me know and we can quickly add them to core. We love hooks, with over 300 of them for WC Vendors already. But sometimes we miss a place for one so if you find one just let us know!

    #44695
    Jumper
    Participant

    Hey Ben,

    We need to add our parameter called “‘capture’ => false ” in the array or object the stripe plugin makes that is to be sent to stripe to create a charge.. so this variable will allow us to auth the charge and capture it later, so if you guys could add hook in appropriate place in your plugin , then we can hook in our function and modify that array with additional param said above. If you guys could do that, it would be awesome.. πŸ™‚

    #44777
    Jumper
    Participant

    Hi Ben,

    Just bumping this up again. Seems as thought there was a flood of message and we got shuffled down πŸ™‚ Hope you can help with the above ^^^^

    #44983
    Jumper
    Participant

    Hi Ben, Bumping this up again. Really would like to get this hook sorted @ben hopefully you see this one πŸ™‚

    Please see above message

    #44987
    WC Vendors Support
    Participant

    Sorry there, you misunderstand me. πŸ™‚ If you need a hook added — you tell us where and write the code for it, we’ll add it to core. πŸ™‚ Let me know the file name/line#/changes to make and we’ll get them done. It’s up to you to find out where you want your hook to be, after all, you’re the coder on this one!

    #47679
    Jumper
    Participant

    @ben

    One of our devs put this together. Can we please add this as it is necessary for what we are doing. Please see below. I look forward to hearing from you. Also attached files for your review.

    Line and function for Filter to be added
    Class Name : /classes/class-wc-gateway-stripe.php
    function name : process_payment
    line no : 484
    variable name : $order_data
    add a filter here so that we can add our parameter named
    capture=> false;
    $order_data = apply_filters(β€œYOUR_HOOK_NAME_PLEASE”,$order_data);

    Hook 2:
    Class Name : /classes/class-wc-gateway-stripe.php
    function name : process_payment
    Line No. 490
    /* Added action By Ramandeep Singh */
    do_action(‘stripe_change_id_generated’,$order_id,$charge->id);
    /* end action By Ramandeep Singh */

    // Changes on FILE /gateway-stripe.php

    Line 157 : $stripe_user_id = $oauth->getUserId();/* Line Added By Ramandeep */
    Line 160 : update_user_meta( get_current_user_id(), ‘_stripe_connect_user_id’, $stripe_user_id );

    #47753
    Anna
    Member

    @jbs411
    I’ve submitted this request for hook and filters in the Stripe Gateway & Commissions plugin.

    #48078
    Jumper
    Participant

    Hi Anna @fervous and Ben @ben

    Just wondering if you had an update on where this is at, has this been implemented yet?

    I look forward to hearing from you.

    Thanks,

    #48123
    Anna
    Member

    There has not yet been an update to the Stripe Gateway & Commissions Plugin. I know Jamie saw this and confirmed that he would add these.

    #48412
    Jumper
    Participant

    Hi Anna @fervous

    This is great, thanks for the follow up.

    Do you have an ETA on this update? We are in need of it for our impending launch. It is very important to us.

    Thanks, I look forward to hearing.

    #48688
    Jumper
    Participant

    HI @ben & @fervous

    Just following up on the above – would you have an ETA as to when it will be implemented and available? We are eagerly awaiting it so we can release our product

    Thank you πŸ™‚

    #48717
    Anna
    Member

    @jbs411
    I will check on this with Jamie to see when this may be available for your project.

    #48744
    Jamie
    Keymaster

    Hello,

    I’ll add these after I work out the kinks in our new licensing system.

    cheers,

    Jamie.

    #48745
    Jumper
    Participant

    @digitalchild thanks for your response Jamie, we really appreciate it. Do you have any forecast as to when that would be?

    Appreciate all the help thus far!

    #49100
    Jamie
    Keymaster

    Hello

    Ill be taking a look this weekend.

    cheers,

    Jamie.

    #49106
    Jumper
    Participant

    @digitalchild this is excellent news – thanks mate. Let me know if you have any questions.

    Thank again!

    #49984
    Jumper
    Participant

    @digitalchild Hi Jamie, did you have a chance to look at this? πŸ™‚

    #50068
    WC Vendors Support
    Participant

    I can reasonably answer for him — he hasnt had time to look at it yet. We’re still finishing up Pro v1.4.0 and Bookings support. Once that’s done (2 weeks?) then we’ll be on it. Bump this thread up then and remind us if you dont hear from us before 1/1!

    #52037
    Jumper
    Participant

    @ben just bumping this up as per your advice! Been away so couldn’t get in prior to the 1st.

    How are we looking on it?

    Thanks again and hope you guys had a good Christmas!

    #52083
    WC Vendors Support
    Participant

    I’m really confused Jumper.

    You gave us code changes and we said we’d add them.

    Now you’re asking us to do it for you and give it to you? If we do, it’d just be the same damn thing you copied/pasted to us, which would be no different. I’m not sure what you’re asking us to give you, we have nothing for you, you gave us the changes you wanted.

    #58124
    Jamie
    Keymaster

    Hello,

    Next release of stripe will have these added. Just closed the issue now, apologies for the delays. WooCommerce 2.7 has slowed a few things down for me.

    Expect to see these in v1.0.5 released on the 14th of March.

    cheers,

    Jamie.

    #73090
    Rod Pereira
    Participant

    @jbs411

    Hello there,

    Sorry for inviting myself here πŸ™‚

    I need to achieve exactly the same than you had to: Authorise a payment when a customer checkouts, and capture the funds when the vendor accepts the order (or send the package). Were you able to do it?

    In my case, only orders of one item of a single vendor are allowed (that should simplify things).

    Please let me know, as it would be really interesting to chat about this with you.

    Cheers mate.

    #73092
    Jumper
    Participant

    @rodperiera thanks for reaching out πŸ™‚

    In short we were able to achieve what we wanted. But, not for the purpose you describe. We only wanted to hold the funds for less than 5 days, so not until the product was shipped like you are after.

    We vet all our vendors so we have a little control, this is to mitigate the problem I am gathering you want to avoid…and just send payment directly/automatically to the vendor on purchase.

    The only really way I know of doing that is to take the payment yourself into your Paypal then pay a commission…

    So, sorry can’t help in relation to your situation. Best of luck!!

    #73140
    Rod Pereira
    Participant

    @jbs411 that’s alright, thanks for the quick answer.

    One quick question that could save me some headaches, what hook did you use to not to set ‘capture’ as ‘false’ on the Stripe request?

Viewing 30 posts - 1 through 30 (of 30 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.