Forum Replies Created

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • Garry Mitchell
    Participant

    OK, something needs to be looked into here – I have set up a new PayPal account, ensured that this is entered into the Vendor PayPal Email field, and yet another order has had payment going directly to the Vendor’s personal email address.

    This can not continue, and I would really appreciate some further input to this.

    Garry Mitchell
    Participant

    Another instance of this has occurred, so I’ve taken another irate phone call from this person.

    I’ve now set up a brand new PayPal account as a workaround, to then transfer to my primary account, but this also means another set of paperwork to generate and submit each year to show these incoming transactions to this extra account.

    I’ve entered the details of this new PayPal account into the Store PayPal email address field, but if there is another field which is causing it to use the Users’ email address instead, it would be nice to know where else it might be pulling this information from.

    Garry Mitchell
    Participant

    Hi Anna

    Yes, there’s definitely not a PayPal address listed, either via editing the user or logging in as them, and no user_meta for that user ID either.

    Regards

    Garry

    Garry Mitchell
    Participant

    This email address appears for the user in the following user_meta:

    billing_email

    For another vendor, the correct email address appears in the ‘pv_vendor’ user_meta field, but for this user, this is not set.

    The payment has definitely not come through to either the Admin’s PayPal account, nor the previously entered PayPal account (before that field was cleared), but it did go to the user’s own email address.

    If there is another place that this could be retrieving the email address from, please let me know and I will check my database again – but at the moment it is using the incorrect email address.

    Regards,

    Garry

    in reply to: shipping cost going to admin #66191
    Garry Mitchell
    Participant

    Thank you very much, I shall give this a try!

    in reply to: shipping cost going to admin #66166
    Garry Mitchell
    Participant

    @Avishai, I’d be very interested in knowing how you’ve managed to get shipping costs working with other shipping methods!

    Garry Mitchell
    Participant

    Yeah, join the club of people who want this functionality.

    WCVendors knows all of the vendors for an order, and their shipping status… it does seem like a very logical and sensible thing for it to mark the order as completed.

    Imagine if Amazon did the same thing with their multi-vendor marketplace, and Amazon’s employees had to mark an order from a vendor as completed…

    in reply to: Descrepancy in Order Numbers #66065
    Garry Mitchell
    Participant

    Is this not the same issue as has been highlighted here: https://www.wcvendors.com/help/topic/js-error-on-order-tools/#post-43142

    In all URLs etc, you need to be using $order->id (which is the underlying WordPress Post ID for the Order), but in all display purposes, you need to be using $order->get_order_number() (which is the order number as WC displays it, and what these Sequential Order Number plugins modify)

    in reply to: Cancelled Orders via Paypal – Help! #65577
    Garry Mitchell
    Participant

    Just to update you, I’ve rolled back to 1.3.9 and it’s working again for me, so does definitely seem like a different issue.

    Thankfully I’ve been in contact with 2 of the 3 people who tried to place orders on my site, and all the vendors are separate divisions of a single club where I still have visibility of all PayPal accounts.

    I wish you luck with your issue and hope it’s resolved quickly!

    Garry

    in reply to: Cancelled Orders via Paypal – Help! #65566
    Garry Mitchell
    Participant

    No, we are not even getting to PayPal.

    Might (or might not be related) but yesterday I “upgraded” from 1.3.9 and now it’s broken…

    Maybe it’s not the same issue, and I need a new support thread for this…

    in reply to: Cancelled Orders via Paypal – Help! #65564
    Garry Mitchell
    Participant

    Hi,

    I’ve suddenly had a load of failed orders.

    When pressing ‘Place Order’ on the Checkout page, an error appears at the top of the page ‘Internal Server Error’

    The order is created in WooCommerce, left as Payment Pending.

    A similar issue hit the WooCommerce PayPal payment gateway the other day: https://github.com/woocommerce/woocommerce/issues/14956

    This was a change on PayPal’s end which affected one of the ways that payments are done with WooCommerce – maybe it is something similar here?

    in reply to: Adding Custom Column to Vendor Dashboard Orders #65413
    Garry Mitchell
    Participant

    Hi Marko,

    No, I have not looked into this any further, and rather disappointed too that WCVendors themselves have not posted any kind of reply, even if it were along the lines of ‘sorry there is no support for this’.

    Garry

    in reply to: Questions about 'Mark As Shipped' #51985
    Garry Mitchell
    Participant

    Bumping this up again, as it is causing me quite big headaches not having an order marked as ‘Completed’ when all Vendors have shipped.

    In most cases, my orders only contain items from a single vendor.

    Vendors can not have access to the back-end, as they should not be able to see all orders. As I stated before, this a huge burden on my Store Administrator(s), who have to wade through orders which are not related to them, and mark them as Complete, even though the Vendor has already done so.

    The other (more worrying) side is if the Administrator marks as completed an order which does not have their products – this will (incorrectly) inform the customer that their order has been Completed, when the Vendor has not shipped the product.

    Not having the Order Status update automatically when ALL vendors have marked as shipped (especially when set up with the Store Administrator also as a Vendor, as per your recommendation) is a huge oversight in functionality and user friendliness, in my opinion.

    Garry

    in reply to: Questions about 'Mark As Shipped' #44485
    Garry Mitchell
    Participant

    That will add a huge burden to administrators, though.

    It is known for each order how many vendors there are (and, your recommendation is that even the store owner is set as a vendor [although for my use that will require multiple people to be assigned to a store]), and when each of them mark as shipped.

    Surely it should be possible (and preferable) to allow automatic marking of the order as Complete once all vendors on that order have marked as shipped, especially with automatic payment of commissions using the Adaptive Payments gateway.

    This is an annoying oversight for me, something I didn’t realise this plugin didn’t do 🙁

    in reply to: Saving product as draft #43767
    Garry Mitchell
    Participant

    Perfect, thanks!

    (Oh, there’s 2 “editing live products” type options, I’d only enabled the one on the Pro tab, not the Capabilities tab)

    in reply to: Saving product as draft #43763
    Garry Mitchell
    Participant

    I’ve just found the same bug – I’m just setting up my first Vendor and their initial products for them (so that I can understand the process myself to assist later on).

    Even setting that ‘Vendors can edit published products’ to True doesn’t allow the Vendor to edit a product.

    What’s the ETA of 1.3.7? (Or, could you send over the updated dashboard class to me too?)

    Garry

    in reply to: Paypal Adaptive Payments Setup #43293
    Garry Mitchell
    Participant

    You know what… I didn’t see the Parallel Payments option originally – now I look back at my screenshots above, there it is… staring me in the face.

    I couldn’t see any of the “Who pays the fee”/”Primary recipient” if Chained Payments wasn’t selected.

    Hopefully I won’t need to re-apply and have it rejected due to this.

    With something this complicated, it is critical to keep your documentation up to date!

    in reply to: Paypal Adaptive Payments Setup #43255
    Garry Mitchell
    Participant

    I did an application to PayPal yesterday. It was approved within 4 hours.

    Here’s what I filled in, I hope this helps!




    in reply to: JS error on Order Tools #43142
    Garry Mitchell
    Participant

    I too am using Sequential Order Numbers (albeit the free version, not the Pro version).

    The issue is that within WCVendors, the URL is using the “pretty” order number, not the underlying order(post) ID.

    The URL call should be using the order ID, not the order number, as the order is subsequently loaded (to perform the update of shipping status etc) via the order (post) ID.

    To fix this (manually, and this WILL break the next time WCVendors is updated), in: wc-vendors-pro/public/partials/order/class-wc-vendors-pro-order-controller.php

    on line 477, change:

    'url' => '?wcv_mark_shipped='.$order->get_order_number()

    to:

    'url' => '?wcv_mark_shipped='.$order->id

    and the same anywhere else a URL is created which is then subsequently used.

    So – when displaying an order to the user/vendor/admin should always call get_order_number() but the underlying methods must use the order (post) ID.

    I hope the above helps you understand why we are experiencing this issue, and I look forward to having this issue resolved!

    Regards,

    Garry

    in reply to: Show 'Sold By' only for Vendors #37332
    Garry Mitchell
    Participant

    Hi Ben,

    Well, it turns out (for the first time I’ve encountered) the code wasn’t being called when included into a plugin, but is working when in the theme’s functions.php file.

    I’ve amended the code slightly (as the quoted code still showed the Sold by tag), and I didn’t want to link to the Vendor page (as I have the products categorised instead.

    remove_action( 'woocommerce_after_shop_loop_item', array('WCV_Vendor_Shop', 'template_loop_sold_by'), 9, 2);
    remove_filter( 'woocommerce_get_item_data', array( 'WCV_Vendor_Cart', 'sold_by' ), 10, 2 );
    remove_action( 'woocommerce_product_meta_start', array( 'WCV_Vendor_Cart', 'sold_by_meta' ), 10, 2 );
    remove_filter( 'woocommerce_order_product_title', array( 'WCV_Emails', 'show_vendor_in_email' ), 10, 2 );
    remove_filter( 'woocommerce_product_tabs', array( 'WCV_Vendor_Shop', 'seller_info_tab' ) );
    remove_action( 'woocommerce_add_order_item_meta', array('WCV_Vendor_Shop', 'add_vendor_to_order_item_meta'), 10, 2 );
    remove_action( 'woocommerce_after_shop_loop_item', 'loop_sold_by', 8 );
    remove_action( 'woocommerce_product_meta_start','product_sold_by', 8 );
    
    add_action( 'woocommerce_after_shop_loop_item', 'custom_template_loop_sold_by', 9 );
    function custom_template_loop_sold_by($product_id) {
    	$vendor_id     = WCV_Vendors::get_vendor_from_product( $product_id );
    	if ( $vendor_id != '1' ) { // Change "1" to the admins user id #
    		if (WCV_Vendors::is_vendor( $vendor_id )) {
    			$sold_by = WCV_Vendors::get_vendor_sold_by( $vendor_id );
    			echo '<small class="wcvendors_sold_by_in_loop">' . apply_filters('wcvendors_sold_by_in_loop', __( 'Sold by: ', 'wcvendors' )). $sold_by . '</small> <br />';
    		}
    	}
    }
    
    add_filter( 'woocommerce_get_item_data', 'custom_sold_by', 10, 2 );
    add_action( 'woocommerce_product_meta_start', 'custom_sold_by_meta', 10, 2 );
    function custom_sold_by( $values, $cart_item ) {               
    	$vendor_id = $cart_item[ 'data' ]->post->post_author;
    	if ( $vendor_id != '1' ) { // Change "1" to the admins user id #
    		if (WCV_Vendors::is_vendor( $vendor_id )) {
    				$sold_by = WCV_Vendors::get_vendor_sold_by( $vendor_id );
    				$values[] = array(
    							'name'    => apply_filters('wcvendors_cart_sold_by', __( 'Sold by', 'wcvendors' )),
    							'display' => $sold_by
    						);
    		}
    	}
    	return $values;
    }       
                    
    function custom_sold_by_meta() {               
    	$vendor_id = get_the_author_meta( 'ID' );
    	if ( $vendor_id != '1' ) { // Change "1" to the admins user id #
    		if (WCV_Vendors::is_vendor( $vendor_id )) {
    			$sold_by = WCV_Vendors::get_vendor_sold_by( $vendor_id );
    			echo apply_filters('wcvendors_cart_sold_by_meta', __( 'Sold by: ', 'wcvendors' )) . $sold_by . '<br/>';
    		}
    	}
    }

    Thanks for your help.

    Garry

    in reply to: Show 'Sold By' only for Vendors #37260
    Garry Mitchell
    Participant

    Hi Ben,

    Thanks for your reply – unfortunately that appears to add a second ‘Sold by’ to each product not assigned to a Vendor!! 🙁

    The main store has products added and maintained by multiple people – do I need to add all of their IDs to the code posted above, and add anyone else who might add products for the main store as they start, too?

    Regards,

    Garry

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