Comments (1)
I kinda did this on purpose to verify the behavior on unsupported browsers. In a production environment, I would expect the button to not show.
However, for now, a browser would only support either the Payment Request API or Apple Pay JS, but not both (i.e. until Safari supports Payment Request API as well). So if you feel strongly about this change, let me know and I can update it.
from web-payments-example.
Related Issues (10)
- Payment sheet closes with "payment not completed" message HOT 1
- Demo returns 404
- forever start server/index.js && forever logs -f 0 HOT 1
- Not able to run HOT 5
- ApplePay Sandbox test account HOT 3
- Action required: Greenkeeper could not be activated 🚨
- Update Android pay identifier
- Payments possibilities HOT 1
- What is PSP_USERNAME
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 web-payments-example.