Hello, I have script that updates the cart attribute:
const xhr = new XMLHttpRequest();
xhr.open(‘POST’, ‘/cart/update.js’);
xhr.setRequestHeader(‘Accept’, ‘application/json, text/javascript, /; q=0.01’);
xhr.setRequestHeader(‘Content-Type’, ‘application/x-www-form-urlencoded; charset=UTF-8’);
xhr.setRequestHeader(‘X-Requested-With’, ‘XMLHttpRequest’);
xhr.send(‘attributes[transaction_id]=’.concat(encodeURIComponent(params.transaction_id)));
It was working fine until yesterday/today, all of a sudden the note_attributes of the created order is empty, any idea what’s going on?
Thank you!