Releases: academe/SagePay
Handle duplicate notifications
Issue #38 If Sage Pay does not receive the original notification, then it will send another identical one. If we get a duplicate notification (which means that the status is the same as the first time) then just return an OK
without updating anything in storage.
Added optional fields to direct registration
0.9.6 Some optional fields missing from direct-registration
Amount validation
Validate the amount is in an acceptable format, if passed in as a string.
Also some additional details on README, PSR-4 support, and link back to github contributors.
Support XML Basket Discounts
0.9.4 Issue #27 Support XML basket discounts (fix to XML order).
Including Travis
Incorporated travis CI.
Packagist (2)
Remove version tag from composer.json as it conflicts with github release tag.
Packagist
More secure vendorTxCode and CURL options support
The default vendorTxCode now uses a longer and less predictable random component. The vendorTxCode is now 40 ASCII characters long. You can still supply your own vendorTxCode as has always been the case - this is just the fall-back for when you don't.
It is now possible to supply additional arguments to the CURL service, which is needed in some hosting situations.
Format amounts according to currency
All models that output monetary amounts have a setCurrency() method, with currency defaulting to GBP.
Monetary amounts are formatted according to the currency that is set. e.g. 27.30 for GPB, 27 for JPY, and 27.300 for KWD. Not all currencies are supported by SagePay, and not all currencies are necessarily enabled for an account, but all ISO 4217 currencies are supported by the library metadata.
Added WordPress PDO storage model
v0.8.1 Merge branch 'master' of github.com:academe/SagePay