Skip to content

3.4.0

Latest
Compare
Choose a tag to compare
@rootpd rootpd released this 20 Sep 12:59
  • BREAKING: Added PaymentItemContainerFactory, which can create PaymentItemContainer from existing payment. remp/crm#3246
    • Each custom payment item type should register itself in container using registerPaymentItemType method. Otherwise, container with unregistered items is marked as unreliable, and will throw errors during processing.
  • BREAKING: Removed obsolete tb_simple_* configuration values from system. remp/crm#3099
    • Please replace them with following configurations: tb_confirmation_host, tb_confirmation_port, tb_confirmation_username, tb_confirmation_password, tb_confirmation_processed_folder.
  • BREAKING: Renamed enum \Crm\PaymentsModule\Models\ParsedMailLog\State to StateEnum and changed naming convention of names to PascalCase. remp/crm#3243
  • BREAKING: Added migration that changes type of vat column in payments_items table from int to decimal(10,2). remp/crm#3277
    • Migration might take a while (without locking the whole table). However, we recommended to run it in off-peak hours.
  • BREAKING Changed PaymentItemInterface#vat() method return type to from int to float. remp/crm#3277
  • BREAKING Changed PaymentItemInterface#forceVat() - $vat parameter type changed from int to float. remp/crm#3277
  • BREAKING: Changed DonationPaymentItem constructor - $vat variable is now of type float (previously int). remp/crm#3277
  • BREAKING: Renamed addItemsFromPaymentToContainer method of PaymentItemContainerFactory to addItemsFromPayment. remp/crm#3243
  • DEPRECATED: Deprecated PaymentsRepository::STATUS_* constants. Use Payment\PaymentStatusEnum::* enum instead. remp/crm#3261
  • Changed PaymentsRepository#copyPayment internals. Method now it internally calls add method and supports One Stop Shop. remp/crm#3246
    • Method now emits NewPaymentEvent, previously not emitted.
    • Method now emits new-payment Hermes asynchronous event, previously not emitted.
  • Added OSS payment country resolution to payments:single_charge command. remp/crm#3191
  • Added OSS payment country resolution to AttachRenewalPaymentEventHandler handler. remp/crm#3191
  • Added OSS payment country resolution to MethodsPresenter, used for authorization payments for new card registrations. remp/crm#3191
  • Added default country as OSS fallback country resolver. remp/crm#3191
  • Added registration of scenario's generic event attach_renewal_payment. This was added in version 3.2.0 and accidentally registered in internal config. remp/crm#3231, remp/novydenik#1147
  • Added BeforeRecurrentPaymentExpiresEvent which is fired by Scenarios before payment expires. remp/crm#3231
  • Added scenario's generic event and handler for stopping recurrent payments from Scenarios. remp/crm#3231
  • Added payments.dataprovider.recurrent_payment_payment_item_container data provider to RecurrentPaymentResolver, adding ability to change logic of creation of PaymentItemContainer when creating recurrent payment. remp/respekt#257
  • Fixed OSS VAT rates update when updating payment country of existing payment to default country. Previously, update to default country did not update VAT rates of payment items. remp/respekt#260
  • Added the ability to transfer payments and recurrent payments while transferring subscriptions between users. remp/crm#3108
  • Added ability to prevent payment gateway override with BeforeBankTransferMailProcessingEvent when bank transfer/mail payment is received. remp/crm#3147
  • Added ability to prevent OSS VAT change on payment items in PaymentItemContainer. remp/crm#3273
  • Reverted formatting from price back to number in AvgSubscriptionPaymentWidget. remp/crm#3212
  • Added One Stop Shop implementation to admin payment form (implemented in PaymentFormOneStopShopInputsFactory). remp/crm#3191
  • Added migration that changes type of reduced, ebook and standard columns in vat_rates table from float to decimal(10,2). remp/crm#3277
  • Changed DonationPaymentItem OSS default VAT rate to 0%. remp/crm#3283
  • Added filter by source account number to parsed mails listing filter. remp/respekt#279
  • Refactored PaymentsRepository::STATUS_* to separated Payment\PaymentStatusEnum::* enum. remp/crm#3261
  • Fixed calling PaymentsRepository::update instead of updateStatus method in PaymentRefundFormFactory. remp/respekt#280
  • Added option to allow zero total price in payment container. remp/crm#3300