All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for Processor API's
initiatePayment
andverify3dSecure
method. - Add support for additional languages.
- Validate gateway XML response for login API.
- Fix:
PHP Warning: Invalid argument supplied for foreach()
inResponseSerializer.php
- Provide
setLanguage
method to setlanguage
forreservation
API. - Fix: Redundant assigning of shopOrderId in Callback.
- Add support for symfony 7.
- Extend support to include all languages that the gateway supports.
- Add support for
updateOrder/{id}/reconciliationIdentifier
API
- Provide
setCallbackMobileAppRedirect
method to setconfig[callback_mobile_app_redirect]
for thecreatePaymentRequest
callback config. - Added new property
AppUrl
forPaymentRequestResponse
&ReservationOfFixedAmountResponse
classes. - Add new properties
MerchantId
,ShopName
,LogoUrl
,Description
,Products
,PrimaryMethod
,CanUseCredit
,CanIssueNewCredit
forTerminal
class.
- Provide
setCardHolderName
method to setcustomer_info[cardholder_name]
for the customer object.
- Add
@throws
annotations in the PHPDoc blocks throughout the codebase.
- Remove the restrictions in the
shop_orderid
,
- Add option to use
transaction_info
andorderLines
forChargeSubscription
- Add missing setters for the Address class
- RedirectResponse URL is not returned for ChargeSubscription response
- Enforce the right HTTP methods on all API endpoints.
- Add
digital
,discount
,gift_card
,physical
andsales_tax
as a new goods types for OrderLine class
- Add config parameter in the reservation API
- Support redirect url in reservation API
- Add support for updateOrder API
- Supports API changes from 20221026
- Add agreement setters for ChargeSubscription and ReserveSubscriptionCharge class
- Add additional parameters for ReservationOfFixedAmount class
- Add new property and setters for Terminal class
- Add
subscription_model
as a new goods type for order line
- Avoid throwing exception for missing setters or properties in response
- Add support for new 'Agreements Engine' parameters
- Add Api authentication classes
- Add missing setters for ApplePay
- Fix broken integration tests
- Add PreauthAmount to ReserveSubscriptionResponse
- Add missing properties from forks
- Added CardInformation parameters for Transaction class
- Added optional parameters for CardWalletAuthorize class
- Added setter for Transaction data
- Added support for the new endpoints for Apple Pay
- Added User-Agent in API call headers
- Added new properties for ReleaseReservationResponse class
- Added new property and setter for ChargeSubscriptionResponse class
- Added support for upto PHP 8.1
- Added missing setters
- Correctly parse boolean parameters
- Support for installation and autoload via composer
- Document all function arguments
- Added DynamicJavascriptUrl on PensioCreatePaymentRequest
- The previous exception is now forwarded
- Split ResponseSerializer serialize() and serializeChildren()
- Better handle invalid responses
- Corrected remaining warning messages
- Corrected all types in code DocBlocks
- Correctly handle non-US-ASCII symbols
- Make sure all exceptions have a message
- The definedFilters property
Changes
- Rebranded back to AltaPay
- Corrected dependencies
- ResponseInfo::getRegisteredAddress() will now return null when no address was set
- Package content has been reduced in size
Fixes
- Errors will now be Altapay\Exceptions\ClientException instead of Guzzle exceptions
- Corrected some warning messages
- Corrected some types in code DocBlocks
Added
- Klarna Payments parameters to the Create payment request, and the Capture and refund
- Parse more credit card details
Changed
- Removed the restriction where "taxPercent" and "taxAmount" could be used
- Set the POST method as default
- Update code style
Changed
- Rebranding from AltaPay to Valitor
Added
- Add merchant error message in the release reservation response
Fixed
- Norwegian language not always automatically converted
Change
- Update the allowed languages
Fixes
- Make payment requests as POST requests by default
Change
- Update the allowed languages
Added
- Setup subscription changes
Changes
- Allow changing type on a setup subscription
Added
- IsTokenized field to the Transaction class
Fixes
- Compatibility with PHP 7.2
Added
- PaymentSource field
Fixes
- Handle the decline and error cases when Refund issued
Changes
- Improve Exception class
Changes
- Throws the error if capture fails
Added
- Factory class
Fixes
- Handled warnings in Callback class
Changes
- It is no longer necessary to provide "/merchant" to the URL constructor
Added
- The first release, see the documentation for the full feature list