Shopify (with App Blocks Instructions)
Shopify
Shopify has disabled its Hosted Payment SDK and the legacy Sezzle payment gateway integration.
This guide describes how to integrate Sezzle into your Shopify website so that you can provide Sezzle as a payment option for your customers. After integrating Sezzle, your Shopify site will:
- Offer Sezzle as a payment option on the checkout page.
- Refund Sezzle payments from your Shopify order management system.
- Display Sezzle promotional messaging.
- Authorize and capture payments.
Integration Steps Overview
- Install and configure the Sezzle Payments app
- Test your integration
- (Optional) Sandbox Testing
Before You Begin
- You should have a Sezzle merchant account.
- Please visit our signup page if you don't have an account.
- Make sure you have the following Sezzle details handy.
- Familiarize yourself with the transaction flow when buying with Sezzle.
Install the Sezzle Payments app
- Click on
Add app
by navigating to the Sezzle Payments app. - Once the app is installed, you will be prompted to enter your production Sezzle public and private API keys.
For most merchants, we are able to pre-fill the public and private API keys based on the Shopify store. If we cannot uniquely identify the merchant based on the Shopify store, you will be required to fill in the keys. - Click
update settings
to verify your Sezzle account. - You will be redirected to the payment settings page, where you will need to activate Sezzle Payments for your store.
- Click
Activate
. - Once that is complete you should see Sezzle available as a payment method for your store.

To validate that you’ve successfully installed the new Payments App:
You should see Sezzle Payments
installed in your Settings
> Payments
.
Be sure to activate Sezzle Payments
Without activating Sezzle Payments, Sezzle will not appear in the checkout and the installation process is not complete. Verify this step has been completed.

Shopify Live Checkout
- In the Sezzle configuration page of your Shopify admin, enter the API Keys from your Sezzle Merchant Dashboard and uncheck the
Enable Test Mode
checkbox, then save the configuration. - On your website, add an item to your cart, then proceed to
Checkout
and selectSezzle
as the payment method. - Click
Place Order
.

- If you are redirected to the Sezzle checkout page, your integration is complete. Congratulations!
- Warning Don't complete the payment. Your checkout is now live, so you will be charged if you complete.
FAQS
- I have my Shopify Payment Capture set to
Manual
. What do I need to do?
Sezzle Payments will honor your Shopify Payment Capture setting. If you are set to Manual
, then you will need to manually capture payment on orders paid for by Sezzle. The authorization period can vary by Sezzle merchant, so we highly recommend you check the Sezzle authorization expiration at Settings > ecommerce in the Sezzle merchant dashboard. You can adjust this expiration period according to your needs.
- I have multiple stores on Shopify. What do I do?
There are several ways to install the payments app on your store. We recommend you use an incognito browser for this process. Navigate to https://{your-store.myshopify.com}/admin/settings/payments/alternative-providers/1057901 where the your-store.myshopify.com is to be replaced with the URL of your store. Once you log into the store, the rest of the process is the same. To install the payments app for another store, make sure to close the incognito browser and open a new session on the incognito browser.
- The order number in Shopify appeared in the merchant dashboard on Sezzle. I don't see it anymore?
Sezzle no longer has access to the Shopify order number. To track orders from Sezzle on Shopify, click the relevant order and then Click on Information from the gateway
. The payment ID should match the ID in the Sezzle Merchant Dashboard under the Reference-ID column.

Shopify order details

Reference ID inside Sezzle Merchant Dashboard
You can also search in Shopify Admin for Orders for the payment id using the format receipt.payment_id: <payment_id>
.

Searching for an order in Shopify
- I have the Sezzle inventory locking feature enabled today. Will this be enabled with the new app?
Unfortunately, no. Sezzle will no longer have access to view and adjust the inventory of a Shopify store. Without these permissions, we are unable to offer this feature alongside the new payment app.
- Will I be able to refund orders placed through the legacy gateway after moving to the new app?
Yes, refunds will work as usual from the Shopify Orders page for orders placed through the legacy gateway.
Shopify Sandbox Testing
With the new Sezzle Payments app, sandbox testing can be enabled in your Shopify admin by navigating to Settings
> Payments
> Sezzle Payments
, click Manage
, check Enable test mode
and click Save
. Also, be sure to click the Manage
button in Sezzle Payments, enter your sandbox API keys, check Testing with Sandbox API Keys
and click update settings
.
Install the Sezzle Widget app
- Log in to your website's Shopify admin.
- In your Sezzle Merchant Dashboard Setup Checklist, click
Install Sezzle Widget app
. - Click
Get the App
. - Click
Install App
.

- Within the Sezzle Widget app, enter your Public API Key and click
link sezzle account
.

Integrating Widgets and Checkout Button (with Embed Blocks)
- Once your account is linked, select the theme you wish to edit.

If you are using Shopify 2.0, it is recommended that you use our guide to integrate widgets with Shopify blocks here or our guide to integrate the Sezzle Checkout Button using Shopify blocks here
- Under Embed Blocks, click
preview product page widgets
orpreview cart page widgets
to preview widgets on your shop.

- In the Embed Block Editor panel, change the font size and font family as desired, then click Save.

- Activate the
Sezzle Checkout Button
embed block, then click to expand and change the button theme and content as desired. - Click Save.

Request Help
If the Sezzle Widget app is not able to automatically install the Sezzle widget or checkout button on your storefront, please use the Request Help form within the app to contact the Sezzle Merchant Integrations team.
Note: The Request Help form in the
Sezzle Widget
app is for widget and checkout button help only. For questions regarding your account or issues with the Sezzle payment option at checkout, please reach out to [email protected]
The Sezzle Merchant Integrations team does not respond to inquiries. If you request a response or if we need to contact you regarding your request, we will forward the response through our Merchant Support team.

Integrating Widgets with App Blocks
App Blocks are compatible with Shopify 2.0 themes only. If you wish to install widgets and checkout button on a vintage theme, please refer to the instructions for Embed Blocks above.
- In your Shopify Admin, go to Online Store > Themes.
- Click the green "Customize" button on the desired theme.

- Click on the dropdown menu at the top middle of the screen and select "Products" and complete the remaining steps below for each of the product templates you want the widget to appear on, as well as the Cart page.
- Under "Product Information" click "+ Add block" and select "Sezzle Widget".
- In the left sidebar drag the "Sezzle Widget" block under the "Price" block (or wherever you'd like the widget positioned on the page).
- In the App Block editor panel, adjust font family and font size as desired, then click Save.

If instead of a widget you see red text that says "Please complete the account verification step in ‵Sezzle Widget′ app to render widgets", return to the
Sezzle Widget
app and enter your public API key.

Integrating Sezzle Checkout Button with App Blocks
- In your Shopify Admin, go to Online Store > Themes.
- Click the green "Customize" button on the desired theme.

- Click on the dropdown menu at the top middle of the screen and select "Cart".
- Under "Subtotal" click "+ Add block" and select "Sezzle Checkout Button".
- In the left sidebar drag the "Sezzle Checkout Button" block under the "Checkout button" block (or wherever you'd like the button positioned on the page).
- In the App Block editor panel, adjust button template and theme as desired, then click Save.
- Template can be set to
Checkout with Sezzle
orPay with Sezzle
. - Theme can be set to
light
ordark
. - The default placement will place the Sezzle Checkout Button after default checkout button and inherit page styles.
- If unchecked, the button will be placed as indicated by the drag-and-drop placement. Styles may also be affected, based on the placement selected.
- If unchecked, the button will be placed as indicated by the drag-and-drop placement. Styles may also be affected, based on the placement selected.

If instead of a checkout button you see red text that says "Please complete the account verification step in ‵Sezzle Widget′ app to render widgets", return to the
Sezzle Widget
app and enter your public API key.

Uninstalling Embed Blocks
- In your Shopify Admin, go to Online Store > Themes.
- Click the green "Customize" button on the desired theme.
- Click the Extensions icon in the left toolbar.
- Toggle the desired embed block(s) to the OFF position, then click Save.

Uninstalling App Blocks
- In your Shopify Admin, go to Online Store > Themes.
- Click the green "Customize" button on the desired theme.
- Click on the dropdown menu at the top middle of the screen and select "Products" and complete the remaining steps below for each of the product templates you want the widget to be removed from, as well as the Cart page.
- In the left sidebar, select the Sezzle Widget section.
- At the bottom of the Editor panel, click
Remove Block
then click Save. - Click on the dropdown menu at the top middle of the screen and select "Cart".
- In the left sidebar, select the Sezzle Checkout Button section.
- At the bottom of the Editor panel, click
Remove Block
then click Save.

Uninstalling the Sezzle Widget App
- Go to Apps > Sezzle Widget.
- In the top-right corner, click the Menu icon, then select
App Settings
. - Click
Delete App
.Deleting the app will automatically remove all app blocks and embed blocks from all themes. Any code change installations will not be removed automatically.

Manual Theme Integration
If the Shopify app fails to maintain the widget script on the product pages, or to add the script manually for additional pages, complete the following steps:
- Go to
Sales Channels
>Online Store
>Themes
. - Click
Actions
, then selectEdit Code
. - In the
Code Explorer
, go to theLayout
folder and select thetheme.liquid
file. - Copy+paste the script to the very bottom of the file, then click
Save
.
The script to be inserted into your webpage is as follows:
Template:
<script src="https://widget.sezzle.com/v1/javascript/price-widget?uuid={sezzle_merchant_uuid}"></script>
Update {sezzle_merchant_uuid}
in the above script template with your site’s Merchant ID (removing the curly brackets), which can be found in the Sezzle Merchant Dashboard.
Example:
<script src="https://widget.sezzle.com/v1/javascript/price-widget?uuid=12a34bc5-6de7-890f-g123-4hi5678jk901"></script>
For assistance with widget configuration, click Request Addition of Widgets
in the widget step of your Sezzle Merchant Dashboard Setup Checklist.
Widget Troubleshooting
If testing was unsuccessful, review the following:
- Sezzle Shopify extension is the most updated version.
- Go to
Apps
>Sezzle Widget
, then clickAbout
. If there is an option to upgrade, do so now.
- Go to
- Sezzle gateway is activated.
- Go to
Settings
>Payment Providers
and ensure "Sezzle is active" is listed under theAlternative Payment Methods
section.
- Go to
- API Keys were entered correctly.
- If you have multiple accounts with Sezzle, the API Keys are tied to only one URL.
- It is recommended to use the Copy icon in the Sezzle Merchant Dashboard to avoid typos or extra spaces.
- Widget script is present on your website and reflects the
Merchant ID
from your Sezzle Merchant Dashboard.- If you have multiple accounts with Sezzle, the Merchant ID are tied to only one URL.
- Go to a product page on your website.
- Right-click then select
Inspect
. - In the
Elements
tab, search forwidget.sezzle
. - If the widget script is not present at all, your theme may not be supported. Contact the Sezzle team for a custom setup.
- If the widget script URL does not reflect the Merchant ID for this store's Sezzle account, it will need to be updated. Contact the Sezzle team to research and remedy the cause.
- Widget configuration is present.
- Go to product page on your website.
- Right-click then select
Inspect
. - In the
Console
tab, typedocument.sezzleConfig
.- If the value is not undefined and configGroups Array is more than 0, a config is present.
- Blocks and Embed Blocks support a long list of themes. If your theme is not supported, the config will not be present. Please use the Request Help form to request custom integration.
- Widget configuration is not being overridden.
- Go to a product page on your website.
- Right-click then select
Inspect
. - In the
Source
tab, openwidget.sezzle.com
>v1/javascript
>price-widget?uuid={merchant_id}
- If you see
document.sezzleConfig
in this file, a config override is present and may be out of date. This must be removed or updated from Sezzle's side.- Config overrides are necessary for implementing widgets on custom themes or templates, or adding advanced customization options to the widget.
- If you see a note in this file stating that widgets for this account have been deactivated, please contact Sezzle team to reactivate them.
- Widget appearance is not to merchant's standards.
- If you have noticed a bug in the widget, modal, or checkout button please use the Request Help form to notify us of the issue. We can then determine whether this is an issue for all merchants or your specific theme and work to resolve accordingly.
- We offer a few select customization options. Please use the Request Help form to request any of the following:
- Grayscale logo
- Reflect checkout minimum in widget
- Reflect Sezzle/Afterpay dual widget
- Style & position changes
- Conditional rendering for subscription, gift cards, etc.
- Conditional rendering above a certain price thresholdNote: Implementing customizations may prevent widgets from showing on unpublished themes and will require help from the Sezzle team to update widgets when a new theme is published.
Updated 4 months ago