Home Forums WC Vendors Free Support Can't Pay Vendors

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 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #59998
    dymockpoet
    Participant

    Hi,

    When I go to WcVendors > Payments and select Now then ‘Save Payments changes’ I get a HTTP 500 error on this URL: https://thebookcoverdesigner.com/wp-admin/options.php

    The thebookcoverdesigner.com page isn’t working

    thebookcoverdesigner.com is currently unable to handle this request.
    HTTP ERROR 500

    From the PHP logs:

    [26-Mar-2017 19:56:08 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /home/c87studi/public_html/thebookcoverdesigner.com/wp-content/plugins/wc-vendors/classes/class-commission.php on line 202 and exactly 2 expected in /home/c87studi/public_html/thebookcoverdesigner.com/wp-includes/wp-db.php:1291
    Stack trace:
    #0 /home/c87studi/public_html/thebookcoverdesigner.com/wp-content/plugins/wc-vendors/classes/class-commission.php(202): wpdb->prepare(‘SELECT id, vend…’)
    #1 /home/c87studi/public_html/thebookcoverdesigner.com/wp-content/plugins/wc-vendors/classes/gateways/PayPal_Masspay/class-paypal-masspay.php(51): WCV_Commission::get_all_due()
    #2 /home/c87studi/public_html/thebookcoverdesigner.com/wp-content/plugins/wc-vendors/classes/gateways/PayPal_Masspay/class-paypal-masspay.php(26): WCV_Mass_Pay->get_users()
    #3 /home/c87studi/public_html/thebookcoverdesigner.com/wp-content/plugins/wc-vendors/classes/class-cron.php(84): WCV_Mass_Pay->do_payments()
    #4 /home/c87studi/public_html/thebookcoverdesign in /home/c87studi/public_html/thebookcoverdesigner.com/wp-includes/wp-db.php on line 1291

    #60018
    Anna
    Member

    Hello,
    Could you please confirm with PayPal that you have masspay capability for your PayPal account?
    Scheduled & Now payments require PayPal Adaptive + masspay; instant payments only Adaptive payments (parallel).

    #60025
    dymockpoet
    Participant

    Hi Anna,

    I have masspay. I can access it from the Tools section of my account. Also, I’ve been using this feature successfully for years until now.

    #60136
    dymockpoet
    Participant

    Hi Anna,

    I can’t pay my vendors until this is fixed, so it’s kind of urgent. Can I pay Ben or Jamie to look into it for me?

    Charlie

    #60176
    Anna
    Member

    Charlie,
    I will notify them of your issue- but they will want to know:
    1. have you tried any debugging steps (deactivating all plugins except WooCommerce & WC Vendors, then test)?
    2. Is there anything at all that you have recently changed OR updated?
    3. Have you confirmed with PayPal that you do, indeed, still have masspay capability?

    #60177
    Anna
    Member

    @dymockpoet
    I was informed that you have modified your payment system to use chained payments?
    Please undo this, and use WC Vendors and PayPal Adaptive payments (parallel & masspay) without your modifications – no chained payments.

    #60240
    dymockpoet
    Participant

    Hi Anna,

    I don’t think I’m using chained payments. What makes you think that? I have adaptive payments enabled for the checkout.

    I’ll ring PayPal to check but I’m almost certain I still have it. As I say, I can see it in my account and I’ve been using it successfully for years.

    #60245
    dymockpoet
    Participant

    I just confirmed with PayPal that masspay is still enabled on my account.

    #60246
    dymockpoet
    Participant

    I have noticed that for my PayPal app the checkbox for Parallel Payments isn’t ticked, but this has never caused an issue before. Would it make a difference?

    #60251
    WC Vendors Support
    Participant

    Werent you using that chained payments code? If no, sorry, I thought you were.

    If Parallel Payments is not ticked, you can not pay vendors with instant pay. Instant pay = parallel pay. Schedule pay = Mass pay.

    Remember, PayPal approves ALL ACCOUNTS MANUALLY so what you ask for isnt waht you get sometimes and they can change anything any time. You know, it’s…….paypal…..

    #60254
    dymockpoet
    Participant

    Hi Ben,

    At the end of every week I set the payment schedule to Now and process them that way. So it’s like scheduled payments but manual (nothing seems to ever happen if I set it to weekly or whatever).

    #60256
    WC Vendors Support
    Participant

    “Now” is technically just the scheduler, being run, well, “now”. So with that, you should not need Parallel Payments, only Mass Payments.

    The 500 error is saying missing arguments. You have commissions currently due? Do the vendors needing to be paid have valid paypal emails? Are any new and have never been paid?

    #60257
    dymockpoet
    Participant

    Yes I have commissions currently due. At least one of the vendors is new and has never been paid. Should I mark any new vendors as paid and try to only pay vendors I know have valid emails?

    #60259
    WC Vendors Support
    Participant

    That sounds like a complete mess if you wanted to do that. It would be much easier to try and fix the issue instead. 🙂 Probably take less time, too.

    I see we’re missing an admin login to your site, though……. Could you private reply as well as the username/email/or-userid of the new vendor so I can also check their account and settings out?

    And, if I click “Pay now” and it works, you’re happy with that, I wont do a damn thing until you confirm otherwise because I’m not trying to spend your money. 😉 I’m not sure if it’s us, or you yet, but we’ll get there.

    #60261
    dymockpoet
    Participant

    benwc
    IgvlLCK1&170Vd7#xi5CV4LM

    User ids of new vendors with comms due: mhod (11410), Nellista (209), Andrei B (11404), Winter Bayne (10200).

    #60262
    dymockpoet
    Participant

    The commissions showing as due are correct so if you can get it work I have no problem with that.

    #60269
    WC Vendors Support
    Participant

    Everything looks perfect on your side. I’ll have to ping Jamie and see if he has any idea. Please keep my login active so he may use it.

    #60270
    dymockpoet
    Participant

    Sure thing, thanks for looking.

    #60289
    Jamie
    Keymaster

    Hello,

    Has this always happened or only just started? What has changed since the last set of commissions were paid out?

    The section of code that is having an issue hasn’t been modified since we launched.

    Can I attempt to debug this payout issue on your site? I will need to add some debugging code to try and work out what is creating the error.

    cheers,

    jamie.

    #60290
    dymockpoet
    Participant

    As far as I’m aware, nothing has changed since the last payout (which would have been last Sunday). Around the 20th of March I started experiencing an issue whereby orders were not processing correctly (stock not reducing, emails to vendors not going out) that is still ongoing. See thread: https://www.wcvendors.com/help/topic/orders-not-processing-properly/

    Not sure if these two issues are related.

    You can add some debugging code, sure.

    #60337
    Jamie
    Keymaster

    Hello,

    So no plugin updates? No hosting updates? Have you contacted siteground to see if they have made any changes? Seeing as you have too many plugins to disable and start testing orders on the live site. Are you able to get a staging site setup that I can work on debugging this? With orders not working correctly and inconsistently it’s hard to know where to start with this. I would also need live access to your error logs so that I can start to debug this.

    cheers,

    Jamie.

    #60340
    Jamie
    Keymaster

    Hello,

    I’ve made a change to the commission class and was wondering if I can attempt to process. The change shouldn’t be required unless some kind of PHP strictness has been turned on.

    Can we go ahead and try and process the commission?

    cheers,

    Jamie.

    #60368
    dymockpoet
    Participant

    Hi Jamie,

    Yes you can go ahead and try.

    #60371
    dymockpoet
    Participant

    I just checked my emails and last night this came through:

    ‘Hello! A payment was just triggered to mass pay all vendors their due commission. Payment status: error. Payment message: No vendors found to pay. Maybe they haven’t set a PayPal address?.’

    #60382
    Anna
    Member

    @DYMOCKPOET yes, it would be very helpful if you’d check to ensure that your vendors have entered their PayPal addresses.

    #60386
    dymockpoet
    Participant

    Looks like a mass payment just went through?

    #60387
    Jamie
    Keymaster

    Hello,

    My code change fixed your commissions, they have all been paid. This fix will be in the next version of WC Vendors so don’t worry about my changes being lost when you do your next update.

    Regarding changes I wonder if that version of PHP you’re running which is relatively new has got a strict setting turned on to make these errors happen.

    cheers,

    Jamie.

    #60388
    WC Vendors Support
    Participant

    Wow! PHP 7.1.2 already. They sure are pushing updates very fast. Fast updates == problems so just be cautious with PHP updates. If you can have them set you at 7.0 and just ignore it that’d be lovely 🙂

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