Releases: secucard/secucard-connect-php-sdk
Releases · secucard/secucard-connect-php-sdk
1.27.0
1.26.0
Deprecated
- Payment.Model.TransferAccount: deprecated the
account_owner
,accountnumber
andbankcode
parameter
Added
- Payment.PaymentService.capture(): added
additional_data
parameter (optional) - Payment.Model.Transaction: added
shop
,shopversion
andmoduleversion
parameter - Payment.Model.TransferAccount: added
owner
andbankname
parameter
Removed
- removed debug log
'Using config: '
1.25.0
Changed
- renamed parameter
amount
in\SecucardConnect\Product\Payment\Service\PaymentService::cancel()
toreduce_amount_by
(logic unchanged) - renamed parameter
amount
in\SecucardConnect\Product\Payment\TransactionsService::cancel()
toreduce_amount_by
(BREAKING logic for invoice payment transactions changed: The given value inreduce_amount_by
will deduct the payment by this value (like for other payment methods/endpoints before) and not be the new total amount).
1.24.0
Changed
- support
psr/log
up to version3.x
- support
netresearch/jsonmapper
version4.x
- some autocorrections for possible PHP 8.2 warnings
Removed
- dropped support for PHP
5.6
,7.0
,7.1
,7.2
and7.3
- dropped support
netresearch/jsonmapper
version1.x
and2.x
1.23.0
Added
Function to check the live transaction status:
- \SecucardConnect\Product\Payment\TransactionsService::checkStatus()
Changed
- New structure of Payment.Model.CrowdFundingData
1.22.0
Added
- General.ContractsService: new method
revokeAccrual()
- Payment.ContractsService: new method
revokeAccrual()
// Initialize the SecucardConnect client
$secucard = new SecucardConnect($config, $logger, $store, $store, $cred);
/**
* @var \SecucardConnect\Product\Payment\ContractsService $service
*/
$service = $secucard->payment->contracts;
$service->revokeAccrual('PCR_WDYMYB6CY2N5WNHTD3H587G20Q8KAH');
Changed
- Adjusted response handling to support empty HTTP responses like
204 No Content
1.21.0
Added
- Payment.Model.Transaction: added
demo
parameter - Payment.Model.CrowdFundingDataProject: added
sofort
parameter - Payment.Model.CreateSubContractRequest: added
payout_purpose
parameter - Payment.ContractsService.createSubContract: added
contract_id
parameter (optional)
Changed
- Smart.TransactionsService.prepare: removed transaction type validation (to support new payment methods)
Fixed
- Payment.ContractsService.getPaymentMethods was not working
Removed
- removed unused
GetCreditCardDataRequest
class
1.20.0
Security
- Dependency updates
1.19.0
Added
- added
src/SecucardConnect/Product/Smart/Model/BaseDeliveryOptions.php
class - added
src/SecucardConnect/Product/Smart/Model/DeliveryOptionsCollection.php
class - added
src/SecucardConnect/Product/Smart/Model/DeliveryOptionsShipping.php
class - added
src/SecucardConnect/Product/Smart/Model/DeliveryOptionsTimeSlot.php
class src/SecucardConnect/Product/Smart/Model/Transaction.php
addeddelivery_options
propertysrc/SecucardConnect/Product/Smart/Model/Transaction.php
addedsetDeliveryOptions
method
Changed
- changed
src/SecucardConnect/Product/Smart/Model/DeliveryOptionsTimeSlot.php
constORDER_OPTION_COLLECTION
intoDELIVERY_OPTIONS_COLLECTION
- changed
src/SecucardConnect/Product/Smart/Model/DeliveryOptionsTimeSlot.php
constORDER_OPTION_SHIPPING
intoDELIVERY_OPTIONS_SHIPPING
Removed
- removed
src/SecucardConnect/Product/General/Model/BaseDeliveryConfiguration.php
class - removed
src/SecucardConnect/Product/General/Model/CheckoutOptions.php
class - removed
src/SecucardConnect/Product/General/Model/CollectionDeliveryConfiguration.php
class - removed
src/SecucardConnect/Product/General/Model/ShippingDeliveryConfiguration.php
class - removed
src/SecucardConnect/Product/General/Model/OrderOptions.php
class - removed
src/SecucardConnect/Product/Smart/Model/PickupOptions.php
class src/SecucardConnect/Product/General/Model/Merchant.php
removedorder_options
andcheckout_options
propertiessrc/SecucardConnect/Product/Smart/Model/Transaction.php
removedorder_option
andpickup_options
properties
1.18.0
Added
- Added
MissingParamsError
exception, which extends theApiError
- Payment.TransactionsService: added
cancel
method - Payment.TransactionsService: added
assignPayment
method - Payment.TransactionsService: added
capture
method - Payment.TransactionsService: added
updateBasket
method - Payment.TransactionsService: added
reverseAccrual
method - Payment.TransactionsService: added
setShippingInformation
method
Changed
- Added small input validation to
Payment.TransactionsService
andPayment.PaymentService
to avoid API errors.
Removed
- Removed unused method
Payment.PaymentService.initSubsequent
- Removed unused method
Payment.PaymentService.updateSubscription