While running the project, login and signup works completely fine. But when I signup as a manufacturer and wish to add products, it shows on the console that the 'returnValues' property is undefined. The error is generated on line 130 in the addproduct.php file. On further inspection I found that the 'receipt.events' comes out to be empty even on adding the product. I'm new to blockchain development, any help is welcomed:)
While running the project, login and signup works completely fine. But when I signup as a manufacturer and wish to add products, it shows on the console that the 'returnValues' property is undefined. The error is generated on line 130 in the addproduct.php file. On further inspection I found that the 'receipt.events' comes out to be empty even on adding the product. I'm new to blockchain development, any help is welcomed:)