Skip to content

3.5.0

Compare
Choose a tag to compare
@rootpd rootpd released this 25 Oct 12:20
· 12 commits to master since this release
  • BREAKING: Removed use of deprecated IUserGetter. Using UserEventInterface instead. remp/crm#3313
  • BREAKING: Method RecurrentPaymentsRepository::add(...) was renamed to ::addV1(...). Adjust your actual code to call this deprecated method or implement newer implementation of the method ::add(...) remp/crm#3221
    • IMPORTANT: Migration migrate_payment_methods could take time, depending on the size of your recurrent_payments table. Consider to run it at off-peak times.
    • IMPORTANT: After the first deploy it's necessary to run payments:migrate_payment_methods command to make sure that all payment methods are correctly migrated.
  • DEPRECATED: Deprecated usage of cid column within recurrent_payments table. Use payment_method_id reference with external_token column instead. remp/crm#3221
  • Fixed resolving next subscription type in AttachRenewalPaymentEventHandler. Handler should check for default subscription with same length and content access and subscription_type->next_subscription_type_id after. remp/helpdesk#2993
  • Added ability to force count in DonationPaymentItem. remp/crm#3272
  • Added new payment_methods table to be able to manage payment methods apart of the recurrent payments. remp/crm#3221
  • Refactored code which use deprecated cid within recurrent payments to use a new payment methods relation. remp/crm#3221
  • Removed autologin functionality from ReturnPresenter, as login is already performed during the submission of the sales funnel payment window. remp/respekt#245
  • Added new options to command payments:calculate_averages. remp/crm#3193
    • Option --subscription_period sets number of days in a single period for which the calculation is executed. Can be configured also in neon config - use setSubscriptionPeriod(28) in setup directive of paymentsCalculateAveragesCommand.
    • Option --minimal_subscription_length sets minimal length of subscription types that will be included in calculation of avg_month_payment. Can be configured also in neon config - use setMinimalSubscriptionLength(2) in setup directive of paymentsCalculateAveragesCommand.
    • Option --calculation_period sets number of days for which payments should be taken into account. Can be configured also in neon config - use setCalculationPeriod(365) in setup directive of paymentsCalculateAveragesCommand.
    • Option --segment_code allows to calculate averages only for users from provided segment.
  • Added ability to set renewal payment for subscription. remp/respekt#303
  • Added option to filter payments by PayPal ID to universal search and payments filter. remp/crm#3259
  • Fixed resolving next subscription type for recurrent trial periods. remp/helpdesk#3016