Skip to content

Releases: barion/barion-web-php

New major release: v2.0.0

16 Jul 10:38
482b7d4
Compare
Choose a tag to compare

New major release containing improved performance and security updates.

Major changes:

  • Minimum required PHP version increased to 8.2+
  • Fully supported Composer-based autoloading
  • PSR-4 compliant file structure
  • Library is now properly namespaced under Barion\
  • Enumerations are using native enums in separate files
  • API calls now support header-based POSKey authentication
  • Allowed funding sources now include Apple Pay and Google Pay
  • PaymentState request is now implemented at API version 4
  • Added Spanish locale to the supported Barion Smart Gateway languages
  • Updated examples and docs
  • Added PHPDoc annotation
  • Client throws exception if PHP version is not sufficient or cURL extension is not available
  • Client throws exception if an incorrect API version is specified for a method
  • API version can now be set on-the-fly between calls

Using the new version from scratch:
Please refer to the readme.md file for instructions on how to get started with the Barion Web PHP library.

Upgrading from v1:
You should check your system parameters to make sure you are running the supported versions from all required components. The majority of existing codebase will remain usable with minimal additional coding. If you need any help with upgrading to the new version, join our Discord server for assistance.

Legacy support:
Webshop integrations running below PHP version 8.2 should use the old library version (which is currently 1.4.11). The old version will be supported until the end of Q2 2025 with basic security patches. Please upgrade your system to an adequate level to be able to use v2.0.0 as soon as possible.

Updating bundled CA certificates

02 Apr 11:38
Compare
Choose a tag to compare
v1.4.11

Updating cacert.pem

Fixed PaymentId parsing in API error models

13 Jun 10:14
2d6b35d
Compare
Choose a tag to compare

What's Changed

Small fixes

09 Jun 21:02
Compare
Choose a tag to compare

FIX:// fix for the ErrorCode field in ApiErrorModel class

Small fixes

09 Jun 08:46
44d6adc
Compare
Choose a tag to compare
  • The JSON data is arriving as array.
  • Merging the API error model changesets

Error response extended

25 May 12:11
b343950
Compare
Choose a tag to compare
  • Added missing properties to API error model
  • Added PaymentId to API error model

CompletePayment response fix

28 Apr 13:11
Compare
Choose a tag to compare

CompletePayment response PaymentState field fixed

Additional properties in the GetPaymentState response

15 Apr 09:17
Compare
Choose a tag to compare
v1.4.5

ADD:// Missing PaymentState response fields

RecurrenceType fix

17 Feb 09:18
58f46c6
Compare
Choose a tag to compare

RecurrenceType is fixed in GetPaymentState response

Token payment with 3DSv2

11 Dec 16:15
Compare
Choose a tag to compare

3DS v2 token payment information added to the models