Rob Harrington
|
fe4145d9d5
|
Use expect syntax
|
2018-03-02 14:53:24 +11:00 |
|
Rob Harrington
|
31750a7bba
|
Add logic for calculator of fee estimates to SubscriptionEstimator
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
3b2d4ae2d4
|
Estimator take variant overrides into account
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
14a03aab35
|
Fallback to previous saved estimate if calculator not available
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
904a364bf1
|
Stop unnecessarily passing fee_calculators around
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
b85e38010f
|
Delegate responsibility to estimating prices for subscriptions to dedicated service object
|
2018-03-02 10:11:26 +11:00 |
|
Enrico Stano
|
6e9efe79b7
|
Merge pull request #2053 from Matt-Yorkley/uk/enterprise_limit
Increase default enterprise limit
|
2018-03-01 14:40:24 +01:00 |
|
Rob Harrington
|
ae1c8344d1
|
Ensure price estimates generated for subscriptions take overrides into account
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
add9c83812
|
Ensure correct price is used by OrderFactory when building line items
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
993f02a989
|
Add knowledge of variant overrides to OrderFactory
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
d7d40a4a0f
|
Create new OrderFactory service object for initializing order from attr hash
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
6bf4ed1ac5
|
Add new review view to subscription wizard
|
2018-02-22 16:13:29 +11:00 |
|
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 |
|
Matt-Yorkley
|
237854c781
|
Update enterprise limit error text and use expect sytnax
|
2018-02-13 14:05:18 +00:00 |
|
Matt-Yorkley
|
3c5b01ece0
|
Update enterprise limit spec
|
2018-02-13 14:05:18 +00:00 |
|
Pierre de Lacroix
|
5c046b76f0
|
Fix failing tests
|
2018-02-13 14:05:17 +00: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 |
|