Type
magento2-module
Sezzle extension for Magento 2
magento2-module
MIT
None
None
None
None
None
This extension allows you to use Sezzle as payment gateway in your Magento 2 store.
composer require sezzle/sezzlepay
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
https://dashboard.sezzle.com/merchant/signup/
. Login to your dashboard and keep your API Keys page open.[ROOT]/app/code/
create folder called Sezzle
.Sezzle
, create folder called Sezzlepay
.php bin/magento module:enable Sezzle_Sezzlepay
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Stores/Configuration/Sales/Payment Methods/Sezzle Pay
in your Magento admin.https://gateway.sezzle.com
.Reason for this error is: Our Load Balancers support both HTTP/1.1 and HTTP/2. As a result, clients that support HTTP/2 will auto upgrade. It's likely that cURL also auto upgrades to HTTP/2, transparently i.e. it sends HTTP/2 request with a HTTP/2 response, on the wire. We use magento's core Zend Framework library for curl request and it does not support HTTP/2. We have plans to switch to another library or Magento's curl in future, to fix the issue for now please follow these instructions to apply patch to add HTTP/2 support to ZF1 library.
1. File path : <magento root>/vendor/magento/zendframework1/library/Zend/Http/Response.php, modify around line 185 :
From:
if (! preg_match('|^\d\.\d$|', $version)) {
To:
if (! preg_match('|^\d\.\d$|', $version) && ($version != 2)) {
2. File path : <magento root>/vendor/magento/zendframework1/library/Zend/Http/Response.php, modify around line 586 :
From:
if ($index === 0 && preg_match('#^HTTP/\d+(?:\.\d+) [1-5]\d+#', $line)) {
// Status line; ignore
continue;
}
To:
if ($index === 0 && preg_match('#^HTTP/\d+(?:\.\d+)? [1-5]\d+#', $line)) {
// Status line; ignore
continue;
}