Skip to content

v2.0.0

Choose a tag to compare

@PatrickePatate PatrickePatate released this 03 Sep 15:42
· 6 commits to main since this release
ad6f921

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 extract vads_amount / vads_currency from 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