- Platform Overview
- Resources and Guides
-
POS Integration
-
Getting Started
-
Core Concepts
-
Integration SDK
-
Certification
-
- Order Ahead
-
Provider Enablement
-
Provider Enablement
-
Endpoints
-
Developer Endpoints
-
-
API Reference
-
Getting Started
-
v15
-
- Access Tokens
- Campaigns
- Credit Cards
- Users
- Credit
- Locations
- Payment Methods
- QR Codes
- Progress Adjustments
- Orders
- Rewards
- Gift Cards
-
-
v14
-
- Credit
- Access Tokens
- Campaigns
- Categories
- Credit Cards
- Interstitials
- Locations
- Loyalty
- Orders
- Payment Tokens
- Support Tickets
- Users
-
-
LevelUp as Login
Web Checkout / Sample UX Flows
Using LevelUp as a login method is similar to using Facebook Connect, but instead of a social context, LevelUp provides a transactional context and can thus save a lot of time. In a normal checkout flow, the user must complete the following actions:
- Add Basic Information (Or Log In)
- Add Shipping Information
- Add Payment Information
- Add Billing Information
Enabling LevelUp as a login method can compress the long steps above into one quick step. Here’s what the experience looks like:
Online:
- User is presented with a Log In With LevelUp button and is asked to enter their email address.
- You pass the user’s email as the
login_hint
to LevelUp’s OpenID Connect Flow along with the requested permissions, such as:create_orders
orread_user_orders
. - User is redirected back to your
redirect_uri
with a one-time-usecode
param. - Use the
code
param to request anaccess_token
(as part of the LevelUp’s OpenID Connect Flow). - You can now use this access token to get the user’s basic information (registration accomplished), access the user’s addresses (delivery information accomplished) and of course process payments (payment information and billing address accomplished)
In-App:
- User is presented with a Log In With LevelUp button and is deep-linked into the LevelUp app. The deep-link URI must be configured with the desired permissions.
- LevelUp presents a dialog to the user explaining the permission request.
- The user accepts or rejects it and is redirected to your app with an access_token.
- You can now use this access token to get the user’s basic information (registration accomplished), access the user’s addresses (delivery information accomplished) and of course process payments (payment information and billing address accomplished)
Using LevelUp as a method of login is often preferable to simply using LevelUp as a method of payment because it enables you to take full advantage of the improved checkout experience that LevelUp can offer.
In some cases, you might want to use LevelUp as your sole account of record, in which case you’ll also need to be able to register users within your app. More details on that are available in the next section.