kuiper-nft-marketplace icon indicating copy to clipboard operation
kuiper-nft-marketplace copied to clipboard

Issue regarding _Paytoken param in listNFT

Open testingaccount-eth opened this issue 3 years ago • 1 comments

Hey kuiper, just need you help regarding what should be the address in _paytoken , I created a token and added its address but it is showing the same error "invalid pay token". Please help

testingaccount-eth avatar Jun 14 '22 08:06 testingaccount-eth

Hey @testingaccount-eth, I'm not sure your token address is already added to the payable token on the marketplace? If not added, it will revert to 'invalid pay token' when you call listNFT function. So after creating a token, you (as marketplace owner) need to add a payable token by calling the addPayableToken function. I appreciate you flagging issue, hope this fixes the issue!

kofkuiper avatar Jun 17 '22 01:06 kofkuiper