Skip to content

Releases: tpg/payfast

v0.5.0

15 Jul 13:11
Compare
Choose a tag to compare

Really just a few dependency updates. Nothing else.

v0.4.0

12 Apr 07:44
Compare
Choose a tag to compare

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 to null if no array is provided. This does away with the error from PayFast

v0.3.4

09 Mar 09:56
Compare
Choose a tag to compare
  • Laravel 10 support.
  • Dropped support for PHP 7.4.

v0.3.3

06 Mar 14:27
Compare
Choose a tag to compare
  • [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 to application/json.

v0.3.2

29 Jun 13:27
Compare
Choose a tag to compare
  • 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

25 May 09:59
Compare
Choose a tag to compare

PayFast subscription endpoint update.

v0.3.0

07 Apr 08:21
Compare
Choose a tag to compare

Updates to support Laravel 9.

v0.2.5

26 Jan 08:24
Compare
Choose a tag to compare

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

24 Oct 10:24
Compare
Choose a tag to compare

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

27 Aug 09:17
Compare
Choose a tag to compare

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.