A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mdn.github.io/dom-examples/payment-request/feature-detect-support.html below:

Feature Detect Support for Payment Request API

This example shows how a legacy checkout form can be replaced by a Payment Request - only for browsers that support it - using: if (window.PaymentRequest) { ... }.

For the purposes of the demo, imagine you have chosen an item and now you need to check out. Please note that no payments will be taken, this is just a front-end demo. If you would like to try entering card details, you can use dummy data, for example the card number 4111 1111 1111 1111.

Payment Request success. Demo complete. No payment has been taken.

The Payment Request API is unsupported or was cancelled or failed, so here we can proceed with our legacy web form (not implemented for this demo).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4