Skip to content

Releases: remp2020/crm-payments-module

0.21.0

01 Oct 14:12
Compare
Choose a tag to compare
  • BREAKING: Added unitPriceWithoutVAT() and totalPriceWithoutVAT() functions to PaymentItemInterface. remp/crm#1448
  • BREAKING: Changed PaymentChangeStatusEvent::isPaid() function. Now returns true also for payments with status PaymentsRepository::STATUS_PREPAID. remp/crm#1493
  • Added PaymentItemTrait to reuse common function implementations of PaymentItemInterface. remp/crm#1448
  • Added PaymentsClaimUserDataProvider which is used to get data from payments and assign it to loggedUser when claiming unclaimed user. remp/crm#1319
  • Added RecurrentPaymentsClaimUserDataProvider which is used to get data from recurrent_payments and assign it to loggedUser when claiming unclaimed user. remp/crm#1319

0.20.0

01 Sep 10:52
Compare
Choose a tag to compare
  • BREAKING: Added PaymentGateway as argument to VariableSymbolInterface::getNew(). Payment gateway is always provided when new payment is added with PaymentsRepository::add(). Can be used to generate different variable symbol (transaction ID) series for different payment gateways. remp/crm#1439

0.17.0

27 Jul 21:50
Compare
Choose a tag to compare
  • BREAKING: Changing state parameter of /api/v1/users/recurrent-payments API from single string value to array. State now should be filtered via states[]=foo&states[]=bar instead of former state=foo. remp/crm#1336
  • Refactored command payments:stop_expired_recurrent_payments which no longer sends an email directly. Instead, it emits an RecurrentPaymentCardExpiredEvent which and registers default RecurrentPaymentCardExpiredEventHandler to send an email under certain conditions. To use your own handler and get rid of the default implementation, see Notifying expired cards section of README. #11
  • Added chargeable_from parameter to /api/v1/users/recurrent-payments allowing to filter payments with charge_at attribute after provided date. remp/crm#1336
  • Added cohort retention analysis computation. remp/crm#1269
  • Added comparison of cohort retention analyses. remp/crm#1272
  • Added /api/v1/recurrent-payment/stop API to stop user's recurrent payment (+tests). remp/crm#1337
  • Added /api/v1/recurrent-payment/reactivate API to reactivate user's recurrent payment (+tests). remp/crm#1338
  • Added RefundPaymentsListWidget to display user's refunded payments. remp/crm#1377
  • Added payments.frontend.payments_my.bottom placeholder for widget in frontend Payments/my template.

0.15.0

29 Jun 12:03
Compare
Choose a tag to compare
  • Fixed computation of amount_without_vat in payment_items table. remp/crm#1328

0.14.0

11 Jun 20:50
Compare
Choose a tag to compare
  • Stopped generation of access_token after every payment, there was no reason for that. Handler now refreshes all existing tokens instead. #10

0.13.0

29 May 20:34
Compare
Choose a tag to compare
  • BREAKING: All implementations of [RecurrentPaymentInterface] are now required to return charge status (defined in the interface) as a result of charge() method. Please see interface documentation and alter your gateway implementations accordingly. remp/crm#1197
  • BREAKING: Removed unused and unsupported legacy export of total payments sum per user (/payments/exports/user-sum). remp/crm#1179
  • Changed authenticator credentials to autologin after user returns from payment provider to CRM. remp/crm#1178
  • Fixed extensive logging for failed recurring charges in CsobOneClick gateway. Regular cancellation codes (7xx) returned for unsuccessful charges will not be logged anymore. remp/crm#1176
  • Fixed possibility of duplicate charge in case recurring payment failed during process by external cause.
  • Refactored use of email in module, using public_name where possible. remp/crm#1145
    • Used public_name in message/name field of payment gateways in case we don't have first name and last name of user.
    • Used public_name instead of email in latte templates.
    • Refactored StopRecurrentPaymentsExpiresCommand:
      • Used public_name instead of email where possible.
      • Do not send email about expired card if we do not have email of customer.
  • Fixed Payments - Subscription type segment criteria which caused an exception. remp/novydenik#601
  • Added index to payment_items.type as distinct enumeration of available types could take seconds on larger instances. remp/novydenik#601
  • Added free payment gateway for development purpose to test success payment flows without going through the actual payment process via sandbox gateway. #5
  • Removed unused legacy RecurrentPaymentsRepository::STATE_TB_FAILED (tb_failed) constant. remp/crm#1247
  • Added /api/v1/users/recurrent-payments API to list user's recurrent payments. remp/crm#1236
  • Fixed issue with TotalUserPayment widget which started to display zero payments after coalesce fix in PaymentsModule/../CalculateAveragesCommand. remp/crm#1239
  • Fixed issue where user was unable to stop recurrent payment after charge failed. remp/crm#1163
  • Added date of last failed charge and next attempt to list of payments in customer zone. remp/crm#1163

0.12.0

07 Apr 11:15
Compare
Choose a tag to compare
  • Added validation to the admin payments form to prevent using recently created variable symbol in another payment. remp/crm#1121
  • Added Payment item types parameter to Payment segment criteria to be able to filter only payments with specific type of item. remp/crm#1130

0.11.0

24 Mar 08:26
Compare
Choose a tag to compare
  • Added ability to override database repositories by specifying custom implementations in config.neon file. remp/crm#822
  • Added CanDeleteAddressDataProviderInterface implementation to validate if address is used in any payment. remp/crm#1022
  • Fixed possible error on payment edit page if ProductsModule was not enabled. remp/crm#1118

0.10.0

26 Feb 21:29
Compare
Choose a tag to compare
  • Added support for redirect resolvers (and customization) for bank transfer payment information. remp/crm#1095

0.9.0

21 Feb 11:15
Compare
Choose a tag to compare
  • Fixed issue with unexpected recurrent charge behavior for specific implementation of upgrades. remp/crm#1023
  • Added command to charge single cid with custom amount and description in case of necessity of custom charges. remp/crm#1023
  • Changed interval for start_time to closed for paidSubscribers() and freeSubscribers. remp/crm#913
  • Added support for custom-amount recurrent charges with multi-item subscription types. Until now these payments were not chargeable. remp/crm#1043
  • Added VariableSymbolInterface to make VariableSymbol repositories interchangeable. remp/crm#1035
  • Moved internal tests to the extension so they can be open-sourced.
  • Added bank mail confirmation config keys to seeder.
  • Added bank confirmation mail downloader, parser and command for slovak CSOB. remp/crm#1061