Hi,
First thanks for the library, it has helped me a lot, but I found a problem or I am doing something wrong I have tried to create a new transaction but it always returns error 422 (Unprocessable Entity)
I tried to send
let data={ transaction: { currency: 'BRL', amount: '24.89', kind: 'capture', parent_id: 4665713787012 } }
I have also tried
let data = JSON.stringify( { transaction: { currency: 'BRL', amount: '24.89', kind: 'capture', parent_id: 4665713787012 }})
Hi, First thanks for the library, it has helped me a lot, but I found a problem or I am doing something wrong I have tried to create a new transaction but it always returns error 422 (Unprocessable Entity)
I tried to send
let data={ transaction: { currency: 'BRL', amount: '24.89', kind: 'capture', parent_id: 4665713787012 } }
I have also tried
let data = JSON.stringify( { transaction: { currency: 'BRL', amount: '24.89', kind: 'capture', parent_id: 4665713787012 }})
shopify.transaction .create(order, data) .catch((err) => console.error(err));