Create a contact with additional fields lifecyclestage and leadstatus

contacts

#1

When I send data from HubSpot, he gets only the standard fields (firstname, email, phone, etc.). Lifecycle stage is only Lead (Subscriber - it contacts from another site), and Lead status is always empty.

https://integrate.hubspot.com/uploads/default/original/1X/4120ba1abaf6ea43ad9159d63bc3beae254df4c3.png

html code
http://codepen.io/golinka/pen/aBXoQX

js code
function modal() {
var successs = $(’.successs’);
var data = $(’#modal’).serialize();

 $.ajax({
            type: "POST",
            url: "/send-contact.php",
            data: data,
            success: function(data) {
                $('.mod').fadeOut();
                setTimeout(function(){
                    successs.fadeIn();
                    setTimeout(function(){
                        successs.fadeOut();
                    },1500);
                },500);
            },
            error: function(xhr, str){
                $('.mod').fadeOut();
                successs.addClass('alert-danger');
                successs.removeClass('alert-success');
                successs.innerHTML= xhr.responseCode;
                successs.fadeIn();
                setTimeout(function(){
                    successs.fadeOut();
                },2000);
            }
        });
    
}

and send-contact.php

Images that can help you understand the problem

https://integrate.hubspot.com/uploads/default/original/1X/b30090d1294d71242f1cbacec16ebee27e395c8a.png

https://integrate.hubspot.com/uploads/default/original/1X/496f72d443c13ef9f4386261e2f50e38470b0f22.png

https://integrate.hubspot.com/uploads/default/original/1X/4e59f048cd12f47e7a18e249d59f3be1e7d6007a.png