zyra / cordova-plugin-stripe

A Cordova plugin that lets you use Stripe's Native SDKs for Android and iOS.
MIT License
93 stars 57 forks source link

Really need help #40

Closed javasol1 closed 7 years ago

javasol1 commented 7 years ago

First of all apology for being naive if i am missing something simple. I recently started with cordova so not sure if i am missing anything basic. I followed the exact steps as you mentioned and i am getting this error

Uncaught TypeError: Cannot read property 'stripe' of undefined

It seems like stripe object is coming as undefined. i added the plug-in successfully. Would really appreciate your help. Other plug-ins are working fine.

javasol1 commented 7 years ago

I figured out the issue. You have to wait for the proxy added before you make the 1st call