Releases: tpg/payfast
Releases · tpg/payfast
v0.5.0
v0.4.0
PayFast frustrates me somewhat. Anyway...
- Dropped support for PHP before v8.1.
- PayFast appear to be throwing errors when including an empty JSON string. The
Request->make()
method has been updated to set the body tonull
if no array is provided. This does away with the error from PayFast
v0.3.4
- Laravel 10 support.
- Dropped support for PHP 7.4.
v0.3.3
- [Bug] Fixed a bug in the request that was not including the body parameters in the signature.
- [Change] Changed the request body from
application/x-www-form-urlencoded
toapplication/json
.
v0.3.2
- Updated the PayFast live validation hostname to https://www.payfast.co.za (with the "www" bit).
- Made the errors a little more verbose when unable to communicate with PayFast for validation.
v0.3.1
PayFast subscription endpoint update.
v0.3.0
Updates to support Laravel 9.
v0.2.5
Fixed a bug causing an exception when using ItnValidator->validate()
without calling testing()
first. The validator will now assume that testing is false
.
v0.2.4
Added ItnValidator::flush()
method. No need to do this anymore:
header('HTTP/1.0 200 OK');
flush();
Can now call $validator->flush()
instead. Same thing.
v0.2.3
Through some testing with PayFast, we eventually discovered that the production endpoint should be "www.payfast.co.za" (with the "www" bit). Without it we get a 400 error from PayFast.
There's also a small change to leave out the email_confirmation
attribute if it's set to false. It should only be included if set to true.