sezzle/shopware5
Composer 安装命令:
composer require sezzle/shopware5
包简介
Sezzle Payment Plugin for Shopware 5
README 文档
README
Sezzle Plugin for Shopware 5
Introduction
This document will help you in installing Sezzle's Shopware 5 plugin.
How to install the plugin?
There are two ways of installing and upgrading the plugin.
- By composer.
- Manual Process.
For all purposes assume [Shopware] as your Shopware 5 root directory.
Composer
- Open terminal and navigate to
Shopwareroot path. - Run the below command for the adding the plugin into your codebase:
composer require sezzle/shopware5
Manual
- Download the .zip or tar.gz file from
Sezzle'sgithub repository. - Unzip the file.
- Navigate to
Shopware[Shopware]/custom/plugins/either throughSFTPorSSH. - Create
SezzlePaymentdirectory and copy the contents of unzipped folder to[Shopware]/custom/plugins/SezzlePayment. - Login to
Shopware 5Backend and navigate toConfiguration > Plugin Manager > Management > Installed. - Find
Sezzlefrom theUninstalledlist and click on the+button to install the plugin. - Once installed, you will see
SezzleunderInactivelist. Click on thexbutton to activate the plugin. - After successful activation, you will be able to see
SezzleunderConfiguration > Payment Methods.
How to upgrade the plugin?
Composer
- Change the version number of the
sezzle/sezzlepayinsidecomposer.json. - Open terminal and navigate to
Shopwareroot path. - Run the following command for the updating the plugin to a newer version:
composer update sezzle/sezzlepay
Manual
- Download the .zip or tar.gz file from
Sezzle'sgithub repository. - Unzip the file.
- Delete the contents from
[Shopware]/custom/plugins/SezzlePayment. - Copy the contents of
SezzlePaymentdirectory from unzipped folder to[Shopware]/custom/plugins/SezzlePayment/. - Login to
ShopwareBackend and navigate toConfiguration > Cache/performance. - Flush the cache storage by selecting
Clear shop cache.
Configure Sezzle
Payment Configuration
- Make sure you have the
Merchant UUIDand theAPI Keysfrom theSezzle Merchant Dashboard. You must be registered with Sezzle to access the Merchant Dashboard. - Navigate to
Customers > Payments > Sezzle > Settingsin yourShopwareBackend. - Enable
Sezzleby checking theEnable for this shopcheckbox. - Set the
Public KeyandPrivate Key. - For testing, enable the Sandbox mode by checking the
Enable sandboxcheckbox. - You can also verify your
API Keysby clicking on theTest API Settingsbutton. - Set the
Merchant UUID. - Set the
Merchant Locationas per the store origin. - Check the
Enable Tokenizationcheckbox 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 ActionasAuthorize onlyfor doing payment authorization only andAuthorize and Capturefor doing instant capture. - Check the
Display errorscheckbox for showing upSezzlerelated error code on the web URL on failure. - Check the
Enable Widget in PDPcheckbox to add the widget script and theSezzle WidgetModal to the Product Display Page. - Check the
Enable Widget in Cartcheckbox to add the widget script and theSezzle WidgetModal to the Cart Page. - Set
LoggingtoERRORto log only error messages orALLto log all messages, including errors, warnings, and notices. - Save the settings and clear the cache.
Your store is now ready to accept payments through Sezzle.
Frontend Functionality
- If you have successfully installed the Sezzle plugin, then Sezzle will be included as a payment method in the checkout page.
- Select
Sezzleand move forward. - Once you click
Complete Payment, you will be redirected toSezzle Checkoutto 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 Dashboardto tokenize your account. - Finally, click on
Complete Orderto complete your purchase. - On successful order placement, you will be redirected to the order confirmation page.
Capture Payment
- If
Payment Actionis set toAuthorize and Capture, capture will be performed instantly from the plugin after order is created and validated inShopware. - If
Payment Actionis set toAuthorize, capture needs to be performed manually from theShopwarebackend. Follow the below steps to capture.- Go the order and click on
Sezzletab. - Input a value in
Amountfield and click onCaptureto capture the payment inSezzle.
- Go the order and click on
Refund Payment
- Go the order and click on
Sezzletab. - Input a value in
Amountfield and click onRefundto refund the payment inSezzle.
Release Payment
- Go the order and click on
Sezzletab. - Input a value in
Amountfield and click onReleaseto release the payment inSezzle.
Order Verification in Shopware Backend
- Login to
Shopwareadmin and navigate toCustomers > Orders. - Proceed into the corresponding order.
- Payment is successfully captured by
Sezzlewhen:- Current Payment Status is
Completely Paid. Capture Amountequals theAuth Amount.
- Current Payment Status is
- Payment is only authorized when:
- Current Payment Status is
Open. Auth Amountequals theOrder Amount.Capture Amountequals0.
- Current Payment Status is
- Payment is refunded when:
- Current Payment Status is
Re-crediting. Refund Amountis 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 Amountand should appear inReleased Amount.
Order Verification in Sezzle Merchant Dashboard
- Login to
Sezzle Merchant Dashboardand 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
RefundedorPartially refunded. - Payment released or not captured before the authorization expired has a status of
Deleted due to checkout not being captured before expiration.
Customer Tokenization Details
- Login to
ShopwareBackend and navigate toCustomers > Customers. - Select customer to view tokenization details.
Sezzle Customer UUID,Sezzle Customer UUID ExpiryandSezzle Customer UUID Statuswill appear underFree text fields.
How Sandbox works?
- In the
Sezzlesettings page of yourShopwareBackend, enter theSandboxAPI Keysfrom yourSezzle Merchant Sandbox Dashboardand check theEnable sandboxcheckbox, then save the configuration. Make sure you are doing this on yourdev/stagingwebsite. - On your website, add an item to the cart, then proceed to
Checkoutand selectSezzleas the payment method. - Once you click
Complete Payment, you will be redirected toSezzle Checkoutto 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 Dashboardto tokenize your account. - Finally, click on
Complete Orderto complete your purchase. Sandboxtesting is complete. You can log in to yourSezzle Merchant Sandbox Dashboardto see the test order you just placed.
Troubleshooting/Debugging
- There is logging enabled by
Sezzlefor tracing theSezzleactions. - In case merchant is facing issues which is unknown to
Merchant SuccessandSupportteam, they can ask for these logs and forward to thePlatform Integrationsteam. - 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/.
sezzle/shopware5 适用场景与选型建议
sezzle/shopware5 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 12 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「payment」 「gateway」 「shopware」 「sezzle」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sezzle/shopware5 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sezzle/shopware5 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sezzle/shopware5 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
repository php library
Payyo Gateway for the Omnipay payment processing library
Plugin for YOURLS. Default tools to use in some laemmi plugins
Client library to send SMS using Comilio SMS Gateway API (https://www.comilio.it)
GovPayNet driver for the Omnipay payment processing library
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-12-05