Releases: remp2020/crm-payments-module
Releases · remp2020/crm-payments-module
0.21.0
- BREAKING: Added
unitPriceWithoutVAT()
andtotalPriceWithoutVAT()
functions toPaymentItemInterface
. remp/crm#1448 - BREAKING: Changed
PaymentChangeStatusEvent::isPaid()
function. Now returnstrue
also for payments with statusPaymentsRepository::STATUS_PREPAID
. remp/crm#1493 - Added
PaymentItemTrait
to reuse common function implementations ofPaymentItemInterface
. remp/crm#1448 - Added
PaymentsClaimUserDataProvider
which is used to get data frompayments
and assign it tologgedUser
when claiming unclaimed user. remp/crm#1319 - Added
RecurrentPaymentsClaimUserDataProvider
which is used to get data fromrecurrent_payments
and assign it tologgedUser
when claiming unclaimed user. remp/crm#1319
0.20.0
- BREAKING: Added
PaymentGateway
as argument toVariableSymbolInterface::getNew()
. Payment gateway is always provided when new payment is added withPaymentsRepository::add()
. Can be used to generate different variable symbol (transaction ID) series for different payment gateways. remp/crm#1439
0.17.0
- BREAKING: Changing
state
parameter of/api/v1/users/recurrent-payments
API from single string value to array. State now should be filtered viastates[]=foo&states[]=bar
instead of formerstate=foo
. remp/crm#1336 - Refactored command
payments:stop_expired_recurrent_payments
which no longer sends an email directly. Instead, it emits anRecurrentPaymentCardExpiredEvent
which and registers defaultRecurrentPaymentCardExpiredEventHandler
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 withcharge_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 frontendPayments/my
template.
0.15.0
0.14.0
0.13.0
- BREAKING: All implementations of [
RecurrentPaymentInterface
] are now required to return charge status (defined in the interface) as a result ofcharge()
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, usingpublic_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 ofemail
in latte templates. - Refactored
StopRecurrentPaymentsExpiresCommand
:- Used
public_name
instead ofemail
where possible. - Do not send email about expired card if we do not have email of customer.
- Used
- Used
- 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 inPaymentsModule/../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
- 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
- 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
0.9.0
- Fixed issue with unexpected recurrent charge behavior for specific implementation of upgrades. remp/crm#1023
- Added command to charge single
cid
with customamount
anddescription
in case of necessity of custom charges. remp/crm#1023 - Changed interval for
start_time
to closed forpaidSubscribers()
andfreeSubscribers
. 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