Home › Forums › WordPress Plugins › Ajax requests to UPS API fetch not working
- This topic has 5 replies, 2 voices, and was last updated 10 years, 2 months ago by vinny.
January 3, 2013 at 8:02 am #1985CenthiGuest
Ajax requests to UPS API fetch doesnot working on the checkout page. Please help me ASAP
January 3, 2013 at 8:42 am #1986
Please provide the error message (check firebug), XML request/responses, and a link to the site. You did not give me anything to work on!
January 3, 2013 at 8:55 am #1988CenthiGuest
Hi Vinny !
On Checkout page, below billing and shipping address, it shows only. On Firebug there no trace for XML response. I followed all the steps in UPS shipping details on admin side as per your example
Please Choose Shipping*
View Shipping Options
Thanks for quick turnaround on this.
January 3, 2013 at 9:05 am #1989
Centhi, that still doesn’t help. With Firebug console turned on, click on “View Shipping Options”. You will see a GET request. Click on the arrow next to the get request to see the responses.
Before you do that, however, go to WP Admin -> Settings -> eShop Shipping Extension and turn on debugging.
After you’ve made a request, refresh the settings page and click to display the debug XMLs.
January 3, 2013 at 9:24 am #1990CenthiGuest
Vinny, I tried to debugging, But View Shipping Options link doesn’t work. So no request was in settings page.
January 3, 2013 at 9:56 am #1991
As discussed over email, your theme does not handle wp_enqueue_script and wp_localize_script. Without the necessary JS, it is impossible to make any Ajax requests.
- You must be logged in to reply to this topic.