I would like to share a issue / bug on the XDC network which is related to the Revert / Require statements and how it behaves based on the RPC being used, wallets being used.
You can understand about this issue by reading the github issue created by another dev.
Also look into this comment of how it behaves on Remix when an error occurs while using XDCPay vs Metamask.
You can also check about how All the wallets behave differently for an error in one of my previous xdc.dev post.
I think the goal should be to provide consistent error strings and handling revert / requires irrespective of RPC's or wallets being used.
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Please try with XDCPay 2.0, Hope it will work for you with remix.xinfin.network.
Please refer to the link below.