Пікірлер
@hwcal2
@hwcal2 3 ай бұрын
Hi Wil. This is absolutely awesome. The code works great. Can I also add the Woocommerce "Order Notes" to the stripe information?
@WilBrownAU
@WilBrownAU 3 ай бұрын
Your welcome. Use $notes = $order->get_customer_order_notes(); to get thr customer order note data. If you need all notes including private notes use this code: global $wpdb; $order_id = $order->get_id(); // Make sure you have a valid order ID $table_name = $wpdb->prefix . 'comments'; $query = "SELECT * FROM $table_name WHERE comment_post_ID = %d AND comment_type = 'order_note'"; $notes = $wpdb->get_results($wpdb->prepare($query, $order_id)); You'll then need to itterate through each result and get the order note data.
@hwcal2
@hwcal2 3 ай бұрын
@@WilBrownAU Thanks for the quick response.
@waynecalcote9264
@waynecalcote9264 2 ай бұрын
@@WilBrownAU Hi again. I used the above snippet to pass notes to Stripe. If there are no notes, will this show up in Stripe as an empty field or will it just not show at all?
@WordPressSydney
@WordPressSydney 2 ай бұрын
@@waynecalcote9264 It shouldn't show up at all.
@akankshasingh07
@akankshasingh07 3 ай бұрын
Hey Wil, The code you shared was working awesome! till date but now when the plugin got updated it stoped serving the purpose that is Now I am not getting the additional metadata in stripe. Can you please help me with this? Thanks In advance.
@WilBrownAU
@WilBrownAU 3 ай бұрын
You need to be running the WooCommerce Stripe Payment Gateway wordpress.org/plugins/woocommerce-gateway-stripe/ and not WooPayments. WooCommerce did a big push where they told people to update to WooPayments directly from a button on the dashboard and many people moved over to the new plugin. WooPayments doesn't support sending meta data to Stripe. There are no developer hooks for passing the information. Let me know if that helps.
@jebus147
@jebus147 5 ай бұрын
Hi, I need help. The code worked very well for me until I updated the version of WooCommerce 5 days ago, since then it has not loaded the metadata in Stripe, not even an error message appears.
@WilBrownAU
@WilBrownAU 5 ай бұрын
I replied on the GitHub thread. This is not a WooCommerce plugin issue. The code requires you have the WooCommerce Stripe Payment Gateway plugin installed. The code will not work with WooPayments and currently there is no way to do with with WooPayments.
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq 7 ай бұрын
Does Perfmatters have heartbeat control?
@WilBrownAU
@WilBrownAU 5 ай бұрын
Yes, Perfmatters allows you to disable or change the frequency of the WP Heartbeat.
@OutdoorEnjoyer
@OutdoorEnjoyer 8 ай бұрын
Hi Wil, this is so helpful, thank you for the information. i have the metadata working great. quick question, is there a way to append the product name to the end of the description column on the payments dashboard? at the moment, stripe shows the comnpany and order number. if i can append the product name to the end that would be great!
@WilBrownAU
@WilBrownAU 8 ай бұрын
Thanks for the feedback. Anything data you can get out of the WooCommerce Order object, you can append as meta data. Are you asking about how/where it displays on the Stripe Payments dashboard or WooCommerce?
@Jay-zs2gm
@Jay-zs2gm 8 ай бұрын
👌 'Promo sm'
@WilBrownAU
@WilBrownAU 5 ай бұрын
Thanks, glad it helped you.
9 ай бұрын
hi will congrat , nice videos it helped a lot, i hope you are doing great, please upload more videos !!
@WilBrownAU
@WilBrownAU 5 ай бұрын
Thanks, glad it helped you! What type of video topics would you be looking for?
@ipung6831
@ipung6831 Жыл бұрын
How to validate secret on http reques
@WilBrownAU
@WilBrownAU 11 ай бұрын
Webhooks should be using HTTPS and not HTTP
@healthyasyoucan1737
@healthyasyoucan1737 Жыл бұрын
Thank you so much. This helped me get back into my admin dashboard!
@WilBrownAU
@WilBrownAU Жыл бұрын
Great - glad you're back into the WP admin dashboard!
@B3tterEveryDay
@B3tterEveryDay Жыл бұрын
Thank youuuu got my website back!!
@WilBrownAU
@WilBrownAU Жыл бұрын
Great! Happy to have helped.
@brendamvilla2377
@brendamvilla2377 Жыл бұрын
Hi! I am in the same boat as Dave here. I am creating an online store and am trying to add webhooks for certain events from my woocommerce store to my stripe account. I understand the concept of a webhook, sending information when events occur. My question is why is this important? In the example, you used a test url, but in a real life example, where is that information received? In a real case scenario, would the customer receive a notification that a coupon has been updated? In my scenario, would stripe receive information about actions and alert me? and most importantly, what is done with that information once it’s received? Any help trying to further understand this would be greatly appreciated
@WilBrownAU
@WilBrownAU Жыл бұрын
For an example, you could send order and customer data to a listening Zapier webhook. Then you can syndicate that data to pretty much any system, like your CRM. You could also use the webhook tpo send purchase information to a stock control system. Zapier is a middleware sevice that connects to other systems together. But webhooks in general can talk directly to each other. Stripe for instance has its own set of webhooks that you can send information out to. For example you could send a webhook to Zapier when a user cancels a subscription, then cancel the user registration in WordPress and send them a promotional email with a 25% coupon to try to entice them back. Hope that helps.
@WebSplashDigital
@WebSplashDigital Жыл бұрын
How to add title tag on links for wordpress elementor icon box
@WilBrownAU
@WilBrownAU Жыл бұрын
Not sure how this relates to the video title. Try posting your Elementor question to the Global Elementor Community FB group facebook.com/groups/916625091796611/
@martinkaspar5095
@martinkaspar5095 Жыл бұрын
hi Will - awesome explanation! plz do more vids that cover the new Theme - Twenty-Twenty Three (TT3). Hats off to you your channel really inspires me!! 😳♥♥♥ - its amazing! 🚀I wanna truly thank you for making this for us all. 🙏🙏🙏😊👍🏻
@WilBrownAU
@WilBrownAU Жыл бұрын
Thank you.
@endtimewarriorsfireministr1011
@endtimewarriorsfireministr1011 Жыл бұрын
hello, thanks for this tutorial, please I am having challenges with authenticating a purchase. This is what I want to achieve; I want to be able to redirect users from my website "A" after adding an item to the cart to website "B" to complete the payment. Update Website "A" after successful payment on the website "B". I am using woo commerce plugin. I need help, sir. I can provide you with my code if you need it so you understand clearly my issues
@WilBrownAU
@WilBrownAU Жыл бұрын
Won't happen. Cart sessions are stored as temp db entries on each site and as cookie sessions on your local machine. Transferring all that data to another website just to make the purchase is complicated and likely unnecessary. You'd need at the very least a duplicate ecomm system on both sites. I suggest outlining what you are trying to achieve and looking for another solution. You could use site A as a promo/sales/landing page promoting a product but the add ti cart button uses the url of site B to add its products to the cart. That way site A is only a marketing site and aite B is the real ecomm site.
@geckografix8045
@geckografix8045 Жыл бұрын
Seriously this was a fantastic video, easy to follow and insightful, thank you
@WilBrownAU
@WilBrownAU Жыл бұрын
Glad it was helpful!
@nomade00
@nomade00 Жыл бұрын
Why do a 17 min live stream with Powerpoint to showcase such a simple plugin, when you could have done a 3 min recorded video featuring the plugin with simple screenshare??
@WilBrownAU
@WilBrownAU Жыл бұрын
Because it was requested by my audience!
@gabrielmazza3339
@gabrielmazza3339 Жыл бұрын
Awesome thanks so much for this super helpful
@WilBrownAU
@WilBrownAU Жыл бұрын
Glad to have helped
@ellis7016
@ellis7016 Жыл бұрын
p̲r̲o̲m̲o̲s̲m̲ 🤪
@WilBrownAU
@WilBrownAU Жыл бұрын
😛
@sharonrowley-bates5325
@sharonrowley-bates5325 Жыл бұрын
Thanks Will.
@WilBrownAU
@WilBrownAU Жыл бұрын
Thank you, Sharon :-)
@WilBrownAU
@WilBrownAU Жыл бұрын
Somebody asked me about replacing JPG and PNG in the database with webP. You can use WP-CLI to do this using regex to find the files. Try this: wp search-replace "/(\/wp-content\/uploads\/[1-2]0[0-9][0-9]\/[0-9][0-9]\/[a-zA-Z0-9-_]*.)(png|jpg)/" "\1webp" --regex --precise --dry-run The --dry-run will just show you the results and not change the database. Remove it for the actual lice search and replace. This will find all .jpg and .png images and replace the filename with .webp. Assuming same filename as the original in .webp format in the same location on the server. Also assuming a core WP installation. You may need to tweak it for your setup, hence the dry run.
@WilBrownAU
@WilBrownAU Жыл бұрын
Somebody asked me about replacing JPG and PNG in the database with webP. You can use WP-CLI to do this using regex to find the files. Try this: wp search-replace "/(\/wp-content\/uploads\/[1-2]0[0-9][0-9]\/[0-9][0-9]\/[a-zA-Z0-9-_]*.)(png|jpg)/" "\1webp" --regex --precise --dry-run The --dry-run will just show you the results and not change the database. Remove it for the actual lice search and replace. This will find all .jpg and .png images and replace the filename with .webp. Assuming same filename as the original in .webp format in the same location on the server. Also assuming a core WP installation. You may need to tweak it for your setup, hence the dry run.
@martinkaspar5095
@martinkaspar5095 Жыл бұрын
Will - 😍 I love how you talk through every step and explain all! I really love all your work: The global Wordpress-Community is LITERALLY a learing community. So plz help in educating the world. can you come up with a new video that covers the new version . 6.1 This would support the worldwide communuity - We need you!🙏🙏🙏😊👍🏻😳♥
@WilBrownAU
@WilBrownAU Жыл бұрын
Thanks so much!
@robingraber9042
@robingraber9042 Жыл бұрын
Hello thank you, the transfer of the metadata has worked. But unfortunately I can't see the metadata in the Stripe export. Do you have a solution for this? 🙃
@WilBrownAU
@WilBrownAU Жыл бұрын
Hi Robin. If you are talking about the export within the Stripe dashboard then you can create a custom column and add the metadata to the column. Here's the doc support.stripe.com/questions/customizing-your-reports?locale=en-GB
@brucemckinnon2624
@brucemckinnon2624 Жыл бұрын
Hey Wil. Great topic. As a fulltime Wordpress dev, building themes for private clients and in an agency, I agree with what you're saying. Unfortunately, I've seen lots and lots of themes build by agencies based on Avada or Elementor and ACF, all with the common property of building themes as quickly as possible and with little thought to what will happen when the site owner wants to do mods. It's a bad trend that hurts both web site owners and the next web dev that takes over the sites.
@WilBrownAU
@WilBrownAU Жыл бұрын
It is an issue and no developer really wants to take over a badly built website. Thanks for sharing!
@Stephen_R_Smith_365tomorrows
@Stephen_R_Smith_365tomorrows Жыл бұрын
Very helpful - thanks for this!
@WilBrownAU
@WilBrownAU Жыл бұрын
You're welcome!
@visualmodo
@visualmodo Жыл бұрын
Truly good work!
@WilBrownAU
@WilBrownAU Жыл бұрын
Thank you!
@elmerbowen4188
@elmerbowen4188 2 жыл бұрын
😈 þrðmð§m
@jfejsa
@jfejsa 2 жыл бұрын
Good afternoon from Caves Beach.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Hello there!
@ciraloke
@ciraloke 2 жыл бұрын
Wasn't able to catch this on the day - felt bad as I was the one requested it. Also, Printful has fulfillment (printing) centres in EU and now in AU for most of the basic items. Some of the rarer products still have to shipped from the US. Thanks Wil
@WilBrownAU
@WilBrownAU 2 жыл бұрын
No worries Eugene - excellent topic request!
@shakespeakers
@shakespeakers 2 жыл бұрын
I have a php script, but would like to show content generated by a plugin in wordpress, can i use this to just show content of a page? but im still in my php enviroment with my own header, footer, menu etc?
@WilBrownAU
@WilBrownAU 2 жыл бұрын
You'll either have to initialise WordPress as per my video and then call the required plugin functions, or pull out the relevant code form the plugin files.
@jfejsa
@jfejsa 2 жыл бұрын
Thanks for a great overview of WordPress 5.9 Will.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
You're welcome
@martinkaspar5095
@martinkaspar5095 2 жыл бұрын
awesome - dear Will our WPQuickies are so awesome and outstanding. Keep up this great project. Many greetings to Australia - and thanks a ton
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Thank you! Cheers!
@nitinshinde642
@nitinshinde642 2 жыл бұрын
awesome! thanks for the help😘😘😘😘😘
@WilBrownAU
@WilBrownAU 2 жыл бұрын
You're welcome Nitin!
@efrilicom8151
@efrilicom8151 2 жыл бұрын
please how I can add debts of customer in order and in account of ther?
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Sorry you can't add debts in WooCommerce. Handle that in your accounting software.
@martinkaspar5095
@martinkaspar5095 2 жыл бұрын
dear Will, this is fantastic.👍🏻♥ Covering these topics will help the whole worldwide community: Appreciate all the efforts you put in to make this awesome tutorial. Awesome 👍🏻So intuitive and so much value about a great and awesome topic the Query_loop-Block and custom post-types. I'm so grateful I found your video. you had shown such an amazing lessons and in-depth steps. I wanna truly thank you for making this for us all. 🙏🙏🙏😊👍🏻 Plz do more such awesome videos. Hats off to you your channel really inspires me!! 😳♥♥
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Thanks Martin.
@martinkaspar5095
@martinkaspar5095 2 жыл бұрын
Hi dear Will, first of all: many many thanks for your video. This is awesome - your experience with the global settings and Styles theme.json is great: food on the table for the WordPress-Community. i love this - this is a great educational channel. - keep up your awesome channel - it is definitly a great channel.. Hats off to you it really inspires me!! 😳♥
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Glad it was helpful!
@BradK02
@BradK02 2 жыл бұрын
How secure is it? That's all your eggs in 1 basket. Commented as I'm watching the video, so if the answer is there please excuse the question.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Hi Bradley. As every system it's only as secure as a username and password, and in my case 2FA. Each account on ManageWP is silod from other accounts so a hacker would have to breach at the server-level to get access to all data on the server. Login tokens are issues in real-time and tunneled through HTTPS. There is an alternative system called MainWP which you can run as an instance on your own web server. Your same security questiosn applies though. At the end of the day, due dilligence is requried when choosing any third party system. Great question, thanks!
@miaorantes
@miaorantes 2 жыл бұрын
Where can I find the code? Hard to see on screen.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
You can get a link to the code in the presentation kzbin.info?event=video_description&redir_token=QUFFLUhqa244QVZ4UTUxQmdKZ0FIM1FsMk1IQkx3Y1YtUXxBQ3Jtc0tuUjhOWl9yWWtGcWRhU1BLS1NrN2NfaUxFdk00OWs1Z0xwcUc2WFh4aGY1eWN3S2JDSElic255ZHl3YV9teWlSWDQzckRBcFN3RVFFcUgtYkNLcFJhT19MSG5IRzV3VGRVS0R6TTF3TmJpbTRXY3N6QQ&q=https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2Fe%2F2PACX-1vSSXavGiFZWeyLaVn7YE7hprZgsK-opfOBIr0v6YGgSa7eCvot0zo6hfadS1EPZSWuhP1_I19_aK5-H%2Fpub%3Fstart%3Dfalse%26loop%3Dfalse%26delayms%3D3000&v=cCx5Y0XOaLM
@golemxiii
@golemxiii 2 жыл бұрын
I'll never understand why such useful contents gets so few thumb ups... Insightful info here. Thanks!
@elTriviato
@elTriviato 2 жыл бұрын
As for option 3 (where you having suspended live, take a snapshot of the database and append to your local dev database the records added on live since the dev database was started). Surely there are some tables which should be incorporated in their entirety. Say one of the shop clients has changed their password, this will NOT be in a new record but will be an update to an existing one. Are there other situations where tables need to be merged ? Does this difficulties of these upgrade dilemmas suggest that there are deficiencies in the WP methodology ? Can they be addressed ?
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Thanks Ross
@knuttlaarsen7218
@knuttlaarsen7218 2 жыл бұрын
Don't know how I stopmed onto this. Anyway Damn good clip 🤩🤩🤩. I also watched those similar from mStarTutorials and kinda wonder how you guys make these clips. MSTAR TUTORIALS also had cool information about similiar things on his channel.
@WilBrownAU
@WilBrownAU Жыл бұрын
Thanks!
@patitorodri
@patitorodri 2 жыл бұрын
Awersome, Will. Thank you also for the links. Very clear and nice.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Glad it was helpful!
@gregmcafee7778
@gregmcafee7778 2 жыл бұрын
How do I pull in the theme header and footer after I use this code?
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Using the wp_hear() and wp_footer() functions
@GarryNeeman
@GarryNeeman 2 жыл бұрын
Missed it live Wil but I went ahead and implemented ManageWP taking it at face value. Happy with it so far.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Fantastic!
@faizsheikh9442
@faizsheikh9442 2 жыл бұрын
In your video query loop is showing the Woocommerce product under post type but I am using pods and have 2 custom post types which is not showing under the gutenberg query loop block under post type drop down. Am I missing something here?
@faizsheikh9442
@faizsheikh9442 2 жыл бұрын
Hi Wil.... Thank you so much, it worked! :)
@WilBrownAU
@WilBrownAU 2 жыл бұрын
Great
@JonathanBaileyn2u
@JonathanBaileyn2u 3 жыл бұрын
Thank you Mr. Brown for doing this tutorial. Hope you and your's are well.
@WilBrownAU
@WilBrownAU 2 жыл бұрын
All good
@daveanything
@daveanything 3 жыл бұрын
Hi Wil, thank you for this video. To be honest, I am still a bit confused. I have spent time with stripe trying to understand these too. One would think, having been in IT my entire career I would not be so stuck on something so simple. But, if I may, I have a couple of questions, that maybe others will benefit from too: Background When I set up my site (woo->stripe) I was getting errors that my webhook did not exist. Somehow I stumbled through creating one. Then, a couple of weeks later, I was getting that message again. I did not understand them, and still don't but I got some help and put some url in there. Yesterday, I got an alert from stripe that my webhook has been disabled. (I have no idea why). Now, I am on yt looking for help!! :) 1. Am I to understand, the webhook is used to trigger an event (in the background) that stores information somewhere for someone to query later? 2. Are webhooks important to have? I asked stripe this question and they said yes. My site is very basic. We are membership-based. Someone signs up, they have access to the site, done. Soon we are adding a store that can be accessed by anyone. 3. I went to webhooks.site. You mentioned a couple of times that the site is test. Does this mean if I copy that URL that automatically popped up when I went to the site, is only for testing? I cannot keep the URL from there in my created webhook? 4. do sites generally have multiple webhooks? Meaning, one for each event? and again, this goes back to the first question of purpose. I am sorry for so many questions. You clearly are an expert and I clearly cannot find answers :) !! :)
@daveanything
@daveanything 3 жыл бұрын
Wil, I really do not know what to say besides thank you sincerely for your help. The one point you made about the webhook letting woo know about a payment really clicked with me as now I understand it is telling my program the user is good to go. I do think, however, I have messed up the web hooks enough that I may need to get someone to help me sort this out Thank you so much for being so generous. I’m an instance sub now!
@sunnyzhang9803
@sunnyzhang9803 3 жыл бұрын
Hi Wil, is there any way to test the Woocommerce webhook using localhost as delivery URL? Great video by the way
@jeanwerk9789
@jeanwerk9789 3 жыл бұрын
Thank you, Wil. I had warnings in Site Health about the missing imagick extension and now I know I can safely enable it.
@MobeenAbdullah
@MobeenAbdullah 3 жыл бұрын
Thanks for sharing this Wil. Looking forward to more videos on WP.