Rob Harrington
|
6bdbdc06e7
|
Use select2_search instead of targetted_select2_search
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
3ac57269ed
|
Use .all convention for shipping and payment methods resource services
|
2018-02-22 16:13:29 +11:00 |
|
Pau Perez
|
aa4bd7f397
|
Improve code style and docs of job
|
2018-02-09 09:53:39 +01:00 |
|
Rob Harrington
|
09b800672d
|
Fix specs to handle non-deterministic ordering
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
7017c8540c
|
Replace references to 'standing line item' with 'subscription line item'
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
ae4420d9ba
|
Rename standing line item files
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
71370e0bce
|
Replace references to 'standing order' with 'subscription' (cleanup)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
532f998b24
|
Replace references to 'standing order' with 'subscription' (js: spec)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
b7876ebfbf
|
Replace references to 'standing order' with 'subscription' (spec)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
902802594f
|
Renaming standing order files (lib, spec)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
fe7b86ff60
|
Fix broken call to log_order which should have been record_order
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
ccbe33001f
|
Add missing interpolation for shop name
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
e7eb02dfe3
|
Reduce cognitive complexity of VariantsController#search
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
ceab1fe16a
|
Reduce cognitive complexity of StandingOrderPaymentUpdater
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
ce09a8dad6
|
Reduce cognitive complexity of StandingOrder#state
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
3e68973812
|
Rename StandingOrderUpdater to OrderSyncer
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
844cd79270
|
Clean-up of standing order form and spec
|
2018-02-09 14:44:10 +11:00 |
|
Rob Harrington
|
8ae4307a69
|
Move logic for updating orders to dedicated class
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
2c40252edb
|
Extract validation logic for standing orders into service object
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
0c302b022a
|
Move StandingOrderForm to app/services folder
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
f9727de206
|
Comment out interface for turning standing orders ON for an enterprise
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
4362ef2cea
|
Properly translate all error messages for StandingOrderForm
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
7ca60e1990
|
Use activerecord error translations properly
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
8ba1a909ca
|
Use summarizer for standing order confirm job
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
c86207212f
|
Add confirmation summary email
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
b49c44f7ce
|
Generalise record_failure method to record_and_log_error
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
818af47613
|
Move rescue clause to process method
This prevents a placement email from being sent unless the order is processed successfully
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
ef6c9ec0f0
|
Integrate standing order summarizer into placement job
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
13d01df4d8
|
Add mail method and template for sending placement summary emails to shop owners
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
cf30b7c883
|
Add service objects for summarizing outcomes of standing order processing jobs
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
8bf460c93a
|
Manually fix remaining rubocop offences
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
fb28940952
|
Use Time.zone.now instead of Time.now
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
03f1980b1b
|
Auto-correct rubocop offences for standing-orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
26a325e6e0
|
Handle payment processing errors for standing orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
2576d10e49
|
Create a new payment when none is present
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
67e05cea9c
|
Add failed payment email to StandingOrderMailer
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
6e83c6dc86
|
Move standing order emails to a dedicated StandingOrderMailer
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
d6a9d63de5
|
Replace StandingOrderSyncJob with ProxyOrderSyncer service object
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
6ea343f26e
|
Clean up proxy order performance specs
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
8a498391ca
|
Add performance spec for removal of proxy orders
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
146348a4fe
|
Refactor proxy order syncer using direct sql query for increased speed
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
48b39f4712
|
Add performance spec for proxy order syncer
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
3aee0b5e70
|
Allow proxy order syncer to accept both ActiveRecord::Relation or StandingOrder
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
6d5c920a95
|
Split proxy order sync logic out into dedicated service object
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
bdac68900f
|
Move address and card loading logic down into DetailsController
Also switch to using CreditCardResource to load the card
|
2018-02-09 14:44:05 +11:00 |
|
Rob Harrington
|
c94badbf36
|
Stub or provide mailer as appropriate
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
dfe874cf3f
|
Attempt to add a credit card before processing payment
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
c20c9e2e78
|
Use the rails logger instead of Bugsnag
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
f4f6fb6a7a
|
Update and process standing order payments prior to confirmation
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
ac8e09bc11
|
Add credit card validation to StandingOrderForm
|
2018-02-09 14:44:04 +11:00 |
|