v2.0.0
v2.0.0
- Drop SHA1 signature support entirely; only HMAC-SHA256 is now accepted
- Remove automatic float-to-cents conversion: callers must pass amounts as integers in the smallest currency unit (e.g. cents)
- Raise a hard exception when a config block has no key, instead of silently defaulting to an empty string
- Add
retrievePaymentAmountAndCurrency()to extractvads_amount/vads_currencyfrom the IPN callback request - Fix the Blade form component's default-button condition
- Update README and tests to reflect all of the above
Breaking change
Warning
SystemPay::set([]) now takes an integer for the amount key (amount in cents)
Note
Fully dropping SHA1 signature generation / validation, please use SHA256
Full Changelog: v1.0.0...v2.0.0