smart contract containing Payable function is not working when deployed using new version of metamask. can anyone please resolve this issue?
I just sent some ether to your contract and it fails. The issue seems to be that metamask is making a wrong estimation of the required gas. It asks for a gas limit of about 39500 gas, but looking at your contract the limit should be at least 41000 gas.
I set a gas limit of 100000 gas and it works, consuming 41325 gas.
here is the successful transaction: https://ropsten.etherscan.io/tx/0x631762aed20ac432fe82d4fc8521c0c7af370a3d34f64f3dd778017854bc37d6
Hope this helps.