Comments (6)
How were you using it? This file is in production for many marketplaces so I suspect this may have been misconfiguration on your end. Can you provide a reproducible example?
from balanced-js.
I 've just copied balanced.js from github to my project, and it did not work. Where should 'global' be defined at?
from balanced-js.
Global is defined by the browser. If you're copying it into your project it sounds like you're doing server side work. balanced.js is only for client side work and should never be hosted by you, only Balanced.
Check out balanced-node if you're trying to do something on the server.
I'm closing this issue since I suspect this is just balanced.js being misused. Reopen if I'm wrong :)
from balanced-js.
'Included in my project' means I downloaded it from balanced-js github repo, placed on server side to be served to web browser clients. Specifically I develop using Chrome browser. I still cannot use balanced.js in Chrome the way it is.
from balanced-js.
@vinkobuble you're still not giving me enough to reproduce and fix this error.
I'm using Chrome 33 and if I go to http://jsfiddle.net/an5Cz/35/ it works as I'd expect it to. Does that page work for you? All this example is doing is including https://js.balancedpayments.com/1.1/balanced.js and then calling the tokenize method on it.
Let me know if that works for you. If it doesn't then we can trouble shoot that, if it does then we need to find the difference between that example and your code. You can help by posting a gist of the rendered code so we can see what it looks like. How are you including balanced.js in your page. As I mentioned before I recommend you serve it from us, rather than serving it from your own source.
from balanced-js.
Once I switched to this balanced.js it works. Thanks for help.
from balanced-js.
Related Issues (20)
- Better validation of input HOT 2
- Library should be built unminified and beautified. HOT 1
- Remove requirement to match card type before allowing it to be submitted. HOT 2
- Rename isSecurityCodeValid in 1.1 HOT 4
- Rename validateRoutingNumber in 1.1 HOT 1
- account_type Field 1.1
- Type Parameter is incorrect for tokenizing and creating bank accounts
- the goot HOT 1
- Coinbase example should display the tokenized result
- Make balanced.js installable with bower HOT 4
- Allow coinbase `send` scope to be complemented with `send_limit_amount`
- Put balanced.js in bower / component HOT 4
- Fails to tokenize when '#' is passed into the address line field HOT 4
- Link in README is broken
- Balanced JS lib on Parse.com platform HOT 2
- Test Numbers always pass HOT 2
- Balanced js breaks in IE8 HOT 3
- Balanced server should be sending the "Vary: Accept-Encoding" header. HOT 1
- Add license header to the actual .js so it will be recognized as free software by LibreJS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balanced-js.