#Cannot read properties of undefined (reading 'payment_providers')

3 messages · Page 1 of 1 (latest)

lime forge
#

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?

lime forge
#

Found this from the medusa change log for 1.20 version, they say it is fixed but I am still getting error with payment_providers. Is it something related?

#

@turbid roost Any help here?