Hey, thanks for the reply. I understand that it changes from theme to theme even if you just put it there. That’s also a reason i’ve suggested you to once look “Razorpay for Woocommerce” so that you can simply check how it’s done and you don’t need to do it from scratch. It’ll help you. Another feature is that, in that razorpay plugin itself, even if you skip the payment page(after checking our payment method), or simply press back, then in the order page, there will be “pay” button near our order. That’s a good feature too. Look into that once if possible.
Thanks again mate.