Thanks for the Feedback. I use the echo or var_dump() to see what I have to work with. The information returned is json from the server. However, you can save the data in json or txt file using fwrite() if need be or even save it in the DB as an option. Is there a reason for saving it in the json file?
GoTechUG Hiding the menu is not a good plan. It comes from a particular issue with the code I had in the initial lesson. WordPress does not allow two header echo calls. It breaks!
Great video, i have a question, i need to implement a call POST to an Payment API, how can I do for call my plugin when the user do click in "buy" button.
Hi Diana, Are you making a payment gateway like for woocommerce? Or directly call an API from clicking the button? If you just want the second option, I would advise for you to use WP Ajax to get information from the form or input fields that can be stored in the DB or even used in JS fetch or using wp_remote_get() and feed that information from Ajax as headers or body parts in your API query. I hope this helps. Let me know if you have more questions
Great. Woocommerce works with payment gateways because I handled payments, tracking of shipping and checkouts for you by default. Please read this article to see how to make a gateway. www.skyverge.com/blog/how-to-create-a-simple-woocommerce-payment-gateway/ After making a default gateway like the one above, you can tap the existing woocommerce filters to use wp_remote_get to send information to your external API. I hope this helps
@@TechiePress Thanks, now my new payment gateway appears in checkout page, but then I need to ask the phone number when client push "Place Order" and I can not find the correct hook forthat and in this moment is directly going to a thanks page.
please let me know how to design this page or how to add any wordpress page here? actually i am going to design it for job posting page, where i'll show form to store job detail in my database and want to retrive that from database to another wordpress page. please reply ASAP. Thanks
This video was very helpful!
One question though: Instead of using echo for var_dump...Is there a way we could store such data in a .json file?
Thanks for the Feedback. I use the echo or var_dump() to see what I have to work with. The information returned is json from the server. However, you can save the data in json or txt file using fwrite() if need be or even save it in the DB as an option. Is there a reason for saving it in the json file?
I finally made this Add #WordPress External API query content to a local Plugin file th-cam.com/video/SPEJh9D6a3A/w-d-xo.html. I hope it’s helpful.
great job
Hiding that menu is something I've never thought of.
Thanks for this video.
GoTechUG Hiding the menu is not a good plan. It comes from a particular issue with the code I had in the initial lesson. WordPress does not allow two header echo calls. It breaks!
nice job!
I said I will come here some day and watch your videos. This is a tone of valuable information.
Great video, i have a question, i need to implement a call POST to an Payment API, how can I do for call my plugin when the user do click in "buy" button.
Hi Diana, Are you making a payment gateway like for woocommerce? Or directly call an API from clicking the button?
If you just want the second option, I would advise for you to use WP Ajax to get information from the form or input fields that can be stored in the DB or even used in JS fetch or using wp_remote_get() and feed that information from Ajax as headers or body parts in your API query. I hope this helps. Let me know if you have more questions
@@TechiePress is for woocomerce
Great. Woocommerce works with payment gateways because I handled payments, tracking of shipping and checkouts for you by default. Please read this article to see how to make a gateway. www.skyverge.com/blog/how-to-create-a-simple-woocommerce-payment-gateway/
After making a default gateway like the one above, you can tap the existing woocommerce filters to use wp_remote_get to send information to your external API. I hope this helps
@@TechiePress Thanks, now my new payment gateway appears in checkout page, but then I need to ask the phone number when client push "Place Order" and I can not find the correct hook forthat and in this moment is directly going to a thanks page.
You can add a field to the check out form requiring the phone number to be filled before payments.
please let me know how to design this page or how to add any wordpress page here? actually i am going to design it for job posting page, where i'll show form to store job detail in my database and want to retrive that from database to another wordpress page. please reply ASAP. Thanks