Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Marketplace software update 3.2.7 and 8
Tagged: package_key, per product shipping, stripe, vendor_ID
- This topic has 0 replies, 1 voice, and was last updated 4 years, 10 months ago by Jamie O’Reilly.
- AuthorPosts
- January 17, 2020 at 4:02 pm #102449Jamie O’ReillyParticipant
Hi. Back in November 2019 we experienced a serious problem with Stripe Split pay with the shipping fees not being passed correctly to the vendor and admin when using Per Product Shipping plugin. We investigated and found that package_key is 0 so the code won’t add the vendor_id. This then set the package_key 0 as the vendor_id in the database. We changed line the first lines of code under //Shipping Vendor Reference in core/class-wcfmp-shipping.php to one that begins if(package_key > -1) along with a few other lines of code there (see attached image for full details) and this resolved the issue. Now the vendor ID is correctly passed to Stripe and the shipping fees are split as they should. I still can’t see this issue having been addressed through any of the recent updates although I can see there have been code changes in the same file with a whole bunch of code removed relating to shipping processing times and free shipping. Can you confirm if you have done anything in the recent updates that have addressed the issues that we experienced with the vendor ID not being passed to Stripe? We would appreciate it if this could be done as we are constantly having to retrospectively add the code with each update and this is time-consuming, expensive and tricky. Thanks. Jamie
Attachments:
You must be logged in to view attached files.
- AuthorPosts
- You must be logged in to reply to this topic.