HERE WE GO!
...
.then(response => {
this
.status =
'success'
;
this
.$emit(
'successSubmit'
);
this
.$store.commit(
'clearCartCount'
);
// console logs for you :)
this
.response =
JSON
.stringify(response,
null
,
2
);
console
.log(
this
.response);
})
.catch(error => {
this
.status =
'failure'
;
// console logs for you :)
this
.response =
'Error: '
+
JSON
.stringify(error,
null
,
2
);
console
.log(
this
.response);
});
});