Flow: Recognizing Skipify Users for Faster Checkout

Known as Expedited Guest Checkout, this function of the SDK will speed up your customer's checkout significantly!

Introduction

This flow starts in the same manner as Enrolling New Skipify users, however here the consumer's email is recognized. This means that Skipify will take over the checkout experience, drastically reducing time to payment.

In addition, Skipify submits payment on your behalf using your merchant credentials.

📘

A registered Skipify consumer can be recognized even if they didn't enroll with you

This SDK feature will allow you to recognize any Skipify user regardless of how they enrolled, speeding up checkout across many different websites and payment portals

Workflow Description

In this flow, when a customer visits your checkout page and enters their email, you are capturing it with an event listener (described below). You then send that email to our SDK.

Behind the scenes, the SDK checks the email to confirm whether or not it's in our database.

In this flow, the email is in our database, so the SDK will kick off the Expedited Guest Checkout flow.

This is a full takeover of your checkout experience, where we present the consumer with a one-time passcode (OTP) and then allow them to select and edit payment methods. When the consumer goes to pay, we submit payment to your gateway with your appropriate credentials.

After an order has been submitted, we share the results with you via an Order Success/Failure Callback. This callback provides you with information about whether or not the payment was successful, allowing you to render the appropriate page on your website.

960

Resources

The above workflow points out specific SDK features that you will need to employ in order to successfully utilize Expedited Guest Checkout. They are listed below:

Email Address Listener

This is a simple bit of Javascript that should capture the email address once it is typed in, so that it can be sent to the SDK. Only send the email address when the user changes focus on the field.

Sample Code:

myEmailInput.addEventListener('blur', (e) => { 
    let email = e.target.value; 

    new window.GoCartSDK.Button({ // This will launch GoCart's SDK 
        // You will setup logic for creating an order and related processes using GoCart's callbacks  
    }).guestRedirect(email) // GoCart will check the entered email address and launch the Expedited Guest Checkout flow if the email exists in our database.
});

Expedited Guest Checkout

Documentation

The first thing that this function does is check internally to see if that customer's email is a registered Skipify user. In this flow, the customer's email is recognized, and the entire flow is taken over by Skipify. We submit payment on your behalf.

Payment Submission and Required Callbacks

Documentation

After an order has been submitted by Skipify, you will need to implement a callback via the SDK to receive the order status. This is how you will know where to send your consumer after Skipify has processed the order. It is also how you will receive the response Skipify got from your payment gateway.

Asynchronous Customer Recognition

If you would like to use our SDK to check if a consumer is enrolled outside of the checkout process, you can utilize this function. This is meant to give more flexibility during checkout. You can call this function with the following snippet:

new window.GoCartSDK.Button({
        orderDetailsCallback: () => {},
        success: () => {},
        error: () => {},
      }).customerExists(email)
      .then((response) => {
        console.log(response) // The response will be true if the customer exists and false if they do not exist.
      });