DEV Community

Discussion on: Integrate Razorpay Payment Gateway in your React app

Collapse
 
karanmartian profile image
Karan Kamdar

Great article! One question though: Would it be better to have the loadScript run at page load time as opposed to running JIT when the func is activated?

Collapse
 
soumyadey profile image
Soumya Dey

Yeah. That would make the Razorpay popup appear a bit quicker. Thanks for the suggestion.