• You have the next ajax call on assets\js\frontend\custom-checkout-map.js
    xhr.open("POST", "/wp-admin/admin-ajax.php", true);

    If the site is in a subfolder it produces an error , because that URL isn’t found
    so in the backend you should call to this:
    admin_url('admin-ajax.php')
    and pass that value to javascript, because the ajax URL is dynamic.

The topic ‘custom-checkout-map.js admin-ajax.php Error’ is closed to new replies.