Using the Razorpay payment button on the website is quite simple it gives a code like
<form>
<script
src = "https://cdn.razorpay.com/static/widget/payment-button.js"
data-payment_button_id = "pl_FNmjTJSGXBYIfp"
data-button_text = "Buy Now"
data-button_theme = "brand-color">
</script>
</form>
But there's some problem when implementing this button on react.js Button is visible in inspector element but not visible in the screen.