Skip to main content
This guide explains how to add Sezzle as a payment option on your Magento 2 website, enabling customers to use Sezzle at checkout.
Sezzle’s Magento 2 extension is certified in the marketplace and can be downloaded from GitHub.
All tokenized orders will be processed as Pay in Full.

Install the Sezzle Magento 2 Extension

Follow the instructions here to install the Sezzle extension to your Magento setup

Configure Sezzle

  1. Log in to your Magento admin site
  2. Go to Stores > Configuration > Sales > Payment Methods > Additional Payment Solutions
  3. Next to Sezzle, click Configure
  4. Click I've already setup Sezzle, I want to edit my settings
    If you have not already signed up for Sezzle, you must do so now before proceeding

General

  1. Set Enabled to Yes
  2. Enter Public Key and Private Key, as found in your Sezzle Merchant Dashboard
  3. Select the Payment Mode: Live
  4. Set Min Checkout Amount to restrict Sezzle payment method below the given amount
  5. Select the Payment Action
  6. Select Enable Customer Tokenization
  7. Set Sort Order to manage the position of Sezzle in the checkout payment options list
    1 General Settings Jp

In-Context Settings

In-Context Solution opens Sezzle payment processing in an iframe or pop-up. When disabled, shoppers will be redirected to Sezzle for payment processing, then returned to the merchant site upon completion.
  • Set Enable In-Context Solution to Yes to enable In-Context Checkout.
  • Set In-Context Checkout Mode
    • IFrame will open Sezzle in a modal over the merchant site
      • For security reasons, Sezzle must whitelist site URL(s) wishing to use this option.
    • Pop Up will open Sezzle in a new window
      • This option works without additional configuration from Sezzle’s end.
In Context Settings Jp

Settlement Report Settings

  1. Set Enable Settlement Reports to Yes to enable the Settlement Reports Dashboard
  2. Set Range to a value based on which you want to fetch the Settlement Reports
  3. Set Enable Automatic Syncing to fetch the Settlement Reports asynchronously
    This requires cron to be enabled
  4. Set Schedule and Time of Day for the automatic sync to run
    3 Settlement Report Settings Jp

Widget Settings

  1. Set Enable Widget in PDP to Yes to display Sezzle on-site messaging after the product price on the Product Detail Page
  2. Set Enable Widget in Cart Page to Yes to display Sezzle on-site messaging after the cart total on the Cart Page
  3. Set Enable Installment Widget in Checkout Page to Yes to show the Sezzle installment plan widget under the Sezzle payment option on the Checkout Page
  4. Set Path to Price Element to define where in the Checkout Page the order total text value will be detected for the installment widget
  5. Save the configuration and clear the cache
    Widget Settings Jp
    5 Pdp Widget Jp
    Cart Widget Jp

Widget Support

If widgets do not appear on the PDP and/or cart page after enabling the Widget Settings, click the Request button in this section to contact the Sezzle Widget team for assistance.
Widget Support Jp

Developer Settings

  1. Set Enable Log Tracker to Yes to trace the Sezzle checkout process
  2. Set Send Logs to Sezzle to Yes to send the logs to Sezzle automatically
    This requires cron to be enabled
  3. You may download the latest logs any time by clicking on Developer Logs: Sezzle Log
  4. Save the configuration and clear the cache
    8 Developer Settings Jp

Clearing the Cache

  1. Navigate to System > Cache Management
  2. Click Flush Cache Storage
    • Your store is now ready to accept payments through Sezzle

Sezzle Order Management

Sandbox Testing

  1. On your dev/staging site, go to Stores > Configuration > Sales > Payment Methods > Additional Payment Solutions
  2. Next to Sezzle, click Configure
  3. Under General, update Payment Mode to Sandbox
  4. Replace Public Key and Private Key with the API keys from your Sezzle Merchant Sandbox Dashboard
  5. Click Save Config
  6. On your website, add an item to the cart, then proceed to checkout and select Sezzle as the payment method
    1. If customer is not tokenized, click Continue to Sezzle
    2. If customer is tokenized, click Place Order
    3. If In-Context checkout, click Pay with Sezzle
  7. Sign In to Sezzle or Sign Up to continue
  8. Enter the payment details using test data, then proceed to the final page
  9. Check the Approve {Website Name} to process payments from your Sezzle account for future transactions
    You may revoke this authorization at any time in your Sezzle Dashboard to tokenize your account
  10. If your account is already tokenized, order will be placed without redirection
  11. After payment is completed at Sezzle, you will be directed to your site’s Successful Payment page
    Sandbox testing is complete. You may login to your Sezzle Merchant Sandbox Dashboard to see the test order you just placed.

Capture Payment

If Payment Action is set to Authorize and Capture

  • The capture will be performed instantly from the extension after the order is created and validated in Magento.

If Payment Action is set to Authorize

  • You will need to capture the payment manually from the Magento admin using the following steps:
    1. Navigate to Sales > Orders, find the order to capture, and click View
    1. In the upper-right of the form, click Invoice
    1. Review the order details, then click Submit Invoice
    This will automatically capture the payment in Sezzle

Refund Payment

  1. Navigate to Sales > Orders, find the order to refund, and click View
  2. In the upper-right of the form, click Credit Memo then OK to confirm your action
  3. Review the refund details, then click Refund Offline
    This will automatically update the Sezzle Order Status in Sezzle Merchant Dashboard to Refunded or Partially Refunded as applicable

Release Payment

  1. Navigate to Sales > Orders, find the order to release, and click View
  2. In the upper-right of the form, click Cancel then OK to confirm your action
    The Void was formerly used, but will be deprecated in future versions
    This will automatically update the Sezzle Order Status in Sezzle Merchant Dashboard to Deleted due to checkout not being captured before expiration, indicating the payment has been fully released. Magento does not support partial releases.

Order Verification in Magento Admin

  1. Log in to Magento admin
  2. Navigate to Sales > Orders, find the order to verify, and click View
    Order StatusTotal PaidDescription
    ProcessingGrand TotalPayment was successfully captured by Sezzle
    PendingDoes not equal Grand TotalPayment is authorized but not captured yet
    ClosedN/APayment has been refunded
    CanceledN/APayment has been released

Order Verification in Sezzle Merchant Dashboard

  1. Log in to Sezzle Merchant Dashboard
  2. Navigate to Orders, then find and click the order to verify
    Order StatusDescription
    ApprovedPayment was successfully captured by Sezzle
    Authorized, uncapturedPayment was authorized but not captured yet
    RefundedPayment was refunded
    Deleted due to checkout not being captured before expirationEither the payment was not captured before the authorization expired, or the payment has been released

Customer Tokenization Details

  1. Navigate to Customers > All Customers
    • Select the customer to view tokenization details
  2. If the customer is tokenized, the Sezzle tab will appear
    • The Status, Token, and Token Expiration will appear on the tab
      9 Customer Tokenizaton Jp

Settlement Reports

  1. Navigate to Reports > Sales > Sezzle Settlement
    • A list of recent Settlement Reports will be shown
  2. To make a Quick Sync, enter the From and To Date and click Sync
  3. To view details of a report, in the Action column, click View
  4. To download a report, in the Action column, click Download
    • You can download the Settlement Report in CSV or Excel format
      10 Settlement Reports List Jp

Troubleshooting

If testing was unsuccessful, review the following:
  1. Sezzle-Magento2 extension is the latest version
  2. Sezzle extension is enabled
    1. Go to Stores > Configuration > Sales > Payment Methods > Additional Payment Solutions
    2. Next to Sezzle, click Configure
    3. Ensure Enabled is set to Yes
  3. API Keys were entered correctly, and for the correct environment
    It is recommended to use the Copy icon in the Sezzle Merchant Dashboard to avoid typos or extra spaces
  4. Cache Storage was flushed
  5. Widget script is present on your website and reflects the Merchant UUID from your Sezzle Merchant Dashboard
    1. Go to a product page on your website
    2. Right-click then select Inspect
    3. In the Elements tab, search for widget.sezzle
  • If all the above checks failed, the merchant can forward the <magento root>/var/log/sezzlepay.log to the Sezzle team at [email protected]
  • It is always recommended to send the system.log and exception.log for better tracing of issues