Home Forums WC Vendors Pro Support Error checkout

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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #62704
    Mircea
    Participant

    Hello, when the client tries to pay this error occurs, attached photo, does not work in test or live
    It is worrisome since I do not know if it is a problem of the wc vendors 1.4.2 or WC Vendors Test Gateway Payment 1.0.5

    Thank you

    #62709
    Mircea
    Participant

    Really the problem is in the update of 1.4.2. I have put the version 1.4.0 back and it works correctly. Is there any solution for the 1.4.2 update and which checkout works correctly?

    Thank you

    #62712
    Mircea
    Participant

    I have searched and found a thread that references this error. Now works correctly with modification

    // File admin/class-wcvendors-pro-commission-controller.php
    // Line 450

    $product_id = ( version_compare( WC_VERSION, ‘2.7’, ‘<‘ ) ) ? !empty( $product[ ‘variation_id’ ] ) ? $product[ ‘variation_id’ ] : $product[ ‘product_id’ ] : $product->get_id();

    Thank you

    #62755
    Anna
    Member

    @memorex13
    Glad that fix worked for you.
    that will be included in our next update.
    There were many many changes int he latest WooCommerce update, so we are still finding some things that needed to be changed in our code to harmonize with the new WooCommerce.

    #62782
    Mircea
    Participant

    Hello, I now have in the dashboard the tab orders in white. The code you provided copied below does not work. In coupon tab everything is fine

    public/class-wcvendors-pro-order-controller.php
    Line: 375
    Replace with this :

    //public/class-wcvendors-pro-order-controller.php Line: 375 Replace with this :
    $product_id = ( version_compare( WC_VERSION, ‘2.7’, ‘<‘ ) ) ? !empty( $item[‘variation_id’] ) ? $item[‘variation_id’] : $item[‘product_id’] : $item->get_product_id();
    view rawclass-wcvendors-pro-order-controller.php hosted with ❤ by GitHub
    File: public/class-wcvendors-pro-order-controller.php
    Line: 273 replace with

    // File: public/class-wcvendors-pro-order-controller.php Line: 273 replace with this:
    $coupon_amount = ( version_compare( WC_VERSION, ‘2.7’, ‘<‘ ) ) ? $the_coupon->coupon_amount : $the_coupon->get_amount();

    #62787
    Mircea
    Participant

    I have also solved it,
    thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.