Open escottalexander opened 2 months ago
Okay. Thanks for the feedback. This is because we can't hard code the price. The price of the Item have to be set in the admin section. The product id is the itemId in the route params of the item page which is item1.
When I run
yarn deploy
I get this error:Moving the contracts to the
contracts
directory seems to fix the issue.Also, clicking the "Pay now" button while using ETH causes a revert because the transaction is sent without the value.