All notable changes to redsys-php
will be documented in this file.
- fix: Allow requests with amount 0 by @dtorras in #34
Full Changelog: https://github.com/creagia/redsys-php/compare/3.0.0...3.0.1
- POST requests responses are now handled by the package.
- Renamed exceptions: All the exceptions have been renamed to include the
*Exception
suffix. - Renamed
RedsysNotification
asRedsysResponse
. - POST requests responses returns
NotificationParameters
or aPostRequestError
.
- Drop spatie/data-transfer-object dependency
Fixes tests compatibility
This version is a complete rewrite. Though there are lots of breaking changes, all features of v1 are retained. Notable changes and additions:
- Currency amounts handled in cents as integer
- Every request parameter documented by Redsys is available
- Credential-On-File (token) helpers
- Redirection and REST integration methods
- Cast
amount
to float from Redsys notification
Initial release