diff --git a/src/hooks/useCheckoutForm.js b/src/hooks/useCheckoutForm.js index 694ec52..a9d3f1d 100644 --- a/src/hooks/useCheckoutForm.js +++ b/src/hooks/useCheckoutForm.js @@ -197,7 +197,7 @@ export function useCheckoutForm() { const handleFetchPaymentMethod = async ({ type, values }) => { try { - const productsId = cart.map((item) => item.id); + const productsId = cart.map((item) => item.itemFk); const cartItensData = cart.map(({ id, message, ...rest }) => ({ id, message: message || "",