W3C Payment Request API Samples


Static Shipping

A sample that accepts credit card payments and provides a couple of shipping options

See the code
							
							
					

Dynamic Shipping

This sample accepts credit card payments and varies the availability and price of shipping options depending on the shipping address. See how the shipping price increases when the item is being shipped outside of Washington State.

Try this Washington address:

400 Broad St
Seattle, WA 98109
See the code
							
							
					

Digital Merchandise

A sample that accepts credit card payments and does not request shipping information

See the code
							
							
					

Contact Info

A sample that accepts credit card payments and requests user's contact information

See the code
							
							
					

Resources