Skip to main content
Top

2019 | Book

Checking Out with the Payment Request API

A Practical Introduction to the HTML5 Payment Request API using Real-world Examples

insite
SEARCH

About this book

Quickly create consistent checkouts for use within websites, using the power of the HTML5 Payment Request API. This project-oriented book simplifies the process of creating and manipulating checkouts with the Payment Request API in browsers for websites or online applications, using little more than a text editor or free software.

One of the key concerns of any e-commerce company is ensuring customers complete the checkout process successfully, and for them to return. Unfortunately, many checkouts still suffer from a high level of drop-out. The Payment Request API is an open standard being developed by browser vendors to simplify payments for users with a quick and seamless autofill process enabling a broader set of online payment providers to participate in the market. The API is designed to be easy to implement across all supported browsers, and work with any payment type or service provider.

Checking Out with the Payment Request API equips you with a tool set that you can use to develop future projects, incorporate into your existing workflow and allow you to reduce any dependency on complex, custom-made checkouts that might be prone to failure, or unwieldy to use. You'll learn how to use the Payment Request API to create consistent checkouts quickly and easily, and work through practical example projects that will help familiarize you with using the API. We live in an age where speed and accuracy are of the essence – add effortless flow to your payments using this book today.

What You'll Learn

Implement the Payment Request API in a projectExplore some of the options for personalizing it for a projectGain an appreciation of pointers around user experience and how this affects the APIUnderstand how to manage issues and security when using the Payment Request APIWork through some example projects, from standalone demos to implementing in frameworks

Who This Book Is For

Website developers familiar with creating shopping carts and looking to leverage the HTML5 Payment Request API. Also ideal for those in agile development teams who want to focus on simplifying content in modern browsers using their existing tools

Table of Contents

Frontmatter
Chapter 1. Introducing the API
Abstract
Let me start with some simple facts:
Alex Libby
Chapter 2. Setting Up a Basic Checkout
Abstract
Now that we’ve been introduced to the Payment Request API, it’s time to get stuck into developing code! We’ve already seen snapshots of what it looks like back in Chapter 1 – before we can get down and dirty with our text editor, there are a few more tools we will need first, in order to complete the exercises in this book.
Alex Libby
Chapter 3. Configuring and Customizing Our Checkout
Abstract
Over the course of the previous two chapters, we’ve been introduced to the Payment Request API and created our first checkout form using the API; if all is well, we now have a basic understanding of how it works and seen how easy it is to create something without the use of additional software...or for that matter, being tied into any ancillary service!
Alex Libby
Chapter 4. Shipping
Abstract
Picture the scene if you will – you’ve just been on a well-known web site, to order the latest tech; you’ve chosen free delivery because you’re a cheapskate who won’t pay shipping if you can at all help it.
Alex Libby
Chapter 5. Integrating with a Payment HandlerPayment handlers
Abstract
Anyone who knows me personally will know that I’m often in my local corner store – I’ve become something of a regular, having been visiting it regularly for over a decade. Over time, I’ve seen people walk up to the checkout, whip out their mobiles or even certain smart watches, and wave them past the credit card machine. Yep, the days of paying by card are numbered, or as some might say, fast becoming old-school!
Alex Libby
Chapter 6. Pulling It All Together
Abstract
The combined revenue of the top three ranking web sites was $113 billion in 2018, yet the average online conversion rate for desktop users is just 3%.
Alex Libby
Chapter 7. Project: Enabling the API in a FrameworkFramework or CMS
Abstract
I’m going to break with convention and ask you to do something – granted, it’s a little unusual, but stay with me on this: it will all become clear! If you enter “top 10 JavaScript frameworks,” what do you get back?
Alex Libby
Chapter 8. Project: The Future of the Web PaymentsWeb payments API
Abstract
Cast your mind back to Chapter 1 – remember where we talked about the main participants in an online transaction? One of those is the payment handler: you know this better as Google Pay, or perhaps Apple Pay. With their combined resources, I doubt there will be many of you who won’t have seen at least one of these somewhere – either online or at your local store.
Alex Libby
Backmatter
Metadata
Title
Checking Out with the Payment Request API
Author
Alex Libby
Copyright Year
2019
Publisher
Apress
Electronic ISBN
978-1-4842-5184-3
Print ISBN
978-1-4842-5183-6
DOI
https://doi.org/10.1007/978-1-4842-5184-3

Premium Partner