All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed a call to Laravel helper methods that sometimes failed due to composer dependency issues
{warning} This release fixes a issue with completed orders not being marked as paid, so upgrading is strongly recommended.
- Now sends the
Merchant-Serial-Number
header on all requests by default
- Fixed deprecated shipping methods call
- Fixed exception when capture was happening on status change and a transaction couldn't be found
- Fix wrong JSON response when returning from Vipps and a order already was paid
- Fix wrong method being used to complete order on successful payment. This could lead to orders being marked as not paid.
- Fixed deprecated query builder method
- Fixed type parity when comparing paid amount and order total (#43)
- Fixed missing method error when capturing a transaction
- Fixed PSR-4/Composer 2 compatibility
- Fixed some faulty namespace references
- Added
errorFallbackUrl
so you can differentiate between payment errors/cancellation and successful payments - Added plugin info to default request headers
- Started initial translation work
- Removed
tightenco/collect
dependency - Changed
craftcms/commerce
dependency to^3.0
- Added parsing of environment variable for access token request
- If there is a discrepancy between paid amount in Vipps and Commerce, it will now use the order total if the discrepancy is less than 0.10
- Fixed marking order as completed on Express callback
- Fixed class param for express checkout links
- Fixed payment amount for successful express transactions
- Fixed missing address lines on Express payment that made status update fail silently
- Fixed JS event issue when there is multiple buttons
- Fixed error check on gateway response
- Fixed error when calling API through console commands
- Added Twig params to express button
- Added better error handling in shipping callback
- Fixed error with wrong status type in Commerce 2.1 when redirecting to Vipps
- Fixed payment request when no phone number is set
- Fixed error message for payment request
- Initial release