Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author WPGetAPI

    (@wpgetapi)

    Hi,

    Yes this API can be used with WPGetAPI. All of the endpoints can be used no problem.

    Thread Starter Cham Agency

    (@ahmirof)

    wow, great.
    To integrate the api with the woocommerce should i use custom developments and coding or your plugin covers all?

    Plugin Author WPGetAPI

    (@wpgetapi)

    Our plugin can integrate with Woocommerce but depending on what you are wanting to do, it would also still require custom coding.

    What exactly are you wanting to do?

    Thread Starter Cham Agency

    (@ahmirof)

    I want to get orders from my customers in my WordPress website with WooCommerce, and the api send and place the order in the source website,and the source code send the order status using the api so i want to see the order status in the dashboard

    Thread Starter Cham Agency

    (@ahmirof)

    I installed your plugin , but i don’t know how should i config the endpoints, would you please show me a example with the api i’ve sent? i’ll be thankful and if i see it worked i definitely buy your premium version in near future

    Plugin Author WPGetAPI

    (@wpgetapi)

    Hello,

    It sounds like you would need to get some custom development done as what you are wanting to do is rather complex.

    But to try out our plugin you can look at the following which should help.

    Quick Start Guide: https://wpgetapi.com/docs/quick-start-guide/
    Adding the API Key: https://wpgetapi.com/docs/connect-using-api-key-in-query-string/
    Using the template tag: https://wpgetapi.com/docs/using-the-template-function/

    But your project sounds fairly complex and would require custom development.

    Thread Starter Cham Agency

    (@ahmirof)

    Dear Sir, Madam, or whoever you are ! ?? I have to say thank you so much, I found a way and your plugin is the exact solution for me. Again, Thank you

    Now i have 3 other questions:

    1- If I add the short code or the template to a page/post, is there any way someone find the api key i used in the endpoint?

    2- can you give me a guide/ keyword to search or something like these to change the response style? i mean the responsed parameters needs to change and visulized and change before show to user. how can i do this change?

    3- one of my endpoints will send the order to the source website, how can I add this endpoint and integrate it with WooCommerce or one of its alternatives? so when someone placed the order on WooCommerce the endpoint run, how can i do this ?

    Plugin Author WPGetAPI

    (@wpgetapi)

    Hi,

    1 – this could only be found if your website was hacked or if you leave the debug=true option on. Our plugin does not reveal api keys on the frontend.

    2 – sorry, I’m not sure what you mean with this one? Could you explain a little more?

    3 – you would need to use a Woocommerce hook – have a look at the answers here: https://stackoverflow.com/questions/42530626/getting-order-data-after-successful-checkout-hook
    You could use the Woocommerce action ‘woocommerce_thankyou’ to get the order details and then add these order details to the endpoint

    Hope this helps.

    Thread Starter Cham Agency

    (@ahmirof)

    About my second question :
    the API response is something like these :
    {
    “response”: 123456
    }

    how can i modify its style ? for example extract and show just 12346 not the rest of response

    Plugin Author WPGetAPI

    (@wpgetapi)

    Are you using the template tag or the shortcode?

    If using the shortcode, you would need the Pro plugin to be able to extract certain keys. You can then simply add this to your shortcode: keys="response"

    If using the template tag, then you can do something like this (replacing the API_ID and ENDPOINT_ID with your own):

    $data = wpgetapi_endpoint( 'API_ID', 'ENDPOINT_ID', array('debug' => false) );
    echo $data['response'];
    • This reply was modified 2 years, 4 months ago by WPGetAPI.
    Plugin Author WPGetAPI

    (@wpgetapi)

    Marking as resolved now as we haven’t heard back in over a week.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Use this for SMM’ is closed to new replies.