Open AweSomeK101 opened 10 months ago
This is because your client isn't sending the customer information storing the customer information in the payment session data object. The payment sessiondata must have {customer:{id:string}}
BR PS: you can try this patch 1.1.46-next-v6 it throws a more sensible error
I'm only using the refund bit from the admin panel for now and that wasn't working.
{ resolve:
medusa-payment-phonepe`,
options: {
redirectUrl: process.env.PHONEPE_REDIRECT_URL,
callbackUrl: process.env.PHONEPE_CALLBACK_URL,
salt: process.env.PHONEPE_SALT,
merchantId: process.env.PHONEPE_MERCHANT_ACCOUNT,
mode: process.env.PHONEPE_MODE,
redirectMode: "POST",
},
}, `
and how do i use the patch you mentioned?
You need to just install the patch
hi , i have followed the documentation but not able to see any update in admin portal to include phonepe for the region
`::ffff:127.0.0.1 - - [26/Jan/2024:05:00:36 +0000] "POST /admin/returns/ret_01HN2174DA1T4VQTG40168JAT1/receive HTTP/1.1" 500 86 "http://localhost:9000/app/a/orders/order_01HN209KR3QJG3E896BDGV8A80" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" error: Cannot read properties of undefined (reading 'id')
TypeError: Cannot read properties of undefined (reading 'id')