Skip to content

Releases: secucard/secucard-connect-php-sdk

1.27.0

10 Sep 12:38
921d872
Compare
Choose a tag to compare

Added

  • General.ContractsService: new method updateBankAccount()

1.26.0

22 Jun 08:54
Compare
Choose a tag to compare

Deprecated

  • Payment.Model.TransferAccount: deprecated the account_owner, accountnumber and bankcode parameter

Added

  • Payment.PaymentService.capture(): added additional_data parameter (optional)
  • Payment.Model.Transaction: added shop, shopversion and moduleversion parameter
  • Payment.Model.TransferAccount: added owner and bankname parameter

Removed

  • removed debug log 'Using config: '

1.25.0

13 Mar 08:08
Compare
Choose a tag to compare

Changed

  • renamed parameter amount in \SecucardConnect\Product\Payment\Service\PaymentService::cancel() to reduce_amount_by (logic unchanged)
  • renamed parameter amount in \SecucardConnect\Product\Payment\TransactionsService::cancel() to reduce_amount_by (BREAKING logic for invoice payment transactions changed: The given value in reduce_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

11 Jan 07:27
Compare
Choose a tag to compare

Changed

  • support psr/log up to version 3.x
  • support netresearch/jsonmapper version 4.x
  • some autocorrections for possible PHP 8.2 warnings

Removed

  • dropped support for PHP 5.6, 7.0, 7.1, 7.2 and 7.3
  • dropped support netresearch/jsonmapper version 1.x and 2.x

1.23.0

05 Dec 17:04
Compare
Choose a tag to compare

Added

Function to check the live transaction status:

  • \SecucardConnect\Product\Payment\TransactionsService::checkStatus()

Changed

  • New structure of Payment.Model.CrowdFundingData

1.22.0

11 Jun 13:01
Compare
Choose a tag to compare

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

10 Mar 14:27
Compare
Choose a tag to compare

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

30 Sep 03:01
Compare
Choose a tag to compare

Security

  • Dependency updates

1.19.0

08 Sep 09:34
6847faa
Compare
Choose a tag to compare

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 added delivery_options property
  • src/SecucardConnect/Product/Smart/Model/Transaction.php added setDeliveryOptions method

Changed

  • changed src/SecucardConnect/Product/Smart/Model/DeliveryOptionsTimeSlot.php const ORDER_OPTION_COLLECTION into DELIVERY_OPTIONS_COLLECTION
  • changed src/SecucardConnect/Product/Smart/Model/DeliveryOptionsTimeSlot.php const ORDER_OPTION_SHIPPING into DELIVERY_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 removed order_options and checkout_options properties
  • src/SecucardConnect/Product/Smart/Model/Transaction.php removed order_option and pickup_options properties

1.18.0

24 Jun 04:50
Compare
Choose a tag to compare

Added

  • Added MissingParamsError exception, which extends the ApiError
  • 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 and Payment.PaymentService to avoid API errors.

Removed

  • Removed unused method Payment.PaymentService.initSubsequent
  • Removed unused method Payment.PaymentService.updateSubscription