Releases: PaystackHQ/plugin-magento-2
v3.0.4
What's Changed
- Fix/checkout external dependency loading by @jules-paystack in #66
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- Fix/ee admin order create crash by @jules-paystack in #64
Full Changelog: v3.0.2...v3.0.3
v3.0.2
fix: remove RequireJS template override that breaks checkout page
Adobe Commerce Marketplace was rejecting the module because the layout XML in checkout_index_index.xml overrode the core require.js block with a custom template. This template re-declared the global require config with only a baseUrl, clobbering Magento's RequireJS configuration and breaking the checkout page.
v3.0.1
What's Changed
- Fix/adobe commerce php84 nullable by @jules-paystack in #62
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Resolves #60 — Removes the unmaintained yabacon/paystack-php SDK (broken on PHP 8.3+) and replaces it with a lightweight Gateway/PaystackApiClient that uses curl directly.
Changes
- Custom API client (
Gateway/PaystackApiClient.php) — Handles transaction initialization, verification, webhook signature validation, and plugin tracker logging via curl. - Backward-compatible CSP — Replaced
csp_whitelist.xmlwith a PHP-basedCspPolicyCollectorthat works across all Magento 2.4.x versions (the XML schema changed in 2.4.8). - PHP 8.2+ fix — Added missing
$storeproperty declaration inConfigProviderto resolve dynamic property deprecation. - Payment verification fix — Fixed strict type comparison (
===) forquoteIdthat caused order status to remain "pending" after successful payment. - Email error handling — Wrapped
orderSender->send()in try-catch so email delivery failures no longer break the payment verification flow. - Docker dev environment (
dev/) — One-command setup with Magento 2.4.8-p3, OpenSearch, five test products with images, and pre-configured Paystack test mode. - Version bump to 3.0.0
v.2.5.0
Magento compatibility patch
-Updated from Paystack v1 to v2
-Added RequireJS configuration for external script loading
-Fixed PHP 8.3 compatibility issues
-Improved payment verification for inline mode
-Update CSP configuration
Changed version in composer.json
2.4.1 Update composer.json
Adds plugin tracker for metrics
Merge pull request #50 from tolu-paystack/plugin_tracker_refactor refactored plugin tracker as a function instead of class
Fixes order confirmation email bug
2.3.7 More Code Sniffer fixes
v2.3.6: Merge pull request #49 from PaystackHQ/revert-47-revert-46-master
This release fixes an issue that was affecting the sending of confirmation emails to customers