Receive data via WordPress REST API Endpoint from API Callback URL or Webhooks

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

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

  • @gurumeditationno.4251
    @gurumeditationno.4251 ปีที่แล้ว +2

    Great video, exactly what I was looking for! One note: Current versions of Wordpress require an addition an additional 'permission_callback' => '__return_true' argument to the register_test_route() arguments array

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

      Thank you for highlighting this. It is important to avoid any errors.

    • @technologysupportanddigita1128
      @technologysupportanddigita1128 5 หลายเดือนก่อน

      The missing piece, thank you for leaving your comment, I added that, and it finally works for me

  • @GoTechUG
    @GoTechUG 4 ปีที่แล้ว +5

    I need to go back to basics and learn more about arrays and loops. The way you explain things makes it very simple until i try to do it myself.

  • @TheArtOfStreetPhotography
    @TheArtOfStreetPhotography 4 หลายเดือนก่อน

    Thank you, your explanation is very clear, you are a great teacher!

  • @ronaldlussier1857
    @ronaldlussier1857 2 ปีที่แล้ว +3

    Fantastic video!!!! EXACTLY WHAT I WAS LOOKING FOR THANK YOU SO MUCH!!!!

  • @bernardkamau1686
    @bernardkamau1686 4 หลายเดือนก่อน

    Very helpful...I need to use the callback to receive JSON after user accepts and pays via the STK push

  • @tingtongraas
    @tingtongraas 10 หลายเดือนก่อน

    This really is a brilliant walkthrough for someone learning the ropes. How do you get that nice display of the json (e.g. at 7.42). Mine just shows the large block of unformatted json seen for a flash before at 7.41 mins. Thanks (and subscribed!)

    • @tingtongraas
      @tingtongraas 10 หลายเดือนก่อน

      ah, json formatter chrome extension. That's a bit easier to read now

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

    How didi yu get to your site manager?I am trying to allow Wordpress to act as a call back and collect data for me from an mpesa transaction

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

    Hey I have a question, I don't know if this comes from ignorance but here we go. If I use this method and many users do POST request when they retrieve the answers Could they get mixed up? I don't know if I'm explaining properly my idea of the problem, so let me know if my doubt it's clearly exposed.

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

      I hope I understood you well. Every request is unique so there won’t be a mix up. One request is done and completed before the next is done.

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

      @@TechiePress Thanks for your help man. Awesome content, saved my life.

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

    Helped me a Lot to understand Callback URL and webhooks in wordpress

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

      I am glad. I hope you make awesome stuff

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

    this was a great walkthrough of this process, thank you!

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

      I am glad you enjoyed it!

  • @farrawayy8632
    @farrawayy8632 4 ปีที่แล้ว

    This channel is what i search for long, thanks make tutorials

    • @TechiePress
      @TechiePress  4 ปีที่แล้ว

      Thanks for the kind words. What kind of tutorials do you like? WordPress or Woocommerce?

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

      For now Woofomarce

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

      Sorry xd, i mean Woocomarce

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

    Thanks for the video, its really noce to know how you can get what you want your site to do

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

    Super helpful tutorial. Thank you!

  • @bensosfrequents
    @bensosfrequents 2 หลายเดือนก่อน

    If you use POST in methods you cannot access that directly on the URL, if you want to test on the browser URL then you must add GET in methods.

  • @tharungowda5219
    @tharungowda5219 4 ปีที่แล้ว

    hi have a query.
    if i pass a parameter in WordPress page URL how can I take it, query and then post the result in the same page.

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

      You can use ajax to do that kind of query on the page.

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

    hi sir one help i bought one AEPS API its works fine , the API provider said to add webhook url in my panel , how do i get the status using php, please help

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

      I am not sure of your situation because APIs work differently or a designed in various ways. You might need someone well versed with the API or can read the documentation to help you with that.

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

      @@TechiePress i will again go through on document Thank you for reply sir

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

    Thank you for this tutorial. Its such an awesome tip.

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

    is it normal for a POST request like this to not be authenticated? seems like it would allow anyone to post data to that url?

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

      Well, you can make your own authentication implementation. One would need to know your endpoints, the parameters needed to pass. Now WP 5.6 has application passwords that allow someone who is a user to use the applications you create in WP. However, out of the box, any endpoints you create have no layer of auth. However, there are so many auth plugins you can use.

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

    How can I consume data from firebase-firestore to a WordPress woo-commerce website

  • @NguyenThanhNhaFPLCT
    @NguyenThanhNhaFPLCT 7 หลายเดือนก่อน

    thank you. It's so helpful!

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

    How can we create a webhook for monnify payment

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

    Thanks a lot. This really helped me.

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

    You've got good videos. Thanks for the videos

  • @WebsiteDeveloper-r6g
    @WebsiteDeveloper-r6g ปีที่แล้ว

    Make new video on: how to add (Travel Impact Model API) with wordpress site, custom php code with Plugins

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

    Hey
    I am following the same you did but i am not getting namespace or route in json response as you got

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

      Make sure to change your permalinks in settings to post-name. It is always the second last option in Settings admin > permalinks

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

      Firefox has that JSON data that's showing

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

    Thank you.

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

    Awesome

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

    Great!!!

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

    nice

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

    Hey can you please explain about
    http_api_curl

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

      I will add this to my list of todo.

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

      @@TechiePress thanks for your response

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

    How we could make a Webhook so for example when a Plugin is installed to send a REST API call to a 3rd party backend?

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

      You could use a hook to check when a new plugin is installed then push a message to a particular website url.

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

      @@TechiePress can it be when installed in general? Is there such a hook?

    • @TechiePress
      @TechiePress  3 ปีที่แล้ว +2

      Yes and No. here is an example implemented wordpress.stackexchange.com/questions/53413/deactivated-plugin-hook-get-the-name-of-the-plugin

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

      @@TechiePress thanks a lot!
      May I also ask if you have a tutorial on how to make a WP plugin with React?

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

      I have not done any like that. Sorry.

  • @hatemmahmoud2593
    @hatemmahmoud2593 11 หลายเดือนก่อน

    thanks alot 🤍