Skip to content

Latest commit

 

History

History
 
 

payment-request-demo-simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Payment Request API simple demo

Accompanying blog post: "How to take payments on the web with the Payment Request API"

A simple front-end demonstration of the Payment Request API. You can just enter made-up details - it just simulates the server-side so won't actually take a real payment!

Try it out here

Development

To run locally, spin up any static web server, such as python -m SimpleHTTPServer or Chrome's web server extension.

Then load it up in a browser with support for the Payment Request API - try Samsung Internet v5, Chrome for Android, or preview builds of Edge.

If you're not familiar with pointing your mobile phone to a local server on your development machine, there are some instructions here and Samsung Internet specific info here, under 'How do I debug'.

Let us know if you have any questions @samsunginternet!