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.
- Widened support for truelayer-signing
- Payment authorized webhook (#69)
- Payment creditable webhook (#69)
- Payment settlement stalled webhook (#69)
getMetadata()
on payment webhooks (#69)getPaymentSource()
on payment authorized, executed, settled and failed webhooks (#69)getSchemeId()
on refund executed and payout executed webhooks- Support for external account beneficiary on payout executed webhook
- Support for metadata field on payout creation, retrieval and webhooks (#68)
- Support for metadata field on refund creation, retrieval and webhooks (#68)
- Support for payment cancellation (#67)
- Support for date of birth of external account beneficiary on payout creation
- Support for address of external account beneficiary on payout creation
- Support for statement_reference of merchant account beneficiary
- Support for payout scheme selection
- Fully separated payment and payout beneficiaries
- Moved all beneficiary classes to new namespace
- Payment method removed from
PaymentEventInterface
and now only available on payment authorized, executed, settled and failed webhooks - Moved payment related scheme selection to new namespace
- Added hash of clientId, scopes and clientSecret to cacheKey of AccessToken
- Support for remitter verification for Merchant Account beneficiary payments (#61)
- Support for setting the user political exposure on payment creation (#62)
- Support for business account payouts beneficiary (#63)
- Support for setting the risk assessment on payment creation (#64)
- Support for
preselected
provider selection under the Bank Transfer payment method - Support for
preselected
payment scheme under the preselected provider selection
- Support for
attempt_failed
payment status
- Support for
retry
object on bank transfer payment method
- Support for scheme selection configuration
- Additional supported countries in TrueLayer\Constants\Countries
- Using provider filters without specifying an excluded provider id would return an error
- Removed Illuminate dependencies
- Removed input validation and
TrueLayer\Exception\ValidationException
- Minimum PHP version supported is 8.1
- TrueLayer API paths now include the API version
- Support for setting the user's address using
$client->user()->address()
- Support for setting the user's date of birth using
$client->user()->dateOfBirth()
- New
$client->paymentAuthorizationFlow()
and$createdPayment->authorizationFlow()
methods for starting the authorization flow that are better aligned with TrueLayer APIs - Missing documentation for starting payment authorization
- Deprecated
$client->startPaymentAuthorization()
and$createdPayment->startAuthorization()
- Support for custom idempotency keys
- Make metadata field optional
- Added support for the payment's metadata field
- Widen ramsey/uuid constraints
- HTTP client auto discovery
- PaymentSettledEventInterface should extend PaymentEventInterface
- Support setting and getting the reference on the Merchant Account beneficiary
- User info from the
/GET payment
response
- Datetime parsing on php7.4
- Custom scopes
- Support for illuminate v9 packages
- Support for webhook signature verification & handlers
- Support for refunds
- Custom User-Agent header for HTTP requests
- Updated sandbox endpoint
- Cache key for TrueLayer's client credentials token changed from
TL_SDK_AUTH-TOKEN
toTL_CLIENT_AUTH-TOKEN
- Added support for creating & retrieving payments.
- Added support for creating payouts.
- Added support for retrieving merchant accounts.
- Added support for payment authorization (no support for form action yet).
- Added support for HPP link generation.
- Added support for custom requests. It provides authentication, request signing, error handling and retries for free.