WooCommerce Webhooks - WPQuickies

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • In this lunchtime #WPQuickies, I'll talk about how to set up and use webhooks ↪ with WooCommerce. This topic was suggested by regular WPQuickies viewers Michelle Facibeni, Helen Palombo and Maurice Cohen.
    🌟Highlights:
    * Webhooks explained in layman's terms
    * How to use them
    * What WooCommerce webhooks are available
    * Where to test them
    🧙‍♂️Speaker: Wil Brown zeropointdevel...
    Target Audience: Business Owners, Automation Ninjas
    📺Suggest a WPQuickies topic of your own here forms.gle/mMWC...
    #WPQuickies #WPSyd #WordPress #wordpressblogger #wordpressdeveloper #wordpressexperts #wordpresstips #wordpresshelp #wordpressdesigner #WooCommerce #OnlineShop #WordPressShop #Ecommerce #webhooks

ความคิดเห็น • 22

  • @patitorodri
    @patitorodri 3 ปีที่แล้ว +1

    Awersome, Will. Thank you also for the links. Very clear and nice.

    • @WilBrownAU
      @WilBrownAU  2 ปีที่แล้ว

      Glad it was helpful!

  • @praveen_javali
    @praveen_javali 3 ปีที่แล้ว +1

    Very informative, thank you very much.

    • @WilBrownAU
      @WilBrownAU  ปีที่แล้ว

      Glad it was helpful!

  • @gogawow
    @gogawow 3 ปีที่แล้ว +1

    Very nice! Thank you

  • @gmadesarrolloweb3054
    @gmadesarrolloweb3054 3 ปีที่แล้ว +1

    I'm from Argentina

  • @brendamvilla2377
    @brendamvilla2377 ปีที่แล้ว +1

    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.

  • @endtimewarriorsfireministr1011
    @endtimewarriorsfireministr1011 ปีที่แล้ว +1

    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.

  • @anirbanrubel
    @anirbanrubel 3 ปีที่แล้ว

    Can u show how to create Add to cart Api for woocommerce. How can we fetch data in Android app thorough woocommerce rest api. I can't find add to cart endpoint or so in woocommerce documentation. It have product, category all those end points but can't figure our add to cart.

  • @daveanything
    @daveanything 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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!

  •  3 ปีที่แล้ว

    when preparing a webhook firing for ping and validate but when real scenario realizing not firing.

  • @ipung6831
    @ipung6831 ปีที่แล้ว

    How to validate secret on http reques

    • @WilBrownAU
      @WilBrownAU  ปีที่แล้ว

      Webhooks should be using HTTPS and not HTTP

  • @DotnetistEnterprise
    @DotnetistEnterprise 3 ปีที่แล้ว +1

    nice.. I like aolready before watching

    • @WilBrownAU
      @WilBrownAU  2 ปีที่แล้ว

      Thank you so much 😀