For a detailed tutorial on how to use this library please go through https://developers.google.com/pay/api/web/guides/tutorial
Once you have
bazel installed
please run bash git clone https://github.com/google/payjs.git cd payjs bazel build src:pay
License: Apache License 2.0
For a detailed tutorial on how to use this library please go through https://developers.google.com/pay/api/web/guides/tutorial
Once you have
bazel installed
please run bash git clone https://github.com/google/payjs.git cd payjs bazel build src:pay
Browser version: Edge 42.0.4.4057
OS: Android 7.0;; SM-N920C Build/NRD90M
When clicking Pay button with GooglePay in https://google-pay-demo.glitch.me/, I got the error
(index):134 DOMException
(anonymous) @ (index):134
Promise.catch (async)
onGooglePaymentButtonClicked @ (index):132
And the detail inside this error is
err: DOMException
code: 20
name: "AbortError"
message: "Request cancelled"
statusCode: "CANCELED"
__proto__: DOMException
code: (...)
name: (...)
message: (...)
INDEX_SIZE_ERR: 1
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
WRONG_DOCUMENT_ERR: 4
INVALID_CHARACTER_ERR: 5
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
INUSE_ATTRIBUTE_ERR: 10
INVALID_STATE_ERR: 11
SYNTAX_ERR: 12
INVALID_MODIFICATION_ERR: 13
NAMESPACE_ERR: 14
INVALID_ACCESS_ERR: 15
VALIDATION_ERR: 16
TYPE_MISMATCH_ERR: 17
SECURITY_ERR: 18
NETWORK_ERR: 19
ABORT_ERR: 20
URL_MISMATCH_ERR: 21
QUOTA_EXCEEDED_ERR: 22
TIMEOUT_ERR: 23
INVALID_NODE_TYPE_ERR: 24
DATA_CLONE_ERR: 25
constructor: ƒ DOMException()
Symbol(Symbol.toStringTag): "DOMException"
get code: ƒ code()
get name: ƒ name()
get message: ƒ message()
__proto__: Object
You can reproduce this issue with the detail above.
I tried to find related information but cannot find useful one that would make this work in Edge mobile. What I've tried and work is switching to View desktop siteoption in mobile device. The error is gone.(Of course it works in Edge on desktop device as well)
But with View mobile site option, it doesn't work.
Expected result: It should popup dialog to login with google account and able to make payment with GooglePay.
PS: This issue also happens in my application implementation but I use google pay demo so that it can be easily check for public here.
Please advise how to make it works on Edge mobile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.