I upgraded medusa to 1.20 and then when ever I call a specfic custom made api i get this error on my terminal.
The error originates in node_modules/@medusajs/medusa/dist/services/cart.js, It occurs within a function in the CartService class. Looks like the code tries to access the payment_providers property of an object that's undefined. Does anyone has a workaround for this?
#Cannot read properties of undefined (reading 'payment_providers')
3 messages · Page 1 of 1 (latest)