This document will help you in installing Sezzle's Shopware 5
plugin.
There are two ways of installing and upgrading the plugin.
- By composer.
- Manual Process.
- Open terminal and navigate to
Shopware
root path. - Run the below command for the adding the plugin into your codebase:
composer require sezzle/shopware5
- Download the .zip or tar.gz file from
Sezzle's
github repository. - Unzip the file.
- Navigate to
Shopware
[Shopware]/custom/plugins/
either throughSFTP
orSSH
. - Create
SezzlePayment
directory and copy the contents of unzipped folder to[Shopware]/custom/plugins/SezzlePayment
. - Login to
Shopware 5
Backend and navigate toConfiguration > Plugin Manager > Management > Installed
. - Find
Sezzle
from theUninstalled
list and click on the+
button to install the plugin. - Once installed, you will see
Sezzle
underInactive
list. Click on thex
button to activate the plugin. - After successful activation, you will be able to see
Sezzle
underConfiguration > Payment Methods
.
- Change the version number of the
sezzle/sezzlepay
insidecomposer.json
. - Open terminal and navigate to
Shopware
root path. - Run the following command for the updating the plugin to a newer version:
composer update sezzle/sezzlepay
- Download the .zip or tar.gz file from
Sezzle's
github repository. - Unzip the file.
- Delete the contents from
[Shopware]/custom/plugins/SezzlePayment
. - Copy the contents of
SezzlePayment
directory from unzipped folder to[Shopware]/custom/plugins/SezzlePayment/
. - Login to
Shopware
Backend and navigate toConfiguration > Cache/performance
. - Flush the cache storage by selecting
Clear shop cache
.
- Make sure you have the
Merchant UUID
and theAPI Keys
from theSezzle Merchant Dashboard
. You must be registered with Sezzle to access the Merchant Dashboard. - Navigate to
Customers > Payments > Sezzle > Settings
in yourShopware
Backend. - Enable
Sezzle
by checking theEnable for this shop
checkbox. - Set the
Public Key
andPrivate Key
. - For testing, enable the Sandbox mode by checking the
Enable sandbox
checkbox. - You can also verify your
API Keys
by clicking on theTest API Settings
button. - Set the
Merchant UUID
. - Set the
Merchant Location
as per the store origin. - Check the
Enable Tokenization
checkbox to enable customer tokenization in the Sezzle checkout. If the customer agrees to be tokenized, then future checkouts for this customer will not require a redirect to Sezzle. - Set
Payment Action
asAuthorize only
for doing payment authorization only andAuthorize and Capture
for doing instant capture. - Check the
Display errors
checkbox for showing upSezzle
related error code on the web URL on failure. - Check the
Enable Widget in PDP
checkbox to add the widget script and theSezzle Widget
Modal to the Product Display Page. - Check the
Enable Widget in Cart
checkbox to add the widget script and theSezzle Widget
Modal to the Cart Page. - Set
Logging
toERROR
to log only error messages orALL
to log all messages, including errors, warnings, and notices. - Save the settings and clear the cache.
- If you have successfully installed the Sezzle plugin, then Sezzle will be included as a payment method in the checkout page.
- Select
Sezzle
and move forward. - Once you click
Complete Payment
, you will be redirected toSezzle Checkout
to complete the checkout. Note: If your account is already tokenized, skip the next two steps as you will not be redirected to Sezzle. - [Optional] On the final page of Sezzle Checkout, check the
Approve {Store 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. - Finally, click on
Complete Order
to complete your purchase. - On successful order placement, you will be redirected to the order confirmation page.
- If
Payment Action
is set toAuthorize and Capture
, capture will be performed instantly from the plugin after order is created and validated inShopware
. - If
Payment Action
is set toAuthorize
, capture needs to be performed manually from theShopware
backend. Follow the below steps to capture.- Go the order and click on
Sezzle
tab. - Input a value in
Amount
field and click onCapture
to capture the payment inSezzle
.
- Go the order and click on
- Go the order and click on
Sezzle
tab. - Input a value in
Amount
field and click onRefund
to refund the payment inSezzle
.
- Go the order and click on
Sezzle
tab. - Input a value in
Amount
field and click onRelease
to release the payment inSezzle
.
- Login to
Shopware
admin and navigate toCustomers > Orders
. - Proceed into the corresponding order.
- Payment is successfully captured by
Sezzle
when:- Current Payment Status is
Completely Paid
. Capture Amount
equals theAuth Amount
.
- Current Payment Status is
- Payment is only authorized when:
- Current Payment Status is
Open
. Auth Amount
equals theOrder Amount
.Capture Amount
equals0
.
- Current Payment Status is
- Payment is refunded when:
- Current Payment Status is
Re-crediting
. Refund Amount
is equal to or less than theCapture Amount
.
- Current Payment Status is
- Payment is released when:
- Current Payment Status is The process is cancelled for a full release or Open for a partial release.
- Amount will be deducted from
Auth Amount
and should appear inReleased Amount
.
- Login to
Sezzle Merchant Dashboard
and navigate toOrders
. - Proceed into the corresponding order.
- Payment successfully captured has a status of
Approved
. - Payment authorized but not captured has a status of
Authorized, uncaptured
. - Payment refunded has a status of
Refunded
orPartially refunded
. - Payment released or not captured before the authorization expired has a status of
Deleted due to checkout not being captured before expiration
.
- Login to
Shopware
Backend and navigate toCustomers > Customers
. - Select customer to view tokenization details.
Sezzle Customer UUID
,Sezzle Customer UUID Expiry
andSezzle Customer UUID Status
will appear underFree text fields
.
- In the
Sezzle
settings page of yourShopware
Backend, enter theSandbox
API Keys
from yourSezzle Merchant Sandbox Dashboard
and check theEnable sandbox
checkbox, then save the configuration. Make sure you are doing this on yourdev/staging
website. - On your website, add an item to the cart, then proceed to
Checkout
and selectSezzle
as the payment method. - Once you click
Complete Payment
, you will be redirected toSezzle Checkout
to complete the checkout. Note: If your account is already tokenized, skip the next four steps as you will not be redirected to Sezzle. - Sign In or Sign Up to continue.
- Enter the payment details using test data, then move to final page.
- [Optional] Check the
Approve {Store 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. - Finally, click on
Complete Order
to complete your purchase. Sandbox
testing is complete. You can log in to yourSezzle Merchant Sandbox Dashboard
to see the test order you just placed.
- There is logging enabled by
Sezzle
for tracing theSezzle
actions. - In case merchant is facing issues which is unknown to
Merchant Success
andSupport
team, they can ask for these logs and forward to thePlatform Integrations
team. - Name of the log will be
plugin_dev-<current-date>.log
.It is always recommended sending thecore_dev-<current-date>
for better tracing of issues. - Logs can be find in
[Shopware]/var/log/
.