Comments (3)
Hey @mderasse ,
Sorry for the delay getting back to you here.
It is weird that you are getting different types for the browserInfo.timeZoneOffset
property. We just call the built-in browser defined method of the Date object, getTimezoneOffset
. This returns a number. We don't do any further manipulation of that field.
I tested through BrowserStack different Edge versions (122, 124, 125, 126) and they are all returning as Integer
.
I am not sure what can be causing this function to return a string type in your case. Do you have more information about which browsers/versions are returning this as 'string', besides the Edge ones that I mentioned?
from adyen-web.
I was able to list a few user agent based on the payload the adyen component return.
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
from adyen-web.
Hi @mderasse ,
Thanks for sharing the browser list. We tested in different browsers as I mentioned above, and we always get the Integer
value. As pointed out above, we do not manipulate/cast the returned value at any moment. I suggest in this case that you add your own casting to Integer
if you are facing this problem.
If you are able to reproduce in any browser and you can show us that the value is not being returned as Integer, we can re-evaluate this and perhaps add a strict cast on our side.
Cheers
from adyen-web.
Related Issues (20)
- Prevent user from multiple clics on pay button HOT 5
- Error: ERROR: secured field iframes have failed to load HOT 7
- No focused class for the holder name field HOT 6
- [web dropIn]Click the payment button,Always loading HOT 1
- Adyen card component has broken navigation with enabled VoiceOver HOT 5
- autofill from holdername do not autofill credit card number expired date and CVC HOT 1
- Empty fields in the iframe in case of errors HOT 1
- Credit card installments label doesn't render HOT 2
- v6 > paymentMethodComponents > Component for "iDeal" missing HOT 5
- Placeholder in inputs of credit card component are missing in v6.0 HOT 2
- Documentation Embed script and stylesheet is empty HOT 2
- Live endpoints to 6.0.0 not exists HOT 1
- on 6.0.1 there is a bug with stencil build Property 'formatProps' in type 'UPI' is not assignable to the same property HOT 1
- Github stale bot test
- Missing en-GB translation causes 404 error in console HOT 1
- You must specify a countryCode when initializing checkout
- Translations not found for SDK 6.0.3 HOT 4
- Cards - Submit errors (Web component) HOT 2
- Google pay express onPaymentDataChanged not stopping the user from trying to pay while running HOT 2
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 adyen-web.