---
title: "Shift4Shop"
description: "Connect a Shift4Shop store to SureBright, see what is added to your storefront, know what happens to plans when an order changes, and disconnect."
---

You connect a Shift4Shop store from the SureBright merchant portal by approving SureBright's access in Shift4Shop. After that, offers show on your product pages and in the cart, and each order with a SureBright warranty line becomes a contract. Use this page when you connect a store or want to know why an order did not produce a contract.

<Note>
  **What stays in sync.** Orders reach SureBright as they happen. Your product catalogue is copied once, when the store is connected; later product changes are not received automatically, so ask your SureBright contact to refresh the catalogue after a large product update.
</Note>

## What you get on Shift4Shop

- The protection offer on product pages and in the cart.
- A contract for each warranty a shopper buys, cancelled for you when the warranty quantity is reduced or the order is fully refunded or cancelled.
- Your SureBright store and billing account created when you connect.
- Your product catalogue copied to SureBright once, at connection.

## What you need to do

| When | What you do |
|---|---|
| Once | Connect the store from the merchant portal and approve SureBright's access in Shift4Shop. |
| Once | Check that your products have a category. |
| Always | Leave the two SureBright frontend scripts in place, and do not edit warranty lines on orders. |
| After a large product update | Ask your SureBright contact to refresh the catalogue. |

## Connect your store

<Steps>
  <Step title="Start from the merchant portal">
    In the portal's [Settings](/merchant-portal/settings#connecting-a-storefront) click **Connect Store**, choose **Shift4Shop** and click **Proceed**. You are sent to Shift4Shop to sign in and approve SureBright's access to your store.
  </Step>
  <Step title="Wait while SureBright sets up the store">
    SureBright creates your SureBright store and billing account from your store information and currency, adds two frontend scripts to your storefront and copies your products. The portal confirms **Store authorized successfully.**
  </Step>
  <Step title="Review your products">
    Offers are based on the SureBright category on each product. Check [Products](/merchant-portal/products) for anything without a category.
  </Step>
</Steps>

## Scripts and warranty lines to leave in place

Two entries appear under your store's **Frontend Scripts**:

| Placement | Shown as | What it is for |
|---|---|---|
| **BODY** | `window.SureBright = { storeId: '<your store domain>' }` | Tells SureBright which store the page belongs to. |
| **HEAD** | SureBright SDK | Shows the protection offer on product pages and in the cart. |

Do not remove either script. Offers need both. If one is missing, ask your SureBright contact to recreate it.

When a shopper accepts an offer, a warranty line is added to the cart. Its title contains **SureBright** and **Warranty**, and its description records the plan term, the price and the offer the shopper accepted. SureBright uses that description to match the warranty to the right product after checkout, so do not edit warranty lines on orders.

## What happens when an order changes

You manage orders in Shift4Shop as usual. SureBright follows new orders and order changes.

| What happens in Shift4Shop | What happens to the plan |
|---|---|
| A new order has warranty lines | The contracts are created, one per warranty unit, each for the product it was offered on, including the product's option selection. |
| You change an order and reduce the warranty quantity | The contracts that no longer have a paid warranty unit are cancelled. |
| You fully refund or cancel an order | All of the order's contracts are cancelled. |
| A warranty line's description cannot be read | No contract is created. The line appears in **Order Resolution** for you or SureBright to resolve. |

Three details that affect what you see on a contract:

- The covered price is the product's unit price plus its option price.
- The contract holder comes from the order's customer and address details.
- A plan bought after the original order is matched to the product on the original order.

## Find your contracts in the merchant portal

Contracts show under **Recent Sales** on the portal's [Sales](/merchant-portal/sales) page. Warranties that could not be paired with a product, and orders missing customer details, show in **Order Resolution**; see [Why a contract is on hold](/contracts/holds).

## Disconnect your store

Ask SureBright to disconnect the store. SureBright then stops receiving your orders. Remove the two frontend scripts yourself if you no longer want the offer shown. Existing contracts stay in force.

## Related

- [Products](/merchant-portal/products)
- [Sales](/merchant-portal/sales)
- [Why a contract is on hold](/contracts/holds)
- [Pause or remove SureBright](/platforms/pause-or-remove)
