Commit graph

23 commits

Author SHA1 Message Date
Karl Erik Õunapuu
5d8e78f3c6 Rename #create_with_type to #new_with_type 2020-02-05 16:45:35 +02:00
Karl Erik Õunapuu
37e7def669 Provide better context for EveryPay / Banklink payment state alerts 2020-02-04 21:11:30 +02:00
Karl Erik Õunapuu
6418924faf Cover EveryPay / BankLink payments with tests 2020-02-04 15:13:51 +02:00
Karl Erik Õunapuu
b6469f3dfe Move payment method fetching logic to Model, rewrite tests for EveryPay component 2020-02-03 20:05:05 +02:00
Karl Erik Õunapuu
ec5ff5dc8c Validate inclusion of payment method when saving PaymentOrder 2020-02-03 15:52:02 +02:00
Karl Erik Õunapuu
3f5b5962d1 Make sure that Payment method is functional prior to paying 2020-02-03 14:14:31 +02:00
Karl Erik Õunapuu
32d4fc3c83 Refactor EveryPay / Banklink processing 2020-01-30 21:01:15 +02:00
Karl Erik Õunapuu
53fbd2f50c Implement partial payment logging for EveryPay / Bank links 2020-01-30 17:24:07 +02:00
Artur Beljajev
a97728c0f3 Refactor and improve invoices
- `runner 'Invoice.cancel_overdue_invoices'` in `schedule.rb` is
changed to `rake 'invoices:cancel_overdue'`.
- `invoices.payment_term` database column is removed and its value is
hardcoded in UI.
- `invoices.paid_at` is removed as unused
- `invoices.due_date` column's type is now `date`.
- `Invoice#invoice_items` renamed to `Invoice#items` and `Invoice`
interface to get a list of items is unified.
- Default date format in UI.
- Default translations are used.
- Tests improved.
- Specs converted to tests and removed along with factories.
- Database structure improved.
2019-03-14 15:39:24 +02:00
Artur Beljajev
de83755fc9 An addition to 840b6da1be 2018-09-06 12:29:12 +03:00
Maciej Szlosarczyk
d92004cbe0
Rename Payments to PaymentOrders 2018-04-30 09:30:34 +03:00
Maciej Szlosarczyk
33a6971c37
Fix some codeclimate issues 2018-04-23 11:49:25 +03:00
Maciej Szlosarczyk
d7eca597d1
Add explicit return to fix failing test 2018-04-23 09:12:01 +03:00
Maciej Szlosarczyk
5dea92c0d8
Add tests for Payments::BankLink 2018-04-22 19:41:59 +03:00
Maciej Szlosarczyk
f6b1db2cce
Fix leaking test 2018-04-20 13:21:20 +03:00
Maciej Szlosarczyk
d7dc1017b0
Remove capybara-selenium 2018-04-18 19:27:19 +03:00
Maciej Szlosarczyk
c5591b4828
Add EveryPay payments
* Refactor BankLink into Payments::BankLink, add Payments::EveryPay
* Write tests for existing invoice views
* Write basic tests for Payments module
2018-04-18 13:41:46 +03:00
Artur Beljajev
b68391ca80 Do not check IP in bank link callback URL
#642
2018-03-07 17:21:42 +02:00
Artur Beljajev
92d8008c15 Introduce BaseController for registrar area 2017-04-06 19:05:14 +03:00
Vladimir Krylov
fc5dbd3523 Story#107571572 - banklinks workflow fixes 2015-11-16 10:59:26 +02:00
Vladimir Krylov
a54a15cea4 handle bank response 2015-11-12 09:42:21 +02:00
Vladimir Krylov
f6110b8319 Story#107571572 can create SEB bank request 2015-11-11 16:59:20 +02:00
Vladimir Krylov
587e7db062 Story#107571572 prepare workflow for payments with bank 2015-11-10 13:21:32 +02:00