How to get the return value of the function

0

How to get a particular return value from the function.

I would like to get the Status value.

 $.ajax(settings).done(function (response) {
            console.log(response);
}

    
asked by anonymous 24.10.2018 / 15:44

1 answer

0

I'll leave here as an answer to get clearer:

 $.ajax(settings).done(function (response) {
            console.log(response);
            console.log(response.Payment.Status);
}
    
24.10.2018 / 16:01