microsoft / Windows-appsample-shopping

A sample app that demonstrates the UWP Payment Request APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

topic languages products
sample
csharp
windows
windows-uwp

Payment Request API Sample App

A mini-app that presents a basic shopping experience where a user can buy emoji. This app shows how to use the Payment Request APIs to implement the checkout experience. It also demonstrates a basic multi-page XAML UI that uses the Model-View-ViewModel (MVVM) pattern.

This sample runs on the Universal Windows Platform (UWP).

Front page screenshot Shopping cart screenshot

Features

Payment Request API Sample App demonstrates:

Universal Windows Platform development

Requirements:

Additionally, to be informed of the latest updates to Windows and the development tools, join the Windows Insider Program.

Running the sample

Note: The platform target currently defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.

The default project is YetAnotherShoppingApp and you can Start Debugging (F5) or Start Without Debugging (Ctrl+F5) to try it out. The app will run in the emulator or on physical devices.

Code at a glance

If you’re just interested in code snippets for certain API and don’t want to browse or run the full sample, check out the following files for examples of some highlighted features:

About

A sample app that demonstrates the UWP Payment Request APIs.

License:MIT License


Languages

Language:C# 100.0%