WooCommerce
This guide describes how to integrate Sezzle into your WooCommerce website so that you can provide Sezzle as a payment option for your customers. After integrating Sezzle, your WooCommerce site will:
- offer Sezzle as a payment option on the following checkout pages -
- standard classic
- checkout blocks
- refund Sezzle payments from your WooCommerce order management system.
- display Sezzle promotional messaging.
- authorize and capture payments.
Integration Steps Overview
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 WooCommerce Extension
-
Log in to your website's Wordpress admin.
- Ex: your-website.com/wp-admin
-
In the left sidebar, click
Plugins
>Add New
. -
Search for
Sezzle
.
Admin Configuration
-
In the left sidebar, click
WooCommerce
>Settings
. -
Check the
Enable/Disable
checkbox for enabling Sezzle. -
Check the
Payment option availability in other countries
if you want to allow Sezzle outside ofUS
andCanada
.- Note, Sezzle operates only in
US
andCanada
. Be sure to check this option.
- Note, Sezzle operates only in
-
Set
Merchant ID
as received from theBusiness
section of Sezzle Merchant Dashboard. -
Copy your
Private Key
andPublic Key
from your Sezzle Merchant Dashboard, and paste them into the corresponding fields. -
Check the
Create order post checkout completion
checkbox for enabling WooCommerce order creation only after Sezzle checkout is successfully completed.- Note, this will only work with standard classic checkout not with checkout blocks.
-
Set
Minimum Checkout Amount
if you want to restrict Sezzle based on a minimum order total. -
Set the
Transaction Mode
asLive
for production andSandbox
for sandbox testing mode. -
Check the
Show Sezzle widget in product pages
checkbox for adding widget script in the Product Display Page, which allows enabling Sezzle Widget Modal in PDP. After saving if you don't see the widget in PDP, try installing it manually. -
Configure the installment plan widget under
Installment Plan Widget Configuration
settings -
Check the
Enable Installment Widget Plan in Checkout page
checkbox for enabling installment widget plan. -
Set the
Order Total Container Class Name
. Default iswoocommerce-Price-amount
. -
Set the
Order Total Container Parent Class Name
. Default isorder-total
. -
Check the
Enable Logging
checkbox for logging Sezzle checkout related data. This is helpful for debugging issues, if encountered. -
Click
Save Changes
.
Validate
Step through a test checkout to validate the integration is properly installed.
Important Note on Order Fulfillment
Before shipping the order, ensure that the Order Notes in the WooCommerce interface show the order status is Processing and include Payment approved by Sezzle. When these notes exist, you know that the customer completed the checkout at Sezzle, and you will be paid for the order.
WooCommerce will create an order regardless of whether the customer completes the checkout at Sezzle. Check the Order Notes and do not fulfill orders where the Sezzle checkout is not completed.
Manual Widget Installation
Using Elementor?
Within the Elementor Page Builder, drag and drop the Custom HTML block type into the site footer, adding the widget script snippet into the code box, then save and publish changes.
- In your WooCommerce, account, please go to
Appearance
, and thenTheme Editor
- Click
Theme Footer
to the right of the page - In the
Content
text area, insert the script on the last line of the code, and clickUpdate File
. The script below is what you will need to insert:
<script src="https://widget.sezzle.com/v1/javascript/price-widget?uuid={sezzle_merchant_uuid}"></script>
Note: You will need to update the {sezzle_merchant_uuid}
in the above script to reflect your store’s UUID. You can find your UUID in your Sezzle dashboard, under Settings
, and then Business
. When you enter your UUID, please make sure that you remove the { }
surrounding it.
Troubleshooting
If testing was unsuccessful, review the following:
- Sezzle WooCommerce extension is the most updated version.
- Go to
Plugins
>Installed Plugins
, then clickView Details
next to theSezzle WooCommerce Payment
. If there is an option to upgrade, do so now. - Sezzle extension is activated.
- Go to
WooCommerce
>Settings
and ensure the switch is turned On. Merchant ID
was entered correctly.- API Keys were entered correctly.
- It is recommended to use the Copy icon in the Sezzle Merchant Dashboard to avoid typos or extra spaces.
- If you have multiple accounts with Sezzle, the merchant ID and API Keys are tied to only one URL.
Show Sezzle widget in product pages
box is checked.- Widget script is present on your website and reflects the
Merchant ID
from your Sezzle Merchant Dashboard. - Go to a product page on your website.
- Right-click then select
Inspect
. - In the
Elements
tab, search forwidget.sezzle
.
Uninstall Steps
- Go to
Plugins
>Installed Plugins
. - Under
Sezzle WooCommerce Payment
, clickDeactivate
then clickDelete
.