DEV Community

Discussion on: How to create a smart contract to receive payments

Collapse
olanetsoft profile image
Olubisi Idris Ayinde💡

Nice post.

I have a questiopn please, i tried running the test locally to test my contract but i keep getting this error "Failed to send money" what do you think could be the casue pls. @emanuelferreira

Collapse
emanuelferreira profile image
Emanuel Ferreira Author

Thank you!

how are you sending money using the web3? you need to pass the value on your web3 call function.