ashwamegh / razorpay-react-demo

Razorpay React.js bindings
https://ashwamegh.github.io/razorpay-react-demo/
MIT License
18 stars 8 forks source link

Razorpay is undefined in frontend! #1

Closed nandubatchu closed 6 years ago

nandubatchu commented 6 years ago

In your front-end code, where are you importing the var Razorpay to do new Razorpay() ?

ashwamegh commented 6 years ago

@nandubatchu Sorry for the late reply, but in the front end I am using the global exposed Razorpay (from the CDN) to create its new instance.

I am closing this issue, for now, if found again, please post the exact behavior you tried running on.